83CD: Bootstrap / Uber main loop
bootstrap |
83CD |
LD HL,$EF00 |
flip_table_loop |
83D0 |
LD B,$08 |
|
83D2 |
LD A,L |
flip_byte_loop |
83D3 |
RLCA |
|
83D4 |
RR C |
|
83D6 |
DJNZ flip_byte_loop |
|
83D8 |
LD (HL),C |
|
83D9 |
INC L |
|
83DA |
JR NZ,flip_table_loop |
|
83DC |
CALL attract_mode_hook |
|
83DF |
XOR A |
|
83E0 |
LD ($A13C),A |
|
83E3 |
LD HL,$8002 |
|
83E6 |
LD B,$05 |
bootstrap_0 |
83E8 |
LD (HL),A |
|
83E9 |
INC HL |
|
83EA |
DJNZ bootstrap_0 |
|
83EC |
INC A |
|
83ED |
LD (HL),A |
|
83EE |
INC A |
|
83EF |
LD ($A13D),A |
|
83F2 |
CALL main_loop |
|
83F5 |
LD A,($A139) |
|
83F8 |
AND A |
|
83F9 |
LD HL,$C003 |
|
83FC |
CALL NZ,$81AA |
|
83FF |
JR bootstrap |