Commit graph pcjs/modules/pcx86/lib/cpu.js
Author SHA1 Message Date
Jeff Parsons
3d36682396 Cleaned up endBurst() and changed yieldCPU() to stop ending bursts prematurely (it only sets the new yield flag now) 2017-08-14 10:36:10 -07:00
Jeff Parsons
aac9a13328 Added 'diagnostics' (0, 1, or 2) and 'randomize' (0 or 1) PCx86 machine parameters to control diagnostic message display/prompting and video screen randomization, respectively 2017-08-09 11:42:38 -07:00
Jeff Parsons
7f973a03b9 Smoothed out PCx86 dynamic CPU speed recalculation by no longer truncating the current cycle multiplier 2017-08-08 19:25:08 -07:00
Jeff Parsons
bf5e1faf67 Changed X86CPU.reset() to not stop the CPU on a RESET (you can still force HALT after RESET by simply halting the machine manually before clicking RESET); moreover, by not calling stopCPU() in the X86CPU.reset() handler, we avoid problems in the CPU's speed recalculation logic (for example, if you repeatedly clicked RESET on a running machine, speed variables would get out of sync) 2017-08-07 19:21:15 -07:00
Jeff Parsons
e5a9b01dde Updated addTimer() interface to include an ID; cleaned up how the CPU tracks the base speed, current speed, and target speed 2017-08-07 13:58:41 -07:00
Jeff Parsons
f71b4d648c Updated more PCx86 components to use the CPU's timer functions to do callbacks 2017-08-05 11:01:28 -07:00
Jeff Parsons
d0052eb7cd Minor PCx86 Debugger-related improvements 2017-08-02 19:02:23 -07:00
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
6c6f28c1ef Fixed PCx86 to recover from situations where a page entered an "unloaded" state but wasn't actually unloaded. 2017-07-19 14:57:19 -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
6f9bfa1950 Trying to do a better job of properly typing DOM objects 2017-06-28 09:41:01 -07:00
Jeff Parsons
754a4a4027 Machine states now save/restore the CPU's running state 2017-06-27 14:08:16 -07:00
Jeff Parsons
822ab39cbe Unforked the shared modules -- ES6 is now the default 2017-01-31 13:50:55 -08:00
Jeff Parsons
323a42be37 Converted the rest of the PCjs machines to ES6 2017-01-31 11:44:33 -08:00
Jeff Parsons
f87161f5d6 v1.32.0: The New Year Release 2016-12-30 15:56:01 -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
47767416a1 Added preliminary LED support 2016-10-11 10:20:39 -07:00
Jeff
e24d507aa2 Removed useless version numbers and dates from .js file headers 2016-10-06 16:22:24 -07:00
Jeff Parsons
a8bb0c7841 First stab at factoring some common Debugger functionality into a shared component 2016-09-14 15:36:38 -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
6fb2f02b13 Try the same calRemainingTime() anomaly-detection code in PCx86 that we've already implemented in PC8080 2016-09-06 11:08:01 -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
a1e999e0c4 More PCjs/PCx86 disambiguation 2016-05-17 00:04:51 -07:00
Jeff Parsons
288f28055d Starting work on disambiguating PCjs the emulator from PCjs the project/website; the emulator will become PCx86 2016-05-16 20:55:32 -07:00
Renamed from modules/pcjs/lib/cpu.js (Browse further)