lsnes/testrunner/hwtests/ly0/lycint152_ly1_m2irq.txt
2013-08-09 13:56:04 +03:00

17 lines
308 B
Text
Executable file

waits for ly 150
enables lyc
sets lyc to 152
interrupt enable
on int
jumps to 0x1000
nops into ly0
writes 0x20 to ff41
writes 0 to IF
does a bunch of nops
reads IF
outputs value of IF in hex
DMG-08 / CGB:
lycint152_ly1_m2irq_1.gb should output E0
lycint152_ly1_m2irq_2.gb should output E2