Commit graph pcjs/versions/pdpjs
Author SHA1 Message Date
Jeff Parsons
f0f3d8fa42 Added v1.35.0 files 2017-06-15 15:12:30 -07:00
Jeff Parsons
3e1aa196bd Added an empty 10Mb disk image formatted by PC-DOS 2.0 (currently used by one machine: 5160/cga/640kb); also fixed some issues uncovered in the process of creating the disk image (eg, a bug in the HDC's save logic when no image has been loaded), and made some fixes and optimizations in DiskDump 2017-06-01 15:32:17 -07:00
Jeff
ea95de4939 Fixed (or rather, band-aided) a MACRO-10 regression assembling the nested macro test (/apps/pdp10/tests/macro10/TEST.MAC) 2017-04-05 20:42:44 -07:00
Jeff
5f72f1627f Updated the first PDP-10 reliability test (DAKBA) 2017-04-05 16:33:16 -07:00
Jeff
6bd24c5347 Fixed how index operands are assembled into PDP-10 instructions, which was an unexpectedly convoluted process (they are NOT masked to 4 bits, shifted left 18 bits, and OR'ed into the opcode; instead, they are computed as a 36-bit value whose left and right 18-bit halves are swapped and then ADDED to the opcode, which means that an instruction encoded with indexing may not end up using indexing at all, depending on where all those bits fall) 2017-04-05 12:38:36 -07:00
Jeff
d4c12c8c7a Fixed the PDP-10 BLT instruction 2017-04-05 11:32:16 -07:00
Jeff
7e1fc5586e Added a minor improvement to the simplistic MACRO-10 fixup support in PDPjs 2017-04-04 16:34:03 -07:00
Jeff
427e6afdb8 Fixed OPDEF opcode generation (improper use of bitwise operators) 2017-04-04 11:26:49 -07:00
Jeff
d28d1ee940 Added a few PDP-10 byte pointer fixes, along with the ability to pass MACRO-10 text directly into the MACRO-10 assembler (use the Debugger's "as" command) 2017-04-04 10:42:41 -07:00
Jeff
38f709bb7a Corrected a few expression parser changes that had adversely affected other debuggers (eg, PCx86) 2017-04-03 16:27:52 -07:00
Jeff
09dc4dcb9a Lots of MACRO-10 improvements, DAKAM now assembles (but does not pass) 2017-04-03 16:10:08 -07:00
Jeff
3fb3f44384 Made a tiny 72-bit division optimization 2017-04-02 11:43:54 -07:00
Jeff
01550cc95e Well, that was brutal, but ALL the PDP-10 DAKAL multiplication and division tests FINALLY pass 2017-04-02 10:35:59 -07:00
Jeff
493ae6c310 I *think* all the PDP-10 DAKAL multiplication tests pass now. Division tests, alas, are a different story. 2017-04-01 23:06:41 -07:00
Jeff
470bd1d69e Fixed unary operators applied to bracketed expressions 2017-04-01 21:11:01 -07:00
Jeff
1a8c1306d4 Fixed 36-bit multiplication results in cases of overflow 2017-04-01 15:14:27 -07:00
Jeff
75b9a9c2ba Fixed the Debugger's arithmetic truncation function (truncate()) 2017-04-01 14:36:39 -07:00
Jeff
1711393755 Fixed 36-bit multiplication in the expression parser so that, within the PDP-10 environment, it produces the same 36-bit results that a PDP-10 would produce (important for MACRO-10 compatibility) 2017-04-01 00:43:44 -07:00
Jeff
26de8bbb1a Added another PDP-10 KA10 diagnostic (DAKAL) 2017-03-31 19:52:11 -07:00
Jeff
1786b3bf31 Fixed some regressions in MACRO-10 support (all the KA10 diagnostics archived so far assemble and pass again) 2017-03-31 18:43:13 -07:00
Jeff
afd621dc79 Updated the PDP-10 DAKAK diagnostic page, and verified the ability to assemble (but not run) all the original DAKAK source files, after making further improvements to the built-in MACRO-10 Mini-Assembler 2017-03-31 16:32:37 -07:00
Jeff
e7988597c5 Changed the remainder operator from '%' to '^/', mainly because '%' must be allowed in MACRO-10 symbols instead, but also because '%' led one to believe it was a "mod" operator (it wasn't); added IFDEF support to the MACRO-10 Mini-Assembler; updated the Debugger's assemble command to recognize filenames with "KLM" extensions, too. 2017-03-31 09:37:38 -07:00
Jeff
71e2ecb5cb PDP-10 "DAKAK" multiplication diagnostic passes 2017-03-31 08:14:56 -07:00
Jeff
307517fd76 PDP-10 multiply diagnostic testing finally underway; fixed one bug related to the KA10 (not that anyone really cares anymore) 2017-03-30 23:46:01 -07:00
Jeff
90ae3f1db8 Fixed the signed 8-bit calculation of all PDP-10 shift/rotate counts; diagnostic DAKAJ now passes 2017-03-30 17:31:13 -07:00
Jeff
881da5b19c Added another PDP-10 diagnostic (DAKAJ), which in turn required some more MACRO-10 support (eg, macro parameters with backslashes) 2017-03-30 16:04:00 -07:00
Jeff
3f06667597 Fixed/simplified opASH() a bit; it wasn't preserving the sign bit in all cases, and converting the input from unsigned to signed and back again was more confusing than helpful 2017-03-30 14:49:49 -07:00
Jeff
c6de12287c Documented a (mildly) interesting MACRO-10 bug 2017-03-30 12:43:24 -07:00
Jeff
1d1ac0cb7b The shared expression parser now adapts to the (critically) different precedence of MACRO-10 operators 2017-03-30 11:53:21 -07:00
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
15417ca686 DAKAG PDP-10 diagnostic passes now (fixed the relative addressing location used within literal scopes) 2017-03-29 13:59:50 -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
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
d5c48df9bc Added support for MACRO-10 literal collapsing; it's not super-aggressive, but it's more than adequate for what DEC's diagnostics require 2017-03-28 15:22:17 -07:00
Jeff
776e225920 Fixed parsing of expressions with spaces 2017-03-28 09:27:32 -07:00
Jeff
ae30a5e93c PDPjs passes the first four PDP-10 Basic Instruction Diagnostics (finally) 2017-03-27 19:00:10 -07:00
Jeff
85fd72e6d4 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:45:37 -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
40c588a069 Starting work on v1.34.3 2017-03-21 14:32:50 -07:00
Jeff
1c69d1f9c5 Added the unary + operator, and cleaned up the display of values from the expression parser 2017-03-21 12:48:44 -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
822d400f27 Fixed PDP-10 debugger dump output when using the "db" command 2017-03-19 22:54:57 -07:00
Jeff
5d2a1ed16b Fixed limits on MACRO-10 ASCII and SIXBIT constants 2017-03-19 14:13:24 -07:00
Jeff
4cce2177f4 The recursive MACRO-10 test case (MACTEST1.MAC) found in the June 1972 MACRO-10 manual passes now 2017-03-19 14:03:49 -07:00
Jeff
fb83d1e503 More MACRO-10 parsing improvements 2017-03-19 12:03:45 -07:00