lsnes/testrunner/hwtests/ly0/lycint152_lyc0flag.txt
2013-08-09 13:56:04 +03:00

23 lines
545 B
Text
Executable file

waits for ly 150
enables lyc
sets lyc to 152
interrupt enable
on int
jumps to 0x1000
sets lyc to 0
does a bunch of nops
reads STAT
outputs value of STAT in hex
DMG-08 / CGB:
lycint152_lyc0flag_1.gb should output C1
lycint152_lyc0flag_2.gb should output C5
lycint152_lyc0flag_3.gb should output C4
lycint152_lyc0flag_4.gb should output C0
CGB:
lycint152_lyc0flag_ds_1.gb should output C1
lycint152_lyc0flag_ds_2.gb should output C5
lycint152_lyc0flag_ds_3.gb should output C4
lycint152_lyc0flag_ds_4.gb should output C2