Commit graph pcjs/modules/pdp11
Author SHA1 Message Date
Jeff
9bc4f81eda Added more PDP-11 diagnostic tapes 2016-11-13 17:44:28 -08:00
Jeff
d94ae4c655 Sync with gh-pages branch 2016-11-13 16:14:22 -08:00
Jeff
85163fe823 Updated comments in readSrcWord() 2016-11-13 11:50:07 -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
91bd3c1a7a Reinitialize the DL11 receive buffer on reset 2016-11-12 12:59:17 -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
b87c77b0a0 Factored trap checks into separate function: checkTraps() 2016-11-11 15:49:37 -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
03e4169df2 Changed how DL11 transmitter interrupts are triggered on writes to the XCSR (to satisfy the TRAPS TEST) 2016-11-10 22:06:06 -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
9fe3ba6e09 Added some early PDP-11 diagnostic tapes 2016-11-09 20:25:38 -08:00
Jeff
595c40e446 Cleaned up the Front Panel address and data interfaces so that BOOTMON's "LIGHTS" test works as expected now 2016-11-09 12:46:03 -08:00
Jeff
f43d1c1745 Revert back to propagating R0 to the Front Panel data path on a WAIT instruction (per PDP-11 lore) 2016-11-08 14:21:07 -08:00
Jeff
010ba29b20 Fixed the LKS Monitor bit 2016-11-08 09:24:01 -08:00
Jeff
a88e2d7b39 Fixed the frequency of PDP-11 display updates 2016-11-07 18:30:33 -08:00
Jeff
eb3b38a5ad Fixed XXDP disk boot (haven't tried any tests yet, but it's still good progress) 2016-11-07 17:20:53 -08:00
Jeff
8188554875 Fixed the fallback logic for IOPAGE ranges where only byte handlers exist (ie, the readROMByte() case) 2016-11-06 09:48:12 -08:00
Jeff
9e00cd4dad Attempted to make switches more "touch-friendly" 2016-11-05 15:12:52 -07:00
Jeff
71546f1ed5 Fixed incorrect RL11 addresses 2016-11-05 12:45:54 -07:00
Jeff
c67176eab0 Added the ability to install external ROMs (eg, M9312 ROM images) into the IOPAGE 2016-11-05 12:01:56 -07: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
0d11d279bb Changed SDR and SAR register references to PDR and PAR, which seems in keeping with more of DEC's own literature 2016-11-03 17:19:15 -07:00
Jeff
3b88e4c53c Memory can now be explicitly "zeroed" with any byte pattern (but the default is still zero); note that memory blocks are still always zero-initialized when first created 2016-11-03 15:50:19 -07:00
Jeff
97de321daa Fixed zeroMemory() to properly zero any block(s) that originally underlaid the IOPAGE block(s), rather than trying to zero the IOPAGE block itself (which would be a bad idea) 2016-11-03 15:36:37 -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
57bceb4da9 Fixed the LED (lamp) test, fixed Front Panel update on a machine RESET, and cleaned up the status update code a bit 2016-11-03 10:28:54 -07:00
Jeff
0afab359ad The memory management toggle-in passes (see /devices/pdp11/machine/1170/panel/debugger) 2016-11-02 21:20:04 -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
caf0a728f8 More PDP-11 front panel functionality 2016-11-01 19:02:06 -07:00
Jeff
99af96a113 Added paper tape reader (PC11) to more machine configs 2016-10-31 12:56:24 -07:00
Jeff
daefc2992c Attempted to clean up mapUnibus() and bus-related faults; how well or ill-advised these changes are remains to be seen 2016-10-31 12:44:29 -07:00
Jeff
96ad4ec37e Lots of work to try to bring the new RL11 component up to snuff 2016-10-29 11:32:31 -07:00
Jeff
04be27b47b Added some RL11 register definitions 2016-10-25 14:40:33 -07:00
Jeff Parsons
9e480d7574 Added new RL11 component (work-in-progress) 2016-10-24 16:28:48 -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
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
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
5d5629c27b More README updates, particularly in regard to DEC's Absolute Loader 2016-10-22 14:21:33 -07:00
Jeff Parsons
49b5e34ba2 Remove all debugger.js files when running uncompiled without the Debugger, and some PDP-11 layout fixes 2016-10-22 01:36:45 -07:00
Jeff Parsons
35f931f492 Fixed stepCPU() so that, if a Debugger is present, it always calls checkInstruction() on at least the first instruction of a run, so that Debugger features like skipping over an initial HALT opcode works properly 2016-10-21 23:24:27 -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
Jeff Parsons
3db1439b40 Improved Debugger focus handling, added a new zeroMemory() Bus interface, and updated the RAM component's reset() function to re-zero RAM and then restore any predefined contents 2016-10-21 12:15:02 -07:00
Jeff Parsons
aa2a25c5ec Minor Debugger improvements, notes, etc, while debugging the PDP-11 BASIC 2016-10-20 22:56:29 -07:00
Jeff Parsons
7beaf7ca7b More README updates 2016-10-20 15:32:37 -07:00