Commit graph pcjs/docs/pcx86/examples
Author SHA1 Message Date
Jeff Parsons
061c839a33 The Component printBuffer should only be used by Component static functions 2017-06-29 08:38:02 -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
743511d5db Fixed recent problems introduced with my switch to addEventListener 2017-06-27 17:39:20 -07:00
Jeff Parsons
2cb0be42f0 Setting the stage for a resource status update mechanism 2017-06-27 16:01:00 -07:00
Jeff Parsons
754a4a4027 Machine states now save/restore the CPU's running state 2017-06-27 14:08:16 -07:00
Jeff Parsons
0ec54f6da4 Started work on v1.35.2 2017-06-27 12:01:19 -07:00
Jeff Parsons
60aaeaa3bf More attempts to clean-up and reduce spurious alerts 2017-06-27 10:39:21 -07:00
Jeff Parsons
c20fe69872 More attempts to clean-up and reduce spurious alerts 2017-06-27 10:32:30 -07:00
Jeff Parsons
7aa689c745 Let's try to tone down the alerts when 'resume' is set to AUTO (1) 2017-06-27 09:54:59 -07:00
Jeff Parsons
7ca8fa18a1 Changed the onclick handlers for Keyboard CLICKCODES to let updateFocus() scroll the canvas into view as needed, because (at least on iOS) the code that tries prevent the page from scrolling has an annoying "jerking" side-effect; also fixed the old Node web server code that would install onclick handlers for disk images, triggering automatic conversion of JSON to IMG files 2017-06-26 11:05:01 -07:00
Jeff Parsons
ed75397b83 Fixed an old annoying bug where a restored video card wouldn't properly display a blinking cursor; originally, I assumed it was a CRTC register restoration bug, but actually, some supporting variables (eg, cBlinks) were not getting initialized in both the reset() and restore() code paths. This is also a good time to remember that when an uninitialized array from some hardware state gets serialized and deserialized to/from JSON, the array is restored as a series of "null" values, not as "undefined" values, so it's best for any code checking for undefined values to use "== null" rather than "=== undefined". 2017-06-26 08:56:17 -07:00
Jeff Parsons
80cf6953d9 Updated information on Adventures in Math (1983) 2017-06-26 07:47:19 -07:00
Jeff Parsons
22a577e3ec Fixed KEYGRID support, so Rogue should be much more playable now on an iPad using the touchscreen 2017-06-25 10:18:08 -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
a9b6feb377 Added more demo links on the home page, switched nearly all machines over to the complete diskette library (instead of just a few samples), added the ability to autoMount disketttes by name OR by path, and updated the Dual Display IBM PC with a newer version of DOS along with details on toggling the active display 2017-06-24 10:39:26 -07:00
Jeff Parsons
0b803b23f1 The computer's 'resume' property can now be passed in as a machine property, allowing pages to set and/or override it 2017-06-23 14:21:03 -07:00
Jeff Parsons
503cda40f7 Fixed machine array demos, by permitting machine IDs with hyphenated numeric suffixes to use a machine state file created with an unhyphenated machine ID, and added a demo of Windows 1.0 (the "Premiere Edition") 2017-06-23 14:00:27 -07:00
Jeff Parsons
9ad03d66b3 parseAutoType() now leaves unrecognized $-sequences alone, instead of complaining about them 2017-06-23 10:23:07 -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
0bd1be0df9 When a 'state' file is passed as a URL parameter, that's supposed to override a machine's 'resume' setting, but if a 'state' file is passed as EITHER a computer parameter (the original XML-based method) OR as a machine parameter (a newer method that allows a web page to override certain XML settings), that is NOT supposed to override the 'resume' setting. This restores the ability of the DONKEY.BAS demo to BOTH define a state file AND allow the machine to be suspended and resumed. Additionally, a new-ish Video card property (offStartAddr), which was originally added for the EGA/VGA, was not properly initialized for other cards, so when we restored the display of a suspended machine with a CGA, nothing would be displayed, due to lots of NaN buffer address calculations. 2017-06-22 17:45:36 -07:00
Jeff Parsons
a16f0586f4 More alert suppression changes 2017-06-22 16:36:51 -07:00
Jeff Parsons
3ba6f0e047 Changed the alert style for restore failures 2017-06-22 16:06:41 -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
6fd2a3bcb6 Started work on v1.35.1 2017-06-21 11:18:02 -07:00
Jeff Parsons
921fe75d7d autoType sequences no longer require double backslashes 2017-06-21 10:48:31 -07:00
Jeff Parsons
07b330bc66 The Disk component needed improved handling of disk images containing sectors with no 'data' or 'byte' arrays, the Disk restore code needed to stop complaining about disk mismatches when there was no previous disk, and Disk notice() and println() calls (including those made on its behalf; eg, from assert() calls) needed to be passed through to the controller that called it. Also, since the PC-DOS 1.x disk images were changed recently to include BPBs, machines that use those disks and have a machine state file needed their state file updated (eg, the DONKEY.BAS demo). 2017-06-20 10:24:51 -07:00
Jeff Parsons
5e0e5b7256 Updated the VisiCalc demo with an autoType sequence, a fresh disk image, new state file, and reference cards; also, updated autoType support to cancel autoType if a saved machine state is loaded 2017-06-19 08:48:10 -07:00
Jeff Parsons
6d019e7d9d Fixed autoMount overrides (formerly, machines that wanted to override the diskette autoMount settings for a machine would set "autoMount: ''", but that was a sledgehammer solution, especially when the goal was merely to prevent a diskette from being loaded in drive A; the preferred solution now is to set "autoMount: A: None", allowing the rest of the machine's autoMount settings, if any, to remain intact) 2017-06-17 21:30:03 -07:00
Jeff Parsons
cb43a6b360 Fixed cancellation of key injection whenever a soft key is pressed 2017-06-17 17:43:43 -07:00
Jeff Parsons
fd3348f907 Added an autoType sequence to the RatBas demo 2017-06-17 10:56:22 -07:00
Jeff Parsons
8f8082d170 Stop keyboard injection as soon as any real keyboard activity is detected 2017-06-15 16:48:12 -07:00
Jeff Parsons
21e252b2b9 Updated v1.35.0 files 2017-06-15 16:04:10 -07:00
Jeff Parsons
af4750eefc Fixed autoType support in the PCx86 Keyboard component 2017-06-14 23:43:09 -07:00
Jeff Parsons
36bf15561f Added "Adventures in Math (1983)" along with some notes about the failure to properly archive files 2017-06-14 09:48:51 -07:00
Jeff Parsons
bb00a52660 Updated DiskAPI table of known geometries 2017-06-01 21:58:41 -07:00
Jeff Parsons
37e0e660c9 Bumped next release version to 1.35.0 2017-06-01 15:35:25 -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
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