Prev: 5CE3 Up: Map Next: 5FC4
5EF3: Loader entry point
Clear the screen
5EF3 LD A,$07
5EF5 LD ($5C48),A
5EF8 LD HL,$5AFF
5EFB LD BC,$1B00
5EFE LD (HL),$00
5F00 DEC HL
5F01 DEC BC
5F02 LD A,B
5F03 OR C
5F04 JR NZ,$5EFE
5F06 XOR A
5F07 OUT ($FE),A
Print the loading screen text
5F09 LD H,$17
5F0B LD C,$18
5F0D LD DE,$601C
5F10 LD B,$20
5F12 LD L,$00
5F14 LD A,(DE)
5F15 INC DE
5F16 CALL $5FC9
5F19 INC L
5F1A DJNZ $5F14
5F1C DEC H
5F1D DEC C
5F1E JR NZ,$5F10
Print the loading screen attributes
5F20 LD HL,$5800
5F23 LD C,$02
5F25 LD A,$07
5F27 LD B,$08
5F29 CALL $5FC4
5F2C LD A,$05
5F2E LD B,$10
5F30 CALL $5FC4
5F33 LD A,$07
5F35 LD B,$08
5F37 CALL $5FC4
5F3A DEC C
5F3B JR NZ,$5F25
5F3D LD A,$06
5F3F LD B,$60
5F41 CALL $5FC4
5F44 LD A,$07
5F46 LD B,$2B
5F48 CALL $5FC4
5F4B LD A,$85
5F4D LD B,$0A
5F4F CALL $5FC4
5F52 LD A,$07
5F54 LD B,$0C
5F56 CALL $5FC4
5F59 LD A,$10
5F5B LD B,$1E
5F5D CALL $5FC4
5F60 INC HL
5F61 LD A,$17
5F63 LD C,$05
5F65 LD B,$1E
5F67 INC HL
5F68 CALL $5FC4
5F6B INC HL
5F6C DEC C
5F6D JR NZ,$5F65
5F6F LD A,$02
5F71 LD B,$1E
5F73 INC HL
5F74 CALL $5FC4
5F77 INC HL
5F78 LD A,$05
5F7A LD B,$A0
5F7C CALL $5FC4
5F7F INC HL
5F80 LD A,$10
5F82 LD B,$1E
5F84 CALL $5FC4
5F87 LD C,$03
5F89 INC HL
5F8A INC HL
5F8B LD A,$17
5F8D LD B,$1E
5F8F CALL $5FC4
5F92 DEC C
5F93 JR NZ,$5F89
5F95 INC HL
5F96 INC HL
5F97 LD A,$02
5F99 LD B,$1E
5F9B CALL $5FC4
Load the error jump routine
5F9E LD IX,$5C3D
5FA2 LD DE,$0002
5FA5 SCF
5FA6 LD A,$FF
5FA8 CALL $0556
Load the game
5FAB LD IX,$8214
5FAF LD DE,$49D4
5FB2 SCF
5FB3 LD A,$FF
5FB5 CALL $0556
5FB8 LD HL,$5DC0
Run the game
5FBB LD ($5C63),HL
5FBE LD ($5C65),HL
5FC1 JP $A410
Prev: 5CE3 Up: Map Next: 5FC4