Commit graph pcjs/modules/pc8080/lib/cpu.js
Author SHA1 Message Date
Jeff Parsons
072b8fa2df Laid the groundwork for bring PCx86 up-to-date with timer functionality matching PC8080 and PDPjs (new timer services added) 2017-08-01 14:26:52 -07:00
Jeff Parsons
d4d3448fd5 Cleaned up how components print messages and how the Computer component overrides their notice/print/println methods (in preparation for new Computer overrides) 2017-06-28 10:53:44 -07:00
Jeff Parsons
822ab39cbe Unforked the shared modules -- ES6 is now the default 2017-01-31 13:50:55 -08:00
Jeff Parsons
5edbdcdce2 Factored PDP-11 drive controller logic into a device-independent superclass (drive.js) and a device-dependent subclass (rk11.js); the RL11 controller is ready to be factored next 2017-01-28 13:39:19 -08:00
Jeff Parsons
67e1e66cb1 More Node-related module tidying (but still doesn't solve ES6 browser issues with uncompiled code) 2017-01-02 16:51:09 -08:00
Jeff Parsons
b5d6afd210 Protect all Node-specific code with NODE checks 2017-01-02 15:16:18 -08:00
Jeff Parsons
f87161f5d6 v1.32.0: The New Year Release 2016-12-30 15:56:01 -08:00
Jeff Parsons
0f680839f7 Converted PC8080 to ES6 2016-12-28 10:03:58 -08:00
Jeff Parsons
9ecb9e948f More tweaks to the on-going tension between giving machine elements focus (especially problematic when there are multiple machines) and preventing the page from being yanked around 2016-10-23 09:24:26 -07:00
Jeff Parsons
b1f8fca2d9 Re-enabled source maps, at least for the PDP-11 emulators (for now) 2016-10-14 09:30:17 -07:00
Jeff Parsons
8bb978d7a9 Resolved a problem with the original timer implementation, where a call to setTimer() made in the middle of a CPU burst would not properly account for cycles already executed as part of the current burst 2016-10-12 22:08:45 -07:00
Jeff
e24d507aa2 Removed useless version numbers and dates from .js file headers 2016-10-06 16:22:24 -07:00
Jeff
b2294e2293 Use CPU timer functions (instead of browser timeout/interval functions) to control device interrupts/timeouts 2016-09-26 20:34:31 -07:00
Jeff Parsons
3bd02c7e19 Bumped version to 1.30 in honor of the PDP11 module that's being integrated, along with my first attempt to use a newer version of the Closure Compiler (ie, the JavaScript version), as well as giving Gulp a try -- although Gulp leaves just as bad a taste in my mouth as Grunt did 2016-09-13 15:33:17 -07:00
Jeff Parsons
100779e30a First batch of pdp11.js code adapted but totally untested 2016-09-05 11:05:40 -07:00
Jeff Parsons
4b778b281d Groundwork for a PDP-11 emulator (starting with a gutted copy of PC8080) 2016-09-03 17:43:06 -07:00
Jeff Parsons
a08fcab276 Updated calcRemainingTime() to compensate for large time anomalies (usually caused by external debuggers) 2016-08-24 17:06:01 -07:00
Jeff Parsons
7dc4448f41 Fixed the PC8080 CPUState class name 2016-08-24 14:17:54 -07:00
Jeff Parsons
244f0dba32 Cleaned up the run loop, less complicated now, and video updates can drive themselves thanks to the new CPU timer functions 2016-08-23 22:41:45 -07:00
Jeff Parsons
2b24e710d2 Fixed the Computer updateFocus() interface to keep the page stable unless fScroll is explicitly set 2016-08-23 14:59:06 -07:00
Jeff Parsons
c1b34a87ed Immunized cursor blink rate from changes to CPU speed 2016-08-23 12:52:11 -07:00
Jeff Parsons
f0509bc5d1 Successfully running PCx86 and PC8080 machines on the same page now 2016-08-18 10:29:24 -07:00
Jeff Parsons
99023617fd Fixed lost 8080 interrupts, and added new CPU-driven setTimer() functionality 2016-08-17 11:58:01 -07:00
Jeff Parsons
e516070375 Added Video callout to make resolutions adjustments (eg, from 80-column mode to 132-column mode); work in Video component ready to begin 2016-08-15 10:49:04 -07:00
Jeff Parsons
a1e999e0c4 More PCjs/PCx86 disambiguation 2016-05-17 00:04:51 -07:00
Jeff
bc7ec763ca Since "model" properties are strings now, they need to be coerced to numbers 2016-05-14 19:00:13 -07:00
Jeff Parsons
5d76d662a0 Eliminated unused exception handler 2016-05-12 19:10:23 -07:00
Jeff Parsons
a02454467b Note on underwhelming performance when using a dynamically generated array of opcode functions specifying ".bind(this)" on every one (which is why I don't do it) 2016-05-12 00:12:57 -07:00
Jeff Parsons
8c5ab8d73b Clean up the CPU/ChipSet interface, and get the PC8080 Video component ready to actually do something 2016-05-01 10:13:43 -07:00
Jeff Parsons
07259c93ef Infrastructure in place for 8080 hardware interrupts (more specifically, vertical retrace interrupts) 2016-04-25 18:39:43 -07:00
Jeff Parsons
19b22d32d4 PC8080 skeleton 2016-04-20 07:54:58 -07:00