Commit graph pcjs/modules/pdp10/lib/debugger.js
Author SHA1 Message Date
Jeff
ab41fdef3c More robust handling of PDP-10 memory errors (so that when a file is assembled and loaded into non-existent memory, an error is generated); bumped the PDP-10 test machine to 32K words 2017-03-30 09:57:53 -07:00
Jeff
ec642a8c5b Made the Debugger's assemble command more flexible (the target address is optional now; the Debugger will use whatever load and/or start addresses the file(s) specified instead) 2017-03-30 09:04:56 -07:00
Jeff
c045e78395 Added the DAKAG PDP-10 diagnostics, implemented PUSHJ and POPJ instructions, and improved the debugging of XCT sequences 2017-03-29 13:26:23 -07:00
Jeff
c380e2cad2 Added PDP-10 diagnostic #6 (MAINDEC-10-DAKAF) 2017-03-29 10:30:02 -07:00
Jeff
d0ff759684 Added MACRO-10 support for OPDEFs, which are macro-like statements used to generate words which can also be combined with addressing modifiers 2017-03-29 10:12:45 -07:00
Jeff
642e43937e Assemble commands can now be batched up; even if they refer to external files that must be loaded asynchronously, command processing will be suspended until assembly is complete 2017-03-29 08:14:07 -07:00
Jeff
5a8a76249a Reordered flag output in the debugger to match bit order 2017-03-28 16:31:02 -07:00
Jeff
f8bf346eab Renamed flags to be more consistent with DEC's names, and updated JSR and JSP to clear the BIS flag 2017-03-28 16:27:18 -07:00
Jeff
b2a6a06908 Fixed parsing of expressions with spaces 2017-03-28 09:17:09 -07:00
Jeff
ae30a5e93c PDPjs passes the first four PDP-10 Basic Instruction Diagnostics (finally) 2017-03-27 19:00:10 -07:00
Jeff
2a8c2a74d2 Fixed a couple of PDP-10 opcode emulation bugs (AOBJN, AOBJP, and CMP), and rounded out the set of DEC's basic instruction diagnostics 2017-03-27 11:44:42 -07:00
Jeff
dd24f4bb61 Added some PDP-10/MACRO-10 blog updates 2017-03-24 16:23:27 -07:00
Jeff
eed6e990e3 Cleaned up the MACRO-10 assembly demos 2017-03-24 14:11:28 -07:00
Jeff
1b0e01c66a Improved MACRO-10 addWord() parsing 2017-03-24 13:44:34 -07:00
Jeff
471a93353e Fixed MACRO-10 literal processing (literals need to be evaluated as early as possible, but not allocated until the end is reached) 2017-03-24 00:09:30 -07:00
Jeff
a6021441c3 Fixed the signed truncation of 36-bit values (so that "-34,359,738,368. - 1" correctly produces "34359738367. aka 0o377777777777"), added the proper the right-to-left parsing of unary operators (all two of them: negate and complement), changed the PDP-10 disassembler to honor the selected base when displaying opcodes, and updated all the number-to-string conversions to select an appropriate number of digits when rendering values without a specified number of digits. 2017-03-20 13:34:25 -07:00
Jeff
0c88f362e2 Updated the page on the MACRO-10 macro recursion test 2017-03-19 22:46:28 -07:00
Jeff
1c3c9c9856 Added various MACRO-10 expression improvements 2017-03-18 17:12:54 -07:00
Jeff
abd17be706 Allow the debugger to switch to base 2 2017-03-17 11:20:26 -07:00
Jeff
639db42178 PDP-10 Debugger now supports command overrides from the page settings 2017-03-17 10:21:15 -07:00
Jeff
9c96ec14ad Started executing basic PDP-10 instruction diagnostic #1 2017-03-17 00:01:49 -07:00
Jeff
01e9bcf0fe Fixed multiline ASCIZ MACRO-10 pseudo-op, and expressions with binary shift suffixes finally evaluate correctly in parseExpression() 2017-03-16 16:50:47 -07:00
Jeff
0e8e2ed4a2 Improved fixup handling for better MACRO-10 support 2017-03-16 00:32:30 -07:00
Jeff
c4a3d72674 More updates to the PDP-10 DAKAD diagnostic page 2017-03-14 19:21:36 -07:00
Jeff
e1e11b3b2d Updated PDP-10 diagnostic README 2017-03-14 17:59:02 -07:00
Jeff
d2bb577bfd Updated the PDP-10 debugger's loadBin() function 2017-03-14 17:44:37 -07:00
Jeff
4959108512 Multiple MACRO-10 source files can now be requested and assembled together; also, restored DAKAD.MAC to its original version and put my modified version in TEST.MAC 2017-03-14 17:18:02 -07:00
Jeff
3f8705ad98 Successfully assembled my first MACRO-10 source file (DAKAD.MAC) 2017-03-14 14:44:03 -07:00
Jeff
e1f37c8275 More MACRO-10 fixes 2017-03-13 17:44:01 -07:00
Jeff
3e2b825bef Fixed MACRO-10 processing of literals (requires internal labels that don't conflict with MACRO-10 labels) 2017-03-13 17:02:26 -07:00
Jeff
d591b08aea Added lots of MACRO-10 parsing improvements 2017-03-13 15:41:07 -07:00
Jeff
05e09699dd Cleaned up expression evaluation for improved compatibility with MACRO-10 2017-03-12 11:44:38 -07:00
Jeff
e2e018af67 More MACRO-10 support 2017-03-11 23:30:06 -08:00
Jeff
52bd554cf1 Updated PDP-10 README files 2017-03-10 11:22:51 -08:00
Jeff
fcee8a2838 Added support for future PDP-10 MACRO-10 assembler 2017-03-10 10:28:32 -08:00
Jeff
3a9cd5cf04 Code cleanup 2017-03-09 17:49:54 -08:00
Jeff
0dc6b7276b Added lots of PDP-10 compare/increment/decrement/skip/jump instructions 2017-03-09 12:30:51 -08:00
Jeff
70cd954974 Debuggers need to handle negative values a bit better 2017-03-08 16:48:25 -08:00
Jeff
7e207db2a1 Added PDP-10 JSP and JFCL operations (which seem to be the simplest means of getting and setting the processor flags) 2017-03-07 13:44:43 -08:00
Jeff
38a598d21e Added PDP-10 ADD operations 2017-03-06 23:36:48 -08:00
Jeff
ffb7fa1221 New improved PDP-10 processor flag handling 2017-03-04 21:07:56 -08:00
Jeff
b8a38c8ac6 Finished PDP-10 logical operations 2017-03-03 15:58:15 -08:00
Jeff
616f9d4cda Started work on PDP-10 logical operations 2017-03-03 11:30:34 -08:00
Jeff
25aa95cec8 First cut at PDP-10 byte instructions 2017-03-02 23:10:24 -08:00
Jeff
affaa1075c Finished the PDP-10 Move Magnitude opcodes, along with the Push Down and Pop Up opcodes (uncovering some SIMH weirdness along the way) 2017-03-02 16:38:00 -08:00
Jeff
84f8cece67 All PDP-10 MOVN (Move Negative) opcodes implemented 2017-03-02 10:19:37 -08:00
Jeff
e870fd6eec Fixed the accumulator update logic in all the PDP-10 half-word self-mode instructions, and started work on EXCH, BLT, and MOVE instructions (the BLT is a real odd-ball, and SIMH does some very strange things with the accumulator used by BLT, which we do NOT attempt to replicate; the strangeness is most noticeable when the accumulator is part of the range being transferred) 2017-03-01 16:00:48 -08:00
Jeff
3508b1050e Started work on v1.34.2: More PDP-10 opcode handlers 2017-03-01 12:26:57 -08:00
Jeff Parsons
a1dba6a679 Added support for assembling PDP-10 I/O instructions 2017-02-28 09:14:56 -08:00
Jeff Parsons
c4f7262e71 Cleaned up the integer base conversion code, and expanded the PDP-10 register dump 2017-02-27 19:18:19 -08:00