Commit graph pcjs/docs/pcx86/examples/pcx86.js
Author SHA1 Message Date
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
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
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
38f709bb7a Corrected a few expression parser changes that had adversely affected other debuggers (eg, PCx86) 2017-04-03 16:27:52 -07:00
Jeff
40c588a069 Starting work on v1.34.3 2017-03-21 14:32:50 -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
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
ab0dccd866 Added MACRO-10 work-arounds for numeric values with embedded binary shift counts 2017-03-16 12:45:19 -07:00
Jeff
e2e018af67 More MACRO-10 support 2017-03-11 23:30:06 -08:00
Jeff
3a9cd5cf04 Code cleanup 2017-03-09 17:49:54 -08:00
Jeff
70cd954974 Debuggers need to handle negative values a bit better 2017-03-08 16:48:25 -08:00
Jeff
3508b1050e Started work on v1.34.2: More PDP-10 opcode handlers 2017-03-01 12:26:57 -08:00
Jeff Parsons
ce3479c422 Promoted version to 1.34.1 2017-02-28 16:35:16 -08: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
c4f7262e71 Cleaned up the integer base conversion code, and expanded the PDP-10 register dump 2017-02-27 19:18:19 -08:00
Jeff Parsons
ef70ed74b3 Added support for parsing of values (ie, integers) greater than 32 bits, and fixed PDP-10 Bus writes (parameter order differs from other emulators) 2017-02-24 13:07:38 -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
d23ae82679 Prevent new scripts from interrupting scripts in progress 2017-02-08 09:25:09 -08:00
Jeff Parsons
d190bc0c9c Added support for "clickOnce" script controls 2017-02-07 17:57:02 -08:00
Jeff Parsons
c8f32d84f5 More scripting fixes 2017-02-06 17:46:42 -08:00
Jeff Parsons
2e93b71095 PDP-11 panel switches can now be scripted 2017-02-06 13:07:15 -08:00
Jeff Parsons
112c0e88c6 Scriptable machine improvements (including support for sleep) 2017-02-06 12:03:20 -08:00
Jeff Parsons
033f0bf212 The first PDPjs script is operational (see /devices/pdp11/machine/1170/panel/debugger/xxdp) 2017-02-05 13:49:30 -08:00
Jeff Parsons
65bd1348dc Starting work on v1.34.0 2017-02-04 17:27:25 -08:00
Jeff Parsons
cacc2f7dad Support for RX11 diskette drives has been added, but is still untested 2017-02-02 15:14:13 -08:00
Jeff Parsons
8f0b808b1e Switching to machine XML files that use a machine 'type' attribute rather than 'class'; 'class' can still be used to specify the machine type if 'type' is omitted, but going forward, it should only be used to specify an alternate CSS class 2017-01-31 22:05:04 -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
d182c7eced Improved PDP-11 save/restore support (added to Device, Panel, RK11, and Serial) 2017-01-26 10:04:44 -08:00