mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
16 lines
263 B
Text
Executable file
16 lines
263 B
Text
Executable file
go doubleSpeed
|
|
wait for mode3
|
|
enable mode0 int
|
|
write 0 to cgbpal1
|
|
wait for int
|
|
|
|
on int:
|
|
jump to 0x1000
|
|
some of nops
|
|
write 1 to cgbpal1
|
|
bunch of nops
|
|
read cgbpal1
|
|
output value of cgbpal1&7
|
|
|
|
cgbpal_m3start_1.gbc should output 1
|
|
cgbpal_m3start_2.gbc should output 0
|