gambatte/hwtests/m1/m1irq_enable_after_lyc144.txt
sinamas 6274af6391 Add hwtests.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@6 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-22 02:36:41 +00:00

15 lines
261 B
Plaintext

waits for ly 142
enables lycint
sets lyc to 144
interrupt enable
on lycint:
jump to 0x1000
does a bunch of nops
writes 0x10 to ff41
reads IF
outputs value of IF&3
m1irq_enable_after_lyc144_1.gbc should output 1
m1irq_enable_after_lyc144_2.gbc should output 3