Commit graph pcjs/modules/shared
Author SHA1 Message Date
Jeff Parsons
fbc0fa57d5 Changed diagnostics display to use fixed-width font 2017-06-30 13:04:24 -07:00
Jeff Parsons
3abd13e8ca Updated COMPAQ MS-DOS READMEs, along with a few PCx86 debugger improvements 2017-06-30 12:03:35 -07:00
Jeff Parsons
061c839a33 The Component printBuffer should only be used by Component static functions 2017-06-29 08:38:02 -07:00
Jeff Parsons
9f99649a87 Cleaned up the MarkOut module (and fixed some encoding problems with code blocks); affects only users of the Node-based web server 2017-06-29 08:12:32 -07:00
Jeff Parsons
a68e9d95c9 Synced with a minor change in the gh-pages branch 2017-06-28 18:10:46 -07:00
Jeff Parsons
51f8440e9b More diagnostic output improvements 2017-06-28 17:51:15 -07:00
Jeff Parsons
ea82dfec93 A machine's screen can now be used to display initialization (diagnostic) messages, up until the Computer component is ready to power/start the CPU, at which point control of the screen reverts to the Video component 2017-06-28 16:24:33 -07:00
Jeff Parsons
d4d3448fd5 Cleaned up how components print messages and how the Computer component overrides their notice/print/println methods (in preparation for new Computer overrides) 2017-06-28 10:53:44 -07:00
Jeff Parsons
2cb0be42f0 Setting the stage for a resource status update mechanism 2017-06-27 16:01:00 -07:00
Jeff Parsons
7457e4e44f Changed the default page "exit" event handler from "onunload" to "pagehide" for iOS; hopefully, auto-resume machines will work better on mobile devices with that change 2017-06-25 08:32:27 -07:00
Jeff Parsons
113201fdb4 Added a cleaner solution for string replacement woes (ie, use Str.replace() instead of applying replace(/\$/g, "$$$$") to replacement strings) 2017-06-23 11:56:14 -07:00
Jeff Parsons
991e924d01 Added support for special autoType sequences (eg, $date and $time, which generate current date and time strings accepted by the PC-DOS date and time prompts) 2017-06-23 09:39:40 -07:00
Jeff Parsons
a16f0586f4 More alert suppression changes 2017-06-22 16:36:51 -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