Commit graph pcjs/modules/shared/lib/embed.js
Author SHA1 Message Date
Jeff Parsons
6820d65c2d Made embedMachine() a bit more robust, so that we can easily replace a compiled debugger script ("-dbg") with an uncompiled script ("-uncompiled") 2017-08-16 21:40:28 -07:00
Jeff Parsons
1b987df6e2 Added more scripting support to PCx86 (eg, for loading disks, typing keys, and waiting for both to finish) 2017-07-25 10:30:29 -07:00
Jeff Parsons
4577092917 Standardized on autoMount (vs. automount) and created compiled version of the PCSIG08 disk manifest (because it's huge) 2017-07-11 19:10:05 -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
c25ad00c41 Minimal infrastructure for instantiating a PDP-10 test machine 2017-02-23 11:34:19 -08:00
Jeff Parsons
d23ae82679 Prevent new scripts from interrupting scripts in progress 2017-02-08 09:25:09 -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
822ab39cbe Unforked the shared modules -- ES6 is now the default 2017-01-31 13:50:55 -08:00
Jeff Parsons
f87161f5d6 v1.32.0: The New Year Release 2016-12-30 15:56:01 -08:00
Jeff Parsons
b1f8fca2d9 Re-enabled source maps, at least for the PDP-11 emulators (for now) 2016-10-14 09:30:17 -07:00
Jeff Parsons
30e67a015b Fixed some idiosyncrasies involving the versioned folder names for the various emulators. Any compiled pdp*.js script (eg, pdp11.js) will be stored in the /versions/pdpjs folder, just as any compiled c1p*.js script will be stored in the /versions/c1pjs folder. Other emulators that don't use a "js" suffix in their name (eg, PCx86 and PC8080) are stored in /versions folders that mirror their names. 2016-10-11 12:19:54 -07:00
Jeff
e24d507aa2 Removed useless version numbers and dates from .js file headers 2016-10-06 16:22:24 -07:00
Jeff
21b4fe4942 Renamed PDP11js to PDPjs (mostly a cosmetic change, except for the versions directory, and less of a mouthful) 2016-10-05 17:43:46 -07:00
Jeff Parsons
483d247491 Minor annotation and name changes; the PDP11 emulator "branded" as PDP11js now, since PDP11 is too generic 2016-09-06 10:06:08 -07:00
Jeff Parsons
f0d18af735 PDP-11-related message updates 2016-09-05 11:24:41 -07:00
Jeff Parsons
4b778b281d Groundwork for a PDP-11 emulator (starting with a gutted copy of PC8080) 2016-09-03 17:43:06 -07:00
Jeff Parsons
2629e48bdf And more PCjs/PCx86 disambiguation 2016-05-18 00:03:07 -07:00
Jeff Parsons
a1e999e0c4 More PCjs/PCx86 disambiguation 2016-05-17 00:04:51 -07:00
Jeff Parsons
288f28055d Starting work on disambiguating PCjs the emulator from PCjs the project/website; the emulator will become PCx86 2016-05-16 20:55:32 -07:00
Jeff Parsons
425f565b11 Simplified flag management 2016-04-21 15:41:58 -07:00
Jeff Parsons
79fb14fdbf Support for machines other than PCjs and C1Pjs 2016-04-20 12:09:59 -07:00
Jeff Parsons
a9fe17440a Support for "private" builds 2016-04-14 14:24:52 -07:00
Jeff Parsons
f032f95611 Replaced loadResource() with the more streamlined getResource(), for all your resource-getting needs (well, except for binary files, which should be coming soon) 2016-02-21 15:51:54 -08:00
Jeff Parsons
22a4da112d Restrict the download option to Firefox for now, and disable the external XML link for saved machines 2016-02-17 23:03:29 -08:00
Jeff Parsons
0e3de68273 Save machine finally works 2016-02-17 13:40:55 -08:00
Jeff Parsons
585a851ce5 Fixes to machine save support 2016-02-17 11:05:27 -08:00
Jeff Parsons
6bffc69b25 More support for saving entire machines 2016-02-16 18:11:15 -08:00
Jeff Parsons
9c2ec7a20b Disk in current drive can now be saved as an IMG file, and groundwork has been laid for saving an entire machine 2016-02-12 14:14:56 -08:00
Jeff Parsons
b6cf972131 Code cleanup 2016-02-11 15:44:10 -08:00
Jeff Parsons
1ca377fb68 Updated MarkOut and HTMLOut components to use embedPC() with the new 'parms' parameter instead of the old 'state' parameter.
This allows us to continue using the Node web server to debug machines that are launched using new YAML-based Markdown machines settings, the most important being 'automount' (otherwise those machines might not be loaded with the correct disks)
2016-01-19 11:49:30 -08:00
Jeff Parsons
99346be3ba Start leveraging the new ability to specify machine overrides (/disks/pc/os2/misc/1.0/debugger/machine.xml is no longer needed) 2016-01-18 16:31:10 -08:00
Jeff Parsons
12b760f912 Changed the last embedPC() parameter from sStateFile to sParms, although for backward compatibility, if sParms is not a JSON object definition (ie, beginning with a brace), it continues to be treated as a state filename.
This change allows us to pass any number of additional properties to embedPC(), which in turn can override properties contained in the XML file; the only property overrides currently supported are 'state' (which overrides any 'state' property set in the XML's <computer> element) and 'automount' (which overrides any 'automount' property set in the XML's <fdc> element).  The goal is to make it easier to reuse XML machine definitions, by allowing commonly altered component attributes to be overridden.
2016-01-18 16:11:08 -08:00
Jeff Parsons
5cb676e501 Updated Computer constants 2016-01-16 14:37:39 -08:00
Jeff Parsons
c792895b10 v1.20.3: The Happy 2016 Release 2015-12-31 15:51:14 -08:00
Jeff Parsons
8df04c55da Grab JavaScript changes from master branch 2015-12-14 11:32:25 -08:00
Jeff Parsons
cd36be4e19 Fixed support for compiled scripts, and improved error reporting if XML transformation didn't produce a valid machine element 2015-12-09 13:56:11 -08:00
Jeff Parsons
646acf3a8d Simplified the NODE tests 2015-09-16 15:32:49 -07:00
Jeff Parsons
a9229c6443 Tweaked the XMLVERSION kludge 2015-07-30 14:46:31 -07:00
Jeff Parsons
0a015b979b v1.18.6: The Microsoft Edge/Windows 10 (aka Screwed by Microsoft Again) release 2015-07-29 12:06:29 -07:00
Jeff Parsons
2e89c38e4a Added code to extract the machine XML version number when running DEBUG-only 2015-07-28 12:45:29 -07:00
Jeff Parsons
158cc65da3 Cleaned up DMA port handling and minor tweaks 2015-04-13 14:02:02 -07:00
Jeff Parsons
3069d317c6 Fixed some minor bugs (problems with autostart, duplicate machine IDs, etc) 2015-02-05 13:25:55 -08:00
Jeff Parsons
c5d9b7dfcc Added server support for running uncompiled machines 2015-01-17 13:11:31 -08:00
Jeff Parsons
b8407aa96d v1.16.5: Getting ready for 2015 2014-12-29 23:06:28 -08:00
Jeff Parsons
2ff339f190 Cleaned up debugger message handling 2014-11-30 12:56:59 -08:00
Jeff Parsons
4c2a5b7cd5 Fixed self-starting machine.xml files (broken by recent async XML load changes) 2014-11-11 12:19:21 -08:00
Jeff Parsons
e0012c3c62 my_modules is simply modules now 2014-11-11 08:19:48 -08:00
Renamed from my_modules/shared/lib/embed.js (Browse further)