Commit graph pcjs/modules/shared/lib/component.js
Author SHA1 Message Date
Jeff Parsons
d5ddde3e41 More alert suppression changes 2017-06-22 16:34:04 -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
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
54a7fb5119 More documentation 2017-02-07 13:27:16 -08:00
Jeff Parsons
63c64843a7 Log script commands to the browser console 2017-02-07 12:41:31 -08:00
Jeff Parsons
16a78693e8 More scripting fixes 2017-02-06 17:37:12 -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
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
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
d8f0e64329 Merge the last set of changes from the gh-pages branch 2016-12-04 11:31:03 -08:00
Jeff
8e1dd595ec Noticed some more problems in older (albeit unsupported) browsers 2016-10-26 13:25:02 -07: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
e24d507aa2 Removed useless version numbers and dates from .js file headers 2016-10-06 16:22:24 -07:00
Jeff
ebfcd5133b PDP-11 console output works (first baby step) 2016-10-04 15:24:22 -07:00
Jeff
d90d10ea52 Moved PDP-11 console I/O to SerialPort component 2016-10-04 14:02:39 -07:00
Jeff
2a065f4efc First stab at PDP-11 cycle times (11/70 to be precise) is more or less complete now 2016-10-03 14:27:14 -07:00
Jeff
07ee5497bc Added some polyfills for old browsers 2016-10-01 14:37:02 -07:00
Jeff
c7dbfc02be Fixed CPU start/stop control; runCPU is now strictly a worker function, not a control interface (PDP-11 only; other CPUs still need to be updated to match) 2016-09-28 22:21:52 -07:00
Jeff
f82d6f1bfa Assorted improvements to new opcode decoders 2016-09-24 15:12:02 -07:00
Jeff Parsons
3bd02c7e19 Bumped version to 1.30 in honor of the PDP11 module that's being integrated, along with my first attempt to use a newer version of the Closure Compiler (ie, the JavaScript version), as well as giving Gulp a try -- although Gulp leaves just as bad a taste in my mouth as Grunt did 2016-09-13 15:33:17 -07:00
Jeff Parsons
6dd38db68c Updated website link 2016-09-06 10:55:49 -07:00
Jeff Parsons
23e78b971c Picked up all the last-minute changes from the gh-pages branch (where I discovered a race condition between machines) 2016-08-19 13:03:30 -07:00
Jeff Parsons
f0509bc5d1 Successfully running PCx86 and PC8080 machines on the same page now 2016-08-18 10:29:24 -07:00
Jeff Parsons
843d24c627 Scaffolding for VT100 ChipSet 2016-08-02 06:50:25 -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
8971097b3b More PC8080 structural fixes 2016-04-20 13:37:37 -07:00
Jeff Parsons
d50f0ebb1a Updated aspect ratio for CGA configs and added experimental 'aspect' URL parameter 2016-04-01 21:36:06 -07:00
Jeff Parsons
33a828a75b Make autoStart a proper (overridable) machine property 2016-03-16 11:37:17 -07:00
Jeff Parsons
7ca64fcea5 Added more demos and support for mixed-case properties (including a new 'debugger' property in Markdown files) 2016-03-05 18:09:41 -08:00
Jeff Parsons
3dd7512f4f Client-side support for the original DiskDump API is finally limping along 2016-02-22 17:38:57 -08:00
Jeff Parsons
62f64f5571 Node version of PCjs runs again 2016-02-22 09:45: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
4ab2c21043 Support for control bindings with user-defined values (eg, for Keyboard "test" button) 2016-02-02 10:21:45 -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
39af7dbe32 Fixed Closure Compiler build (the compiler gets easily confused when objects in different class hierarchies have identical method names) 2015-11-08 21:38:15 -08:00
Jeff Parsons
646acf3a8d Simplified the NODE tests 2015-09-16 15:32:49 -07:00
Jeff Parsons
75d8e1e193 80386 CPU detection fix 2015-07-14 16:32:41 -07:00
Jeff Parsons
f3b254ebcd Added some prerequisites for dual display support 2015-05-23 12:25:34 -07:00