Commit graph pcjs/modules/shared/lib
Author SHA1 Message Date
Jeff Parsons
688fa635c8 Clarified the operation of negate(), added an explicit extend(), and made toDecimal() more robust (in case we end up with goofy values) 2017-02-17 11:52:36 -08:00
Jeff Parsons
80756041f3 Int36.toDecimal() now supports any value up to 72 bits 2017-02-16 15:58:50 -08:00
Jeff Parsons
4de50acdf1 Added alternate Int36 addition/subtraction overflow/underflow detection logic as a verification check 2017-02-16 14:05:05 -08:00
Jeff Parsons
048a10aac6 Fixed toDecimal() for large extended Int36 values (although there are still some very large values that trigger an error) 2017-02-15 23:43:23 -08:00
Jeff Parsons
4d94b5812b Cleaned up divExtended() 2017-02-15 22:27:03 -08:00
Jeff Parsons
40311e82b2 Added Int36 overflow/underflow detection 2017-02-15 22:20:07 -08:00
Jeff Parsons
798fae1898 Updated Int36 comments 2017-02-15 16:35:15 -08:00
Jeff Parsons
6bc0d8ac49 Trying a second approach to the Int36 class that sticks to unsigned numbers internally (only downside so far is that the detecting arithmetic overflow/underflow is more work and hasn't been implemented yet) 2017-02-15 16:16:32 -08:00
Jeff Parsons
259dd7d66f Updated comments 2017-02-15 11:54:16 -08:00
Jeff Parsons
3a33ffdd50 A few more toDecimal() fixes 2017-02-14 17:55:41 -08:00
Jeff Parsons
656f7e6796 Numerous fixes to Int36 class, with improved support for 72-bit mul(), div(), and toString()/toDecimal() 2017-02-14 13:12:27 -08:00
Jeff Parsons
7131e471ac Implemented 36-bit division with support for (up to) 72-bit dividends 2017-02-13 14:04:00 -08:00
Jeff Parsons
a0ddaa2239 Implemented 36-bit multiplication with support for (up to) 72-bit results 2017-02-13 11:55:29 -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
bfab39cf5a Skeleton of an Int36 class that may be used to support 36-bit integers in a PDP-10 simulation 2017-02-12 11:21:49 -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
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
cacc2f7dad Support for RX11 diskette drives has been added, but is still untested 2017-02-02 15:14:13 -08:00
Jeff Parsons
f5625625d4 Somehow I failed to add two of the four machines to the release... hmmm. 2017-01-31 16:18:35 -08:00
Jeff Parsons
822ab39cbe Unforked the shared modules -- ES6 is now the default 2017-01-31 13:50:55 -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
28856674c2 iOS fixes for PC8080; specifically, the VT100 2017-01-30 13:15:27 -08:00
Jeff Parsons
25af103509 Added support in the Node web server for scripts on web pages, too 2017-01-25 11:45:22 -08:00
Jeff Parsons
aa4cdca89e Start on support for component scripts 2017-01-24 15:37:46 -08:00
Jeff Parsons
4611153625 Updated PDP-11 Debugger to include line breaks between steps 2017-01-24 14:36:15 -08:00
Jeff Parsons
edf22928b9 Added command to select RL11 drive 2017-01-08 23:16:38 -08:00
Jeff Parsons
2505dde605 Fixed sticky machine support on iOS devices 2017-01-03 23:03:07 -08:00
Jeff Parsons
ca0e8db0d0 Fixed sticky machine support on iOS devices 2017-01-03 22:57:40 -08:00
Jeff Parsons
43bec5fd03 Final tweaks to initial sticky machine demo 2017-01-03 17:28:35 -08:00
Jeff Parsons
813fc7c14f Moved sticky/floating machine classes to common.css, which is unique to Node, allowing Jekyll to define its own classes 2017-01-03 15:45:30 -08:00
Jeff Parsons
82506638f8 Made sticky machine support adjustable through CSS instead of hard-coded 2017-01-03 15:39:14 -08:00
Jeff Parsons
6f36583704 Added support for machine command links to assist in the creation of online tutorials; however, the commandMachine() function isn't wired to anything yet, and this only works with the Node web server (updating the Jekyll environment is next) 2017-01-03 10:58:25 -08:00
Jeff Parsons
0eccf30d3c Support for sticky machines when using the Node web server (so that we have parity between the Node and Jekyll web environments) 2017-01-02 23:21:16 -08:00
Jeff Parsons
b5d6afd210 Protect all Node-specific code with NODE checks 2017-01-02 15:16:18 -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
c4d32af6da Missed a spot where a /pcjs folder needed to be renamed to /pcx86 2016-12-27 15:09:03 -08:00
Jeff Parsons
a6a855c4cd Fixed assorted inspection errors 2016-12-21 17:40:02 -08:00
Jeff Parsons
127442d405 Some notes on ES6 adoption and work-arounds 2016-12-21 16:24:26 -08:00
Jeff Parsons
772bd39543 I'm Dreaming of White Spaces 2016-12-18 15:05:41 -08:00
Jeff Parsons
ba8771adf1 Added some RK11 fixes for the 11/70 CPU EXERCISER, and some Debugger improvements for dumping address info ("da") 2016-12-08 17:05:03 -08:00
Jeff Parsons
9746891780 Debugger commands work with known IOPAGE symbols now 2016-12-05 15:38:46 -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 Parsons
63348edabe Added some RK11 improvements, and a new Debugger command ("da") to dump information about a virtual address 2016-12-02 16:06:23 -08:00