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

25 lines
666 B
Plaintext

waits for ly 150
enables lyc
sets lyc to 152
interrupt enable
on int
jumps to 0x1000
nops til somewhere in or before ly153
sets lyc to 153
some nops
reads IF
outputs value of IF in hex
lyc153_late_ff45_enable_1.gb should output E2
lyc153_late_ff45_enable_2.gb should output E0
lyc153_late_ff45_enable_3.gb should output E2
lyc153_late_ff45_enable_4.gb should output E0
lyc153_late_ff45_enable_ds_1.gb should output E2
lyc153_late_ff45_enable_ds_2.gb should output E0
lyc153_late_ff45_enable_ds_3.gb should output E0
lyc153_late_ff45_enable_ds_4.gb should output E2
lyc153_late_ff45_enable_ds_5.gb should output E2
lyc153_late_ff45_enable_ds_6.gb should output E0