Commit graph

2,506 commits

Author SHA1 Message Date
Jeff Parsons
48120dc08f Merge branch 'master' into gh-pages 2017-02-22 15:39:06 -08:00
Jeff Parsons
6992f0d7f6 Merge branch 'next-release' 2017-02-22 15:38:59 -08:00
Jeff
2ed076503f Since writeBitsMemory() must preserve unwritten bits, it can't use bit-wise operators (unless of course no bits above bit 31 are set, but it's not clear checking for that would be a win) 2017-02-22 15:33:18 -08:00
Jeff Parsons
b8b774696b Since writeBitsMemory() must preserve unwritten bits, it can't use bit-wise operators (unless of course no bits above bit 31 are set, but it's not clear checking for that would be a win) 2017-02-19 15:49:08 -08:00
Jeff Parsons
ba7de38fbf Created PDP-10 skeleton 2017-02-19 15:22:58 -08:00
Jeff Parsons
b1d16c979a Removed obsolete version of Int36 (using signed integers internally); sticking with unsigned integers internally not only simplifies some of the existing logic, but will make it easier to add logical operations later (eg, AND, OR, XOR, etc) 2017-02-18 09:36:47 -08:00
Jeff Parsons
acdf89ec54 Make Int36 toDecimal() more paranoid (we want perfect output, or no output at all) 2017-02-18 09:28:43 -08:00
Jeff Parsons
c1ab8918bd Make Int36 toDecimal() more paranoid (we want perfect output, or no output at all) 2017-02-18 09:23:45 -08:00
Jeff Parsons
7770a6bffe Added an "early out" for Int36 division 2017-02-18 09:17:08 -08:00
Jeff Parsons
3f65a1b770 Simplify Int36 bit handling (only affects division) 2017-02-18 08:50:24 -08:00
Jeff Parsons
242fa1545c Put back some redirects that external sites are using 2017-02-17 15:53:46 -08:00
Jeff Parsons
55bb0252b7 Be more specific about detected errors 2017-02-17 13:38:34 -08:00
Jeff Parsons
cff039f6a5 Added the reduce() function, to reduce 72-bit extended values to 36-bit values, magnitude permitting 2017-02-17 13:31:17 -08:00
Jeff Parsons
689adca2a7 Comment updates 2017-02-17 12:15:48 -08:00
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
92a919c927 Avoid reallocating 64-bit register arrays on every 64-bit division 2017-02-12 22:24:06 -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
c119552c06 A few minor edits/corrections 2017-02-09 16:35:26 -08:00
Jeff Parsons
9ec4478d58 A few minor edits/corrections 2017-02-09 16:34:36 -08:00
Jeff Parsons
a275d2fd39 Merge branch 'master' into gh-pages 2017-02-09 16:14:16 -08:00
Jeff Parsons
f77478a6c1 Merge branch 'next-release' 2017-02-09 16:14:11 -08:00
Jeff Parsons
4c5cfd8158 A few minor edits/corrections 2017-02-09 16:14:04 -08:00
Jeff Parsons
fc759ebaef Restored one useful redirect 2017-02-09 15:56:03 -08:00
Jeff Parsons
7e8f1286e3 Merge branch 'master' into gh-pages 2017-02-09 15:36:53 -08:00
Jeff Parsons
f772307559 Merge branch 'next-release' 2017-02-09 15:36:48 -08:00
Jeff Parsons
009e1a46f7 Restored empty 20Mb disk image to repository 2017-02-09 15:36:10 -08:00
Jeff Parsons
fabbb7e4fe Merge branch 'master' into gh-pages 2017-02-09 15:29:41 -08:00
Jeff Parsons
df3e76d073 Merge branch 'next-release' 2017-02-09 15:29:37 -08:00
Jeff Parsons
908cbf114b Fixed typo 2017-02-09 15:29:29 -08:00
Jeff Parsons
70fbb7bb3e Merge branch 'master' into gh-pages 2017-02-09 15:25:25 -08:00
Jeff Parsons
f590739895 Merge branch 'next-release' 2017-02-09 15:25:20 -08:00
Jeff Parsons
ba84e37a2f Removed more old redirects (still attempting to reduce Jekyll build time) 2017-02-09 15:25:11 -08:00
Jeff Parsons
f3d980b72d Rebuild pages 2017-02-09 15:00:27 -08:00
Jeff Parsons
7d9070ef94 Merge branch 'master' into gh-pages 2017-02-09 13:59:40 -08:00
Jeff Parsons
b36145830d Merge branch 'next-release' 2017-02-09 13:59:35 -08:00
Jeff Parsons
43f3f66815 Cutting back on the number of redirects (attempting to reduce Jekyll build time) 2017-02-09 13:59:24 -08:00
Jeff Parsons
a0112065aa Cutting back on the number of redirects (attempting to reduce Jekyll build time) 2017-02-09 13:58:08 -08:00