Commit graph pcjs/modules/shared
Author SHA1 Message Date
Jeff Parsons
d5ddde3e41 More alert suppression changes 2017-06-22 16:34:04 -07:00
Jeff Parsons
1ce03810d3 Added support for (attempting to) suppress alerts that are meaningless if the user has aborted a machine by exiting the page before it was done loading 2017-06-22 15:53:34 -07:00
Jeff Parsons
9626fed7c2 Got rid of more app-specific demo machines (eg, DONKEY and WIN101); demos like that are more properly located in either the /apps or /disks folders (not /devices) 2017-06-22 12:03:52 -07:00
Jeff Parsons
4e0d3d46da Fixed root directory check to ensure we don't select a disk format with too few root directory entries 2017-06-19 18:12:33 -07:00
Jeff Parsons
f6fc85e225 New blog post: Adventures in Archiving 2017-06-15 14:39:08 -07:00
Jeff Parsons
5441c6346b Improved geometry calculation for all disk images, not just those listed in DiskAPI.js 2017-06-01 20:59:41 -07:00
Jeff Parsons
20f8bdf141 Added more info about DOS 2.0 BPBs 2017-06-01 16:42:46 -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
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
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
470bd1d69e Fixed unary operators applied to bracketed expressions 2017-04-01 21:11:01 -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
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
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
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
d13e7a5faf The expression parser now allows spaces inside expressions (a relaxation for certain MACRO-10 typos; eg, "- 1" where "-1" was expected) 2017-03-28 12:01:06 -07:00
Jeff
b2a6a06908 Fixed parsing of expressions with spaces 2017-03-28 09:17:09 -07:00
Jeff
6ad35d2d17 Added the ^L MACRO-10 unary zero-bit-counting operator, and updated the last blog post with expression parser differences (eg, interpretation of numbers with a decimal point) 2017-03-21 17:40:37 -07:00
Jeff
127ddb88b4 Added the unary + operator, and cleaned up the display of values from the expression parser 2017-03-21 12:47:43 -07:00
Jeff
a42a261cca README fixes 2017-03-20 15:33:01 -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
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
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
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
ab0dccd866 Added MACRO-10 work-arounds for numeric values with embedded binary shift counts 2017-03-16 12:45:19 -07:00
Jeff
6e0e489bee Cleaned up the expression parser, fixed some PDP-10 evaluation errors, and added support unary minus 2017-03-16 10:30:56 -07:00
Jeff
0e8e2ed4a2 Improved fixup handling for better MACRO-10 support 2017-03-16 00:32:30 -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
9ac0ffe679 Perform the documented encoding of SIXBIT character data for MACRO-10 2017-03-12 11:56:15 -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
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
65eb821710 Well, apparently the PDP-10 MUL instruction really DOES store the high-order word first, and it only stores the low-order word if the destination is an accumulator (weird) 2017-03-07 14:09:24 -08:00
Jeff
38a598d21e Added PDP-10 ADD operations 2017-03-06 23:36:48 -08:00
Jeff
1b4129d7ad Added some ASHC tests 2017-03-06 17:18:41 -08:00
Jeff
04ae721eb6 Updated the extended logical operations (LSHC and ROTC) to treat the result as a 71-bit result, and ASHC to treat it as a 70-bit result 2017-03-06 16:42:29 -08:00
Jeff
3d4795bbe4 Updated the Int36 class with support for both signed 71-bit values (my original double-length format) and 70-bit values consisting of two signed 35-bit values (DEC's double-length format) 2017-03-06 15:48:31 -08:00