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