gambatte/hwtests/lycEnable/lyc153_late_ff41_enable.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

18 lines
312 B
Plaintext

waits for ly 150
enables lyc
sets lyc to 152
interrupt enable
on int
jumps to 0x1000
sets ff41 to 0
sets lyc to 153
nops til somewhere in or before ly153
sets ff41 to 0x40
some nops
reads IF
outputs value of IF in hex
lyc153_late_ff41_enable_1.gb should output E2
lyc153_late_ff41_enable_2.gb should output E0