Commit graph pcjs/modules/pdp11/lib/debugger.js
Author SHA1 Message Date
Jeff Parsons
6f83ee8beb Fixed the autoStart state of the PDP-11 test machine used for resume testing 2017-01-25 20:59:27 -08:00
Jeff Parsons
bb24ccaca6 Added resume support for saving/restoring all active timers and IRQs, along with the run/stop state of the CPU 2017-01-25 20:31:05 -08:00
Jeff Parsons
4611153625 Updated PDP-11 Debugger to include line breaks between steps 2017-01-24 14:36:15 -08:00
Jeff Parsons
b5d6afd210 Protect all Node-specific code with NODE checks 2017-01-02 15:16:18 -08:00
Jeff Parsons
2a96d37c14 The Computer component's 'resume' property can now be overridden from the URL, since we now query it with getMachineParm(); a default machine parameter value can now be included on the call, too 2016-12-31 17:18:06 -08:00
Jeff Parsons
dd628148ef Some corrections as to what features are available on the 11/40 vs. 11/45 2016-12-31 11:23:25 -08:00
Jeff Parsons
f87161f5d6 v1.32.0: The New Year Release 2016-12-30 15:56:01 -08:00
Jeff Parsons
4b345bb3d2 PDP-11 command-line (Node-based) operation is finally working 2016-12-30 14:51:32 -08:00
Jeff Parsons
5e2073f3ac Let's switch from import back to require, to simplify future Node support 2016-12-27 17:16:18 -08:00
Jeff Parsons
9bf7fd4965 Write Check commands issued by the 11/70 CPU EXERCISER should operate correctly now 2016-12-27 13:58:53 -08:00
Jeff Parsons
a03f076355 Fixed assorted inspection errors 2016-12-21 17:37:01 -08:00
Jeff Parsons
f4f6181923 v1.31.0 marks our first transition to ES6 classes, but only for PDPjs initially (which is why there must be both /lib and /es6 files in the shared folder for now) 2016-12-18 11:31:55 -08:00
Jeff Parsons
4f17e2260f Cleaned up output for the "da" command 2016-12-08 20:12:46 -08:00
Jeff Parsons
ba8771adf1 Added some RK11 fixes for the 11/70 CPU EXERCISER, and some Debugger improvements for dumping address info ("da") 2016-12-08 17:05:03 -08:00
Jeff Parsons
cb61219e22 Added support for virtual read/write breakpoints; physical read/write breakpoints are still used if the specified address is physical (preceded by %) or is outside the virtual 16-bit address range 2016-12-06 15:00:19 -08:00
Jeff Parsons
66ffe17659 Fixed some breakpoint issues, and honored the RK11 IBA bit 2016-12-06 10:47:36 -08:00
Jeff Parsons
9746891780 Debugger commands work with known IOPAGE symbols now 2016-12-05 15:38:46 -08:00
Jeff Parsons
dba6d1cfae Read/write breakpoints should work on IOPAGE addresses now, and the Debugger's disassembler now has a Bus interface it can use to get symbolic information about known IOPAGE addresses 2016-12-05 13:39:25 -08:00
Jeff Parsons
2b8ea8ddee Fixed conditions required for RSTS/E boot code to work 2016-12-03 16:12:25 -08:00
Jeff Parsons
63348edabe Added some RK11 improvements, and a new Debugger command ("da") to dump information about a virtual address 2016-12-02 16:06:23 -08:00
Jeff Parsons
a06a4c9324 Fixed RL11 disk memory access (addresses are always mapped, apparently) 2016-11-29 17:10:37 -08:00
Jeff Parsons
cacff66983 Lots of memory interface cleanup; still can't boot RSTS/E though.... 2016-11-29 14:48:26 -08:00
Jeff Parsons
a5a40ebab4 The PDP-11 Bus component now maintains separate memory maps: one fixed for all Bus (direct) accesses, and another that can vary based on current MMU settings 2016-11-28 14:32:46 -08:00
Jeff Parsons
47a65f043f Cleaned up IRQ handling, added support for DL11 overrun errors, and fixed buffered message output (although a better solution is needed longer term) 2016-11-26 11:38:03 -08:00
Jeff Parsons
a29ee56a5d Starting work on 1.30.4 and some additional PDP-11 hardware support 2016-11-21 13:16:38 -08:00
Jeff
861d78e6d2 Added support for address-specific message categories in I/O tables 2016-11-17 17:47:57 -08:00
Jeff
a3833fba28 PDP-11 debugger "p" command works now 2016-11-17 17:14:01 -08:00
Jeff
9148cec085 Added MMU dump command ("d mmu [filter]"), fixed byte updates of PDRs, masked 18-bit UNIBUS addresses when UNIBUS relocation map not enabled, and fixed reads of MMR0 when ABORT bits are set 2016-11-17 13:22:25 -08:00
Jeff
2b23c86649 Debugger improvements (dumping/setting MMU registers) 2016-11-16 17:44:52 -08:00
Jeff
00d6fb6c59 Allow pasted text in the virtual SerialPort window to be processed as received data, and tidy up the MMR0 updates 2016-11-16 13:54:10 -08:00
Jeff
9d67f243ef Fixed MMR1/MMR2 updates, and synced boot monitor code with http://skn.noip.me/pdp11/boot.mac 2016-11-15 16:16:38 -08:00
Jeff
365b24c684 Fixed the SXT and XOR opcodes (a couple of small oops) 2016-11-14 21:03:04 -08:00
Jeff
0607d65b70 Fixed RTI on older PDP-11s (ie, 11/20); the old RTI behaves like the new RTT, which did not exist on older machines 2016-11-13 21:17:46 -08:00
Jeff
17816f6fcc Fixed bug in writeDstWord() that was updating flags with negative data (and sadly, none of DEC's basic tests caught it) 2016-11-13 11:34:59 -08:00
Jeff
2c1191ce6e DEC's "TRAP TEST" finally passes (and I learned a lot about PDP-11 opcode idiosyncrasies in the process) 2016-11-12 12:54:13 -08:00
Jeff
bdb06e458f Fixed TRAP TEST diagnostic that expected a stack overflow trap to be acknowledged immediately after a hardware interrupt was dispatched 2016-11-11 14:56:01 -08:00
Jeff
db63c30c1e Made some progress with DEC's "TRAP TEST", but looks like it still needs some work 2016-11-10 15:51:47 -08:00
Jeff
eb6bf8a5a5 Fixed ASRB and RORB instructions, added a new dump command ("ds"), and fixed timer function initialization 2016-11-10 06:10:54 -08:00
Jeff
0cf11c0b01 Fixed the memory clear "toggle-in", by returning the correct amount of installed RAM, and passing properly masked addresses to all the I/O handlers 2016-11-04 17:09:50 -07:00
Jeff
a7a44a8288 Cleaned up the PDP-11 updateDisplay(s) code, and removed the update hack inside the WAIT instruction; display updates now occur in sync with the machine's 60Hz clock 2016-11-04 13:35:20 -07:00
Jeff
d67e848973 Changed 11/70 machines to allocate RAM as a single chunk, and updated the 11/70 page on toggle-ins (/devices/pdp11/machine/1170/panel/debugger/README.md) 2016-11-03 14:42:35 -07:00
Jeff
b3bf213cd9 Enable the Debugger to get/set front panel switches as register SW 2016-11-02 19:41:29 -07:00
Jeff
d5c7bf0b5d More Front Panel improvements 2016-11-02 13:35:50 -07:00
Jeff
99af96a113 Added paper tape reader (PC11) to more machine configs 2016-10-31 12:56:24 -07:00
Jeff Parsons
de916981f3 It is now possible to re-attach or re-load the current paper tape; re-attaching means repositioning it at the beginning, and re-loading means loading it into RAM again. Note that whenever you reload a tape, it's HIGHLY recommended that you reset the machine first, too. 2016-10-23 13:44:31 -07:00
Jeff Parsons
d0618c34bc Added more PDP-11 paper tape resources 2016-10-23 00:43:20 -07:00
Jeff Parsons
89dc2660f1 Added more PDP-11 paper tape resources 2016-10-22 21:57:45 -07:00
Jeff Parsons
5808778351 Added getTrapStatus() so that the Debugger can display trap information whenever a trap has just occurred, updated FileDump to store 'load' and 'exec' properties in MACRO-11 listing dumps (so that the individual machine files don't have to specify hard-coded 'load' and 'exec' values themselves), and added a new SerialPort parameter (upperCase) that can be used to force all received data to upper-case 2016-10-21 21:07:26 -07:00
Jeff Parsons
5f05913036 Fixed fault generation on invalid memory accesses; PDP-11 BASIC now starts up! 2016-10-21 17:06:41 -07:00
Jeff Parsons
22e24697fe Fixed read/write breakpoints for instructions that snapshot the cycle count, and improved the disassembly of PC-relative operands 2016-10-21 13:45:01 -07:00