Prev: 40402 Up: Map Next: 40443
40407: Game Entry Point
Used by the routines at 40396 and GameOver.
GameEntryPoint 40407 LD HL,23658 Set CAPS LOCK on, using bit 3 of *FLAGS2.
40410 SET 3,(HL)
40412 LD HL,23611 Set keyboard mode "L", using bit 3 of *FLAGS.
40415 SET 3,(HL)
40417 XOR A Write 0 to *MODE.
40418 LD (23617),A
40421 LD A,2 Set current output channel to normal screen output using CHAN_OPEN with stream 2.
40423 CALL 5633
40426 LD HL,23612 Reset printing to the lower screen, using bit 0 of *TV_FLAG.
40429 RES 0,(HL)
40431 XOR A Write 0 to *DF_SZ.
40432 LD (23659),A
40435 LD A,255 Write 255 to *SCR_CT.
40437 LD (23692),A
40440 JP GameStart Jump to GameStart.
View the equivalent code in;
Prev: 40402 Up: Map Next: 40443