Commit graph pcjs/modules/c1pjs/lib
Author SHA1 Message Date
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
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
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
ed24094683 Lots of tweaks in advance of PDPjs support for loading tape files 2016-10-17 15:19:01 -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
1a1614a648 Simplify the Bus and Memory interfaces slightly, by enabling WORDBUS, which treats all word accesses as aligned; the CPU is has sole responsibility for detecting unaligned word addresses and trapping appropriatelu 2016-10-06 14:17:29 -07:00
Jeff
b28166f493 Updated Closure Compiler to v20160911, so now we have a version that supports ECMAScript 6, but I'm not going to go bonkers on ES6 features just yet; the first feature I'm going to use is support for octal and binary constants (of the form 0onnnn and 0bnnnn) 2016-09-24 16:03:57 -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
829fb48bdc First successful display of a VT100 test screen 2016-08-01 16:22:22 -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
a02454467b Note on underwhelming performance when using a dynamically generated array of opcode functions specifying ".bind(this)" on every one (which is why I don't do it) 2016-05-12 00:12:57 -07:00
Jeff Parsons
ba2e525982 Added 4K and 8K versions of my 6502 ASSEMBLER/DISASSEMBLER (although they may be of different vintages) 2016-05-10 22:57:27 -07:00
Jeff Parsons
052c5541b5 Fixed XML config files to reflect to new file locations 2016-05-10 11:28:46 -07:00
Jeff Parsons
985c7c76cd Make C1P screen sharper, add support for C1P JSON files, and add more C1P README files 2016-05-09 23:45:55 -07:00
Jeff Parsons
c8d3a102e2 Use XMLVERSION if set 2016-05-08 11:36:13 -07:00
Jeff Parsons
252fc520a4 Set imageSmoothingEnabled to false for C1Pjs (although in this case the improvement seems negligible) 2016-05-08 11:06:26 -07:00
Jeff Parsons
87e275b5f1 Blog edits 2016-03-16 15:13:18 -07:00
Jeff Parsons
33a828a75b Make autoStart a proper (overridable) machine property 2016-03-16 11:37:17 -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
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
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
a9b5813303 Minor realignment of the C1P and PC Debuggers 2015-08-10 12:17:36 -07:00
Jeff Parsons
48eb5f853a Bring C1Pjs exception handling up-to-date 2015-04-30 14:12:01 -07:00
Jeff Parsons
fcb7c32909 Fail more gracefully on pre-IE9 browsers (still room for improvement though) 2015-04-25 12:54:03 -07:00
Jeff Parsons
a2b06b7626 Simplify subclassing 2015-04-01 17:20:26 -07:00
Jeff Parsons
7085b72fc4 Support for true physical memory aliases 2015-03-23 18:15:29 -07:00
Jeff Parsons
f50612e7ca Debugger changes for improved 32-bit support 2015-02-28 11:55:55 -08:00
Jeff Parsons
9ba73970a4 Changed C1Pjs to display 25 rows instead of 24 2015-02-24 13:56:26 -08:00
Jeff Parsons
5303d2fe20 Support for 80386 register dumps 2015-02-23 12:02:06 -08:00
Jeff Parsons
b8407aa96d v1.16.5: Getting ready for 2015 2014-12-29 23:06:28 -08:00
Jeff Parsons
a1f0f6b279 Updated comments 2014-12-13 11:20:22 -08:00
Jeff Parsons
c722a8ec16 Removed some dead code 2014-12-12 09:20:02 -08:00
Jeff Parsons
08261fa568 Starting work on v1.16.4: fixed command-line (Node) version of PCjs 2014-12-11 20:28:29 -08:00
Jeff Parsons
2ff339f190 Cleaned up debugger message handling 2014-11-30 12:56:59 -08:00
Jeff Parsons
311868bc95 Protected-mode interrupt/trap gate fixes 2014-11-28 13:35:01 -08:00
Jeff Parsons
0ea5520444 Updated C1Pjs to use the FileDump API properly 2014-11-16 14:17:01 -08:00
Jeff Parsons
6eb3911a67 Added mobile browser detection to disable FileReader controls on mobile devices
While support for local disk images and other local resources can work on some mobile devices, I don't think the use cases warrant the extra (largely wasted) screen space
2014-11-16 11:36:42 -08:00
Jeff Parsons
64b2494eef Removed useless sHTMLClass parameter from all setBinding() methods
HTML controls with bindings are now identified by the single class attribute of "{APPCLASS}-binding" instead of the somewhat arbitrary "{APPCLASS}-input" or "{APPCLASS}-output" classes
2014-11-15 18:16:48 -08:00
Jeff Parsons
e0012c3c62 my_modules is simply modules now 2014-11-11 08:19:48 -08:00