Raphaël Jacquot
735504d2b3
implement RESET instruction
2019-03-04 10:15:37 +01:00
Raphaël Jacquot
dd16719a42
recognize PC_READ command
2019-03-04 10:15:27 +01:00
Raphaël Jacquot
c20c893234
replace X with ? to make a difference
2019-03-04 10:15:11 +01:00
Raphaël Jacquot
8a631c28c2
fix missing bus state reset
2019-03-04 10:14:44 +01:00
Raphaël Jacquot
18a56d750b
export main registers to debugger
...
add C register
implement C=P n
add dumping C register
2019-03-04 09:58:13 +01:00
Raphael Jacquot
7c313c3b5d
make it faster yet
2019-03-04 08:56:26 +01:00
Raphael Jacquot
b2811e82eb
too shlow now
...
bus halt in simulation only
2019-03-04 08:44:05 +01:00
Raphael Jacquot
12173e72c4
fix forgotten reset
...
slow it down some
2019-03-04 08:32:34 +01:00
Raphael Jacquot
39182feaf1
fix miscalculations and typo
2019-03-04 08:23:53 +01:00
Raphael Jacquot
5968e6f00e
1/32s is too fast ;-)
2019-03-04 08:16:27 +01:00
Raphaël Jacquot
e0eecde066
merge
2019-03-04 08:10:53 +01:00
Raphaël Jacquot
009f01f5d7
implement 8[45]x ST=[01] n
...
implement GOVLNG
dump 2 lines of registers in debugger now
2019-03-04 08:08:02 +01:00
Raphael Jacquot
8cbf9f59a2
make the blinkenlights pretty
2019-03-03 23:24:50 +01:00
Raphaël Jacquot
da3cce2c07
execute the first jump successfully, and start reading the next instruction
2019-03-03 22:38:56 +01:00
Raphaël Jacquot
a301036968
Merge branch 'master' of github.com:sxpert/hp-saturn
2019-03-03 20:49:10 +01:00
Raphaël Jacquot
631b7f9153
start implementing jump instructions
2019-03-03 20:48:56 +01:00
Raphaël Jacquot
d17a4eb533
cleanup
2019-03-03 20:48:48 +01:00
Raphael Jacquot
cfd7603e96
we have signal !
2019-03-03 18:22:48 +01:00
Raphael Jacquot
c04c770cba
successfully got the saturn to startup on the ECP5 \o/
2019-03-03 17:29:30 +01:00
Raphael Jacquot
bc25d4a61a
cleanup blinky test
2019-03-03 16:18:30 +01:00
Raphael Jacquot
42e49caca3
cleanup of top
2019-03-03 15:59:02 +01:00
Raphael Jacquot
e192444f51
added a chaser to test the board
2019-03-03 15:46:21 +01:00
Raphaël Jacquot
6dd38500a8
add a counter to slow things down
2019-03-03 15:19:07 +01:00
Raphael Jacquot
ca29b542c3
there, a working compile shell script
2019-03-03 14:16:58 +01:00
Raphael Jacquot
531e0cab02
update compile file
2019-03-03 14:00:10 +01:00
Raphaël Jacquot
28a81503eb
store current PC for the currently decoding instruction
2019-03-03 13:34:00 +01:00
Raphaël Jacquot
b58be38b10
connect debugger to leds
2019-03-03 13:33:32 +01:00
Raphael Jacquot
a6d5491619
fix the compilation for proper use of clk_25mhz signal as clock
2019-03-03 13:03:36 +01:00
Raphael Jacquot
9cb1618acb
fix the rom module for proper bram generation
2019-03-03 13:03:12 +01:00
Raphaël Jacquot
391e5b6e93
change address bits to 12 (4096*4)
2019-03-03 10:27:31 +01:00
Raphael Jacquot
ae17cd1361
cleanup the rom
2019-03-03 10:24:53 +01:00
Raphaël Jacquot
2cab45a6ff
remove the reset on the rom access, doesn't work
2019-03-03 10:08:26 +01:00
Raphael Jacquot
7e4ab90369
merge a few wire and assigns... can't do it on port declarations though
2019-03-03 09:47:28 +01:00
Raphael Jacquot
61957fab3e
fix misplaced ifdef
...
discover you can directly set contents of a wire without requiring an assign
2019-03-03 09:43:18 +01:00
Raphaël Jacquot
eeb5150159
add the beginnings of a PC and RSTK handler
...
fix bad maths in the rom-gx-r module
wire in the PC in the debugger and the control unit
add an execute flag, to start execution of partially
decoded instructions that need reading data from the
instruction stream
2019-03-03 09:33:42 +01:00
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