Commit graph pcjs/modules/pcx86
Author SHA1 Message Date
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
9ad03d66b3 parseAutoType() now leaves unrecognized $-sequences alone, instead of complaining about them 2017-06-23 10:23:07 -07:00
Jeff Parsons
5a22c9c59b Added more documentation regarding a REALLY annoying feature of JavaScript's string replace() method 2017-06-23 10:03:27 -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
11c6380eba Changed the alert style for restore failures 2017-06-22 16:06:19 -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
3d8b29223b 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:07 -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
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
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
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 Parsons
b42c858c44 Added BPB to pre-2.0 DOS disks, for consistency and mounting support 2017-06-01 09:15:39 -07:00
Jeff Parsons
16f50b88d2 Updated KA10 diagnostics page 2017-05-02 15:03:02 -07:00
Jeff
0e8e2ed4a2 Improved fixup handling for better MACRO-10 support 2017-03-16 00:32:30 -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 Parsons
51274c1a30 Make sure all machines support JSON-encoded resources with either 'longs' or 'data' arrays 2017-02-28 16:20:49 -08:00
Jeff Parsons
f03a5686e5 Implemented 36-bit multiplication with support for (up to) 72-bit results 2017-02-13 11:46:58 -08:00
Jeff Parsons
92a919c927 Avoid reallocating 64-bit register arrays on every 64-bit division 2017-02-12 22:24:06 -08:00
Jeff Parsons
ba84e37a2f Removed more old redirects (still attempting to reduce Jekyll build time) 2017-02-09 15:25:11 -08:00
Jeff Parsons
822ab39cbe Unforked the shared modules -- ES6 is now the default 2017-01-31 13:50:55 -08:00
Jeff Parsons
323a42be37 Converted the rest of the PCjs machines to ES6 2017-01-31 11:44:33 -08:00
Jeff Parsons
f21deebffb Perform a more conservative remapping of keyCodes for Firefox's sake 2017-01-30 15:30:44 -08:00
Jeff Parsons
3c376df42c Added iOS work-around for preventing unintentional page zooms when returning focus from a soft-key control to the normal keyboard control 2017-01-29 22:17:57 -08:00
Jeff Parsons
df5eb66429 Instead of hard-coding the 'resume' setting inside individual machine files, we now support a 'resume' setting inside a page's machine properties 2017-01-28 23:39:03 -08:00
Jeff Parsons
e7329fc277 Updated DriveController to save/restore the currently mounted disk (which may differ from the pre-configured disk if the user mounted a different disk), and cleaned the interfaces up a little 2017-01-28 17:31:46 -08:00
Jeff Parsons
d182c7eced Improved PDP-11 save/restore support (added to Device, Panel, RK11, and Serial) 2017-01-26 10:04:44 -08:00
Jeff Parsons
94fd473b0a Tidied up some status messages 2017-01-25 14:18:19 -08:00
Jeff Parsons
f87161f5d6 v1.32.0: The New Year Release 2016-12-30 15:56:01 -08:00
Jeff Parsons
4b345bb3d2 PDP-11 command-line (Node-based) operation is finally working 2016-12-30 14:51:32 -08:00
Jeff Parsons
ded8f15e86 Make component/script names match XML device names (specifically, serial and parallel, which used to be serialport and parallelport) 2016-12-29 13:21:22 -08:00
Jeff Parsons
d930b31c53 Some minor changes to make it easier to load a machine in the Node environment 2016-12-27 22:05:59 -08:00
Jeff Parsons
772bd39543 I'm Dreaming of White Spaces 2016-12-18 15:05:41 -08:00
Jeff Parsons
342f976e42 Fixed soft key processing for PC8080 (to fix an issue with the Epiphany browser on the elementary OS involving the VT100 SET-UP button) 2016-12-05 12:26:32 -08:00
Jeff Parsons
b54253acf9 Numerous changes to make paper tape configurations more consistent with disk configurations. This allows all devices to share the machine-wide "autoMount" configuration object, now that the PC11 has a proper device name ("PTR"), making its properties distinguishable from those for RK11 and RL11 drives (eg, "RK0", "RL0", etc). And all the tape/disk components now use "Load" functions to connect a tape or disk to a device ("Attach" is deprecated). And finally, all tape/disk components now support operations to deposit their media directly into memory -- although in this case, the names of the operations are necessarily different: "Read" for tape images, "Boot" for disk images. The difference is partly historical convention but also reflects the fact that a "Boot" operation is more limited: paper tapes were designed to be completely loaded into memory, whereas bootable disks are designed for only the first sector to be loaded and executed. Also, paper tape images are now flagged as non-auto-starting, because they often require some user action (eg, loading another tape, setting some switches, etc), whereas disk boot sectors are flagged as auto-starting (see the fStart parameter of the loadImage() interface in the RAM component). 2016-12-03 14:49:51 -08:00
Jeff Parsons
aa2aebd89a Working on v1.30.6 now 2016-12-03 09:04:34 -08:00
Jeff Parsons
423ee5df2c Fixed a few more SerialPort connection problems 2016-12-01 16:03:09 -08:00
Jeff Parsons
57d287f161 The VT100 is now smarter about detecting the host machine's physical CAPS LOCK state (and is also capable of displaying that state now) 2016-11-25 16:06:39 -08:00
Jeff
a3833fba28 PDP-11 debugger "p" command works now 2016-11-17 17:14:01 -08:00
Jeff
64845d782f Fixed a tiny oversight in buildFileTable() when using a 320Kb diskette formatted by DOS 1.10 2016-10-28 09:46:29 -07:00
Jeff
8e1dd595ec Noticed some more problems in older (albeit unsupported) browsers 2016-10-26 13:25:02 -07:00
Jeff Parsons
9e480d7574 Added new RL11 component (work-in-progress) 2016-10-24 16:28:48 -07:00
Jeff Parsons
9ab8d5eb5f Trying to keep the focus code synced 2016-10-23 09:30:01 -07:00