Commit graph

249 commits

Author SHA1 Message Date
Raphaël Jacquot
6c371cf203 increase ROMBITS to fully utilize one memory block 2019-03-03 08:09:33 +01:00
Raphael Jacquot
8fb7ad0eac try async version of reading rom... inconclusive 2019-03-03 08:03:43 +01:00
Raphaël Jacquot
3347a9702d add display of the carry 2019-03-03 07:45:03 +01:00
Raphael Jacquot
ff04360005 fix missing declaration
fix driver conflict
2019-03-03 07:31:18 +01:00
Raphaël Jacquot
b3d72c1d3b add some more debugging functionnality
segregate reading of the rom in it's own little world
2019-03-03 07:25:22 +01:00
Raphaël Jacquot
006b663147 implement hex->ascii conversion with a table 2019-03-03 06:57:14 +01:00
Raphael Jacquot
182623e043 remove char counting aid 2019-03-02 22:48:34 +01:00
Raphael Jacquot
21ad359673 fix compiling
fix the way the bus controller program worked, which generated evil
inferred latches
2019-03-02 22:33:58 +01:00
Raphaël Jacquot
42e8a146ce start implementing some type of debugging functionnality 2019-03-02 21:45:38 +01:00
Raphaël Jacquot
2fcd9f7b23 decode our first instruction
execute said instruction
start implementing the debugging engine to see what we are doing
2019-03-02 19:40:31 +01:00
Raphaël Jacquot
c75b33a64a update readme 2019-03-02 17:06:23 +01:00
Raphael Jacquot
c5355b4a90 enough was done to start feeding the decoder 2019-03-02 15:52:56 +01:00
Raphael Jacquot
cd2b74dcc8 add some commenting 2019-03-02 15:01:00 +01:00
Raphael Jacquot
3cbd6ac5e1 we are now up to reading the first instruction nibbles 2019-03-02 14:38:01 +01:00
Raphael Jacquot
8ce2d2a993 implement more of the bus controller 2019-03-02 13:22:09 +01:00
Raphael Jacquot
15f9b03321 remove product file 2019-02-25 09:51:51 +01:00
Raphael Jacquot
e761f984c8 implement the basic rom, and add a few things 2019-02-25 09:17:17 +01:00
Raphael Jacquot
8866b8c175 starts complete rewrite 2019-02-24 23:30:57 +01:00
Raphael Jacquot
570807cf61 time to start over, this this is broken beyond fiddling 2019-02-24 21:54:15 +01:00
Raphael Jacquot
49b20d72f3 restore RTN / RTNCC / RTNSC 2019-02-23 06:57:48 +01:00
Raphael Jacquot
7376c920bc change the clock phase generation from a counter to a shift register
adapt everywhere needed
2019-02-22 19:30:53 +01:00
Raphael Jacquot
8725b736b5 attempt to change things according to ylamarre 2019-02-22 18:38:09 +01:00
Raphael Jacquot
6126bddc90 C=P n and SETHEX / SETDEC 2019-02-22 16:49:06 +01:00
Raphael Jacquot
ebbea44c50 add clearing HST 2019-02-22 16:37:35 +01:00
Raphael Jacquot
390bdcd22f simplify things in the ALU 2019-02-22 15:48:11 +01:00
Raphael Jacquot
2028715939 implement PC related functionnality, relative and absolute jumps 2019-02-22 12:00:23 +01:00
Raphael Jacquot
93d786c2c1 alu rewrite in progress 2019-02-22 08:22:32 +01:00
Raphael Jacquot
93c856666e modify the alu to make it faster for certain operations. 2019-02-21 22:44:55 +01:00
Raphael Jacquot
7e6250f59b fix off-by-one error in write loop 2019-02-21 17:10:03 +01:00
Raphael Jacquot
30d7e6c8df entirely rework the DP_WRITE and WRITE_DP case 2019-02-21 16:55:08 +01:00
Raphael Jacquot
7d63f0f57a cleanups and move things around 2019-02-20 17:36:21 +01:00
Raphael Jacquot
70ddc7f9b6 cleanups of the bus controller (more to do) 2019-02-20 16:21:39 +01:00
Raphael Jacquot
ec9c39150d start rewriting logical equations to make them cleaner
(oh my this is hard)
2019-02-20 09:20:16 +01:00
Raphael Jacquot
7088a8dcc7 add copyright 2019-02-20 09:19:00 +01:00
Raphael Jacquot
1e136010c9 add copyright and license
add the 9x block (needs work)
2019-02-20 09:18:40 +01:00
Raphael Jacquot
62a1624846 add license
add some testing stuff, not compelling :-(
2019-02-20 09:17:37 +01:00
Raphael Jacquot
98d05d318f add copyright and license (oops) 2019-02-20 09:15:22 +01:00
Raphael Jacquot
380ef1a425 complete rewrite 2019-02-19 16:17:35 +01:00
Raphael Jacquot
7cbdbcbae1 revise some enable wires 2019-02-19 16:17:16 +01:00
Raphael Jacquot
51e7fc792c nothing notable 2019-02-19 16:16:53 +01:00
Raphael Jacquot
2fb29bcd9d add more instruction blocks 2019-02-19 16:16:32 +01:00
Raphael Jacquot
5c5d24f189 support some more jump instructions 2019-02-19 16:16:18 +01:00
Raphael Jacquot
f1971c3bfe add more instructions 2019-02-19 16:16:00 +01:00
Raphael Jacquot
443e4d89ff add some instructions and debug 2019-02-19 16:15:46 +01:00
Raphael Jacquot
6bb654944f move the test rom to a separate module 2019-02-19 16:15:03 +01:00
Raphael Jacquot
4cce55e4ba initialize all registers, implement jmp_rel2
cleanup the controller some more
prepare the core to be rewired
add support for block Bx
2019-02-18 17:38:25 +01:00
Raphael Jacquot
4418ed5824 save one cycle on P= n 2019-02-18 11:36:39 +01:00
Raphael Jacquot
f660168393 cleanup the simulated rom interface 2019-02-18 11:36:28 +01:00
Raphael Jacquot
1444baca19 implement read from DP 2019-02-18 07:43:36 +01:00
Raphael Jacquot
0a45b014d7 moved main registers to arrays, makes things much simpler and better, it seems 2019-02-17 23:05:33 +01:00