video: first signs of life

The video code now writes out a bmp file per-frame. With this patch
applied, the Nintendo logo is rendered in each frame.

There is still plenty of work to be done. Pretty much everything is
hardcoded to make the bootrom work.
This commit is contained in:
2018-07-18 19:32:03 -07:00
parent cd66ad8a89
commit 53cd4ab7e5
7 changed files with 165 additions and 63 deletions

View File

@@ -59,59 +59,38 @@ assert $c == 0x12
runto 0x27
assert $pc == 0x27
step
assert $pc == 0x28
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
regs; peek; step;
step
assert $pc == 0x95
step
assert $pc == 0x96
step
assert $pc == 0x98
step
assert $pc == 0x99
step
assert $pc == 0x9b
step
assert $pc == 0x9c
step
assert $pc == 0x9d
step
assert $pc == 0x9f
step
assert $pc == 0xa0
step
assert $pc == 0xa1
runto 0xa3
assert $pc == 0xa3
step
assert $pc == 0xa4
step
assert $pc == 0xa5
step
assert $pc == 0xa6
step
assert $pc == 0xa7
step
assert $pc == 0x2b
step
assert $pc == 0x96
runto 0x34
assert $pc == 0x34
@@ -220,7 +199,7 @@ assert $de == 0x00d8
assert $hl == 0x014d
#
runto 0x2213
# runto 0x2213
regs
stat