9dc2f7ec48
- 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
14 lines
213 B
Plaintext
14 lines
213 B
Plaintext
waits for ly 141
|
|
enables lyc
|
|
sets lyc to 143
|
|
interrupt enable
|
|
|
|
on int
|
|
jumps to 0x1000
|
|
does a bunch of nops
|
|
reads STAT
|
|
outputs value of STAT&3
|
|
|
|
lycint_m1stat_1.gb should output 0
|
|
lycint_m1stat_2.gb should output 1
|