Commit graph

49 commits

Author SHA1 Message Date
45e71c9ff5 fix spec_demo 2012-04-29 12:26:08 +02:00
a5823b5dd4 spec 1.5 reference 2012-04-29 12:25:29 +02:00
13adbbf68c WIP working towards 1.5 2012-04-27 17:07:05 +02:00
a714a9d71a guard against SET PC, [SP++], and SET PC, [--SP] 2012-04-14 15:41:20 +02:00
d638ebe7ea docstring 2012-04-14 15:39:42 +02:00
d95072ceb4 doc + cosmetic 2012-04-09 16:17:30 +02:00
bf055e998e Isolate memory from CPU 2012-04-09 16:16:22 +02:00
7d6205cac9 all registers wrapped as 16 bits 2012-04-09 15:58:44 +02:00
9a11985cb6 simplified register declaration 2012-04-09 15:40:40 +02:00
4d2d914712 log outside of valcodes 2012-04-09 15:32:51 +02:00
39ac76aa4f exception isolation 2012-04-09 15:32:14 +02:00
6f493aab4e cosmetic 2012-04-09 15:13:56 +02:00
605790257f refactored opcode dispatching 2012-04-09 15:13:15 +02:00
037559160f a little doc 2012-04-09 11:48:36 +02:00
2fff97dd64 run(), and HLT on infinite loop 2012-04-09 11:47:14 +02:00
50ab21f3e5 skip feedback 2012-04-09 11:30:21 +02:00
f3acea29fd fix param order to match doc 2012-04-09 11:27:06 +02:00
6fcac3cf2e title changes 2012-04-08 20:19:55 +02:00
c3e7012f2d Updated doc 2012-04-08 20:16:57 +02:00
54e56b82db updated doc and brought back spec demo 2012-04-08 20:01:41 +02:00
ec4711d2af ignore pyc 2012-04-08 19:58:53 +02:00
726698b4ea cosmetic 2012-04-08 19:58:35 +02:00
a2c029f9cb spec demo program as a test 2012-04-08 19:58:24 +02:00
32a827b728 cosmetic 2012-04-08 19:57:50 +02:00
5fa919e35b uniform naming 2012-04-08 19:57:02 +02:00
3f559dcf32 naive nib dispatch. should not be so complex. 2012-04-08 18:26:17 +02:00
060ed1662f fixing conditionals 2012-04-08 18:25:00 +02:00
930a04473c JSR implemented 2012-04-08 18:24:39 +02:00
7f97d50ce0 guarding against PC/SP overflow 2012-04-08 18:24:05 +02:00
6d5a40d6ac integer division 2012-04-08 18:21:26 +02:00
0b1f2a84ef fix [next word + register] not using reg value 2012-04-08 18:20:25 +02:00
a2d39a818b log only when debug set 2012-04-08 18:18:50 +02:00
9fcfd9437d register accessors by name 2012-04-08 18:16:50 +02:00
5c50feec31 unit tests 2012-04-08 18:16:13 +02:00
bec3aea0a1 fixing links 2012-04-06 12:46:04 +02:00
93f16365d9 a few links 2012-04-06 12:45:12 +02:00
d399ea3c5f features section 2012-04-06 12:31:35 +02:00
1068870103 status info 2012-04-06 12:18:12 +02:00
cca2f8453b be precise 2012-04-06 12:14:47 +02:00
a9bfc51938 REPL example, not just code 2012-04-06 12:12:44 +02:00
6bb632cf85 cosmetic fix 2012-04-06 12:07:55 +02:00
462a2993ea cosmetic stuff 2012-04-06 12:07:00 +02:00
98c8e4a4bb markdown, duh. 2012-04-06 12:05:39 +02:00
7daaee059b README 2012-04-06 12:04:56 +02:00
0c8e0f7acc 3-Clause BSD license 2012-04-06 11:50:29 +02:00
9d60e6c907 hex output 2012-04-06 11:30:59 +02:00
be5c3baae4 fix evaluation order, per spec (a then b) 2012-04-06 11:30:33 +02:00
e78f4b8af8 since it's more advanced, using test.py 2012-04-05 23:48:29 +02:00
ff63a59cac almost there, for an initial impl.
ironically test.py ended up way more advanced than dcpu_16.py
2012-04-05 23:45:16 +02:00