lsnes/testrunner/hwtests/m1/lycint_m1intirq.txt
2013-08-09 20:11:29 +03:00

19 lines
262 B
Text

waits for ly 141
enables lycint
sets lyc to 143
enables m1 int
d=2
interrupt enable
on lycint:
dec d
if nz jr 1
ret
jump to 0x1000
ei
does a bunch of nops
reads IF
outputs value of IF&3
lycint_m1intirq_1.gb should output 3
lycint_m1intirq_2.gb should output 1