Prev: 9DD2 Up: Map Next: 9DFB
9DD7: Game Entry Point
Used by the routines at 9DCC and GameOver.
GameEntryPoint 9DD7 LD HL,$5C6A Set CAPS LOCK on, using bit 3 of *FLAGS2.
9DDA SET 3,(HL)
9DDC LD HL,$5C3B Set keyboard mode "L", using bit 3 of *FLAGS.
9DDF SET 3,(HL)
9DE1 XOR A Write 00 to *MODE.
9DE2 LD ($5C41),A
9DE5 LD A,$02 Set current output channel to normal screen output using CHAN_OPEN with stream 02.
9DE7 CALL $1601
9DEA LD HL,$5C3C Reset printing to the lower screen, using bit 0 of *TV_FLAG.
9DED RES 0,(HL)
9DEF XOR A Write 00 to *DF_SZ.
9DF0 LD ($5C6B),A
9DF3 LD A,$FF Write FF to *SCR_CT.
9DF5 LD ($5C8C),A
9DF8 JP GameStart Jump to GameStart.
View the equivalent code in;
Prev: 9DD2 Up: Map Next: 9DFB