fixup whitespace

This commit is contained in:
2018-02-19 05:41:26 +00:00
parent 29ce85b87c
commit bd95e66280
3 changed files with 78 additions and 76 deletions

View File

@@ -27,17 +27,15 @@ assert $pc == 10
assert $f == 0x2
step
breakpoint add 0xc
step 100000
breakpoint del 0
runto 0xc
regs
assert $pc == 0xc
assert $hl == 0x7fff
# TODO: There is a bug in GBDB where breakpoints fire at the start of an
# instruction and "step" stops at the end of an instruction
step; step
regs
assert $pc == 0xf
assert $hl == 0xff26
@@ -61,11 +59,8 @@ step
assert $pc == 0x16
assert $c == 0x12
break add 0x27
step 1000
runto 0x27
assert $pc == 0x27
break del 0
step; step
assert $pc == 0x28
@@ -102,7 +97,7 @@ assert $pc == 0xa1
break add 0xa3
step 100000
break del 0
break del 2
assert $pc == 0xa3
step #FIXME: bugs
@@ -127,7 +122,7 @@ assert $pc == 0x96
break add 0x34
step 10000
assert $pc == 0x34
break del 0
break del 3
step; step
assert $pc == 0x37
@@ -141,7 +136,7 @@ break add 0x40
step 10000
assert $pc == 0x40
assert $b == 0
break del 0
break del 4
step; step
assert $pc == 0x42
@@ -158,8 +153,15 @@ step
assert $pc == 0x4a
assert $c == 0x0c
break add 0x55
step 10000
assert $pc == 0x55
assert $a == 0
break del 5
runto 0x100
assert $pc == 0x100
echo Test passed!
step 10000000
regs
stat