Prev: 5CF0 Up: Map Next: 5D45
5D00: Startup code (Dinamic)
This is the main entry point for the Dinamic release. It is not present on the Gremlin Graphics version.
5D00 LD A,$00 Wait for the user to press any key
5D02 IN A,($FE)
5D04 OR $E0
5D06 INC A
5D07 JR Z,$5D00
5D09 LD A,$02 Select the SCREEN channel by calling CHAN-OPEN.
5D0B CALL $1601
5D0E LD A,$00 Set black border. Call BORDER routine (not from the start).
5D10 CALL $229B
5D13 LD HL,$4000 Blank the screen.
5D16 LD DE,$4001
5D19 LD BC,$1AFF
5D1E LDIR
5D20 LD HL,$0101 Oddly enable both keyboard and kempston joystick input methods at the same time.
5D23 LD ($5CB0),HL
5D26 DEFS $0A No-operation.
5D30 LD HL,$4000 Blank the screen.
5D33 LD DE,$4001
5D36 LD BC,$1AFF
5D39 LD (HL),$00
5D3B LDIR
5D3D CALL New_Game Run the game.
5D40 JR $5D30 Loop round to run another game.
5D42 JP $EA90 Not used.
Prev: 5CF0 Up: Map Next: 5D45