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

22 lines
503 B
Plaintext

waits until ly=3
sets lyc to 5
enables lyc int
waits for int
on int:
jumps to 0x1000
nops til somewhere in or before next ly
sets lyc to 6
some nops
reads IF
outputs value of IF&3
ff45_enable_weirdpoint_1.gb should output 2
ff45_enable_weirdpoint_2.gb should output 0
ff45_enable_weirdpoint_3.gb should output 2
ff45_enable_weirdpoint_ds_1.gb should output 2
ff45_enable_weirdpoint_ds_2.gb should output 0
ff45_enable_weirdpoint_ds_3.gb should output 0
ff45_enable_weirdpoint_ds_4.gb should output 2