gambatte/testrunner/hwtests/m2enable/enable_after_lycint_disable.txt
sinamas 9dc2f7ec48 - libgambatte: *
- tons of re (cgb _and_ dmg).

$ ./run_tests.sh
...
Ran 2755 tests.
0 failures.



git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@246 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-07-23 17:02:32 +00:00

15 lines
249 B
Plaintext

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