Commit graph pcjs/modules/pc8080/lib/debugger.js
Author SHA1 Message Date
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
b1f8fca2d9 Re-enabled source maps, at least for the PDP-11 emulators (for now) 2016-10-14 09:30:17 -07:00
Jeff
e24d507aa2 Removed useless version numbers and dates from .js file headers 2016-10-06 16:22:24 -07:00
Jeff
9727a2d4df Across-the-board debugger fix 2016-09-27 09:34:56 -07:00
Jeff
b28166f493 Updated Closure Compiler to v20160911, so now we have a version that supports ECMAScript 6, but I'm not going to go bonkers on ES6 features just yet; the first feature I'm going to use is support for octal and binary constants (of the form 0onnnn and 0bnnnn) 2016-09-24 16:03:57 -07:00
Jeff Parsons
e865857c4b PC8080's Debugger8080 wasn't properly subclassing Debugger 2016-09-20 08:39:03 -07:00
Jeff Parsons
1265104e6d Added support for converting numbers to/from octal, along with improved support for binary numbers 2016-09-15 18:23:09 -07:00
Jeff Parsons
5f622303b4 Completed Keys factoring 2016-09-15 08:18:37 -07:00
Jeff Parsons
5398064ec4 Started Keys factoring 2016-09-15 07:59:12 -07:00
Jeff Parsons
e5c5a8e6be Some more Debugger factoring 2016-09-14 21:11:57 -07:00
Jeff Parsons
522563a72b Fixed Debugger type inspection problems following the previous refactoring 2016-09-14 15:52:55 -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
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
c1b34a87ed Immunized cursor blink rate from changes to CPU speed 2016-08-23 12:52:11 -07:00
Jeff Parsons
6a5e18d493 Working on next release (v1.24.1): first change is enabling smooth scrolling by default 2016-08-19 16:10:48 -07:00
Jeff Parsons
5ed8f13840 A (PC8080) VT100 can now connect to a (PCx86) IBM PC AT; only problem seems to be flow control now.
Also, each PCjs debugger can now be independently accessed from an external debugger (eg, "pcx86('ver')" or "pc8080('ver')"); the global '$' symbol is no longer used for debugger access.
TODO: There are still many places where GLOBALVAR should be replaced with PCX86.GLOBALVAR or PC8080.GLOBALVAR as appropriate (which I've finally started doing in each debugger.js file).
2016-08-18 16:46:34 -07:00
Jeff Parsons
0e4ad76b94 Cross-machine serial port connections are only half-working (need to defer initConnection() until all machines on the page have initialized their bus) 2016-08-18 11:30:22 -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
276c36334e Added Debugger "int" command to manually request interrupts 2016-08-06 13:39:46 -07:00
Jeff Parsons
43355dec6f Support for message buffering (PC8080 only; needs to be added to PCx86, too) 2016-05-31 09:59:19 -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
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
c80f22e23a Cleaned up the handling of PS bits (not to be confused with PSW, which is PS combined with A); this fixes a bug where POP PSW was inadvertently disabling the internal interrupt flag (IF) 2016-05-05 13:04:46 -07:00
Jeff Parsons
a56f1cfde1 The 8080 CPU goes through the Bus interfaces for all memory accesses now. The PCjs CPU maintained its own copy of Bus memory structures and interfaces, partly for improved performance but also because some CPUs can turn on address translation (ie, paging), making separate interfaces a necessity. However, PC8080 has much lower performance requirements and no address translation requirements, so we should revert to the original Bus interfaces. 2016-05-02 12:54:55 -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
34ddef0709 Fixed PC8080 Debugger compilation error 2016-04-29 18:07:44 -07:00
Jeff Parsons
a64a6e7e05 Fixed the 8080's subByteBorrow(), and improved the Debugger's doDump() 2016-04-29 08:30:21 -07:00
Jeff Parsons
01db9fc39e More strict 8080 compatibility changes 2016-04-28 08:55:15 -07:00
Jeff Parsons
2a447fa6ae Fixed 8080 bug exposed by the exerciser (but still a long way from 100% passing) 2016-04-27 15:36:21 -07:00
Jeff Parsons
5b6f6756a2 More 8080 improvements, including some initial "Fake CP/M" support 2016-04-27 08:28:52 -07:00
Jeff Parsons
1e32efccc6 Add debugger option to enable 8086-style mnemonics (to minimize brain-hurting) 2016-04-26 11:43:14 -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
5558a581d7 Fixed Debugger 16-bit register updates 2016-04-22 07:48:13 -07:00
Jeff Parsons
31d1b5c7e5 Fixed Jekyll rendering of pages with PC8080 machines 2016-04-20 19:21:12 -07:00
Jeff Parsons
55b99c8a08 PC8080 more or less ready for some meat on the bones now 2016-04-20 18:23:31 -07:00
Jeff Parsons
19b22d32d4 PC8080 skeleton 2016-04-20 07:54:58 -07:00