gambatte/hwtests/m2enable/enable_after_lycint.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
233 B
Plaintext

waits until ly=3
sets lyc to 5
enables lyc int
waits for int
on int:
jumps to 0x1000
writes 0x60 to ff41
lots of nops
reads IF
outputs value of IF&3
enable_after_lycint_1.gb should output 0
enable_after_lycint_2.gb should output 2