Prev: 39981 Up: Map Next: 40019
39982: Game Entry Point
Used by the routine at 34816.
Game_Start 39982 DI Disable interrupts.
39983 LD A,5 Set border colour to cyan.
Value Ink Paper Bright
5 5 0 0
39985 OUT (254),A
39987 LD HL,23551 Set the stack pointer to 23551.
39990 LD SP,HL
39991 CALL Game_Init Call Game_Init.
39994 LD DE,24320 Copies a large chunk of code from 24576 to 24320. See the .t2s file.
39997 LD HL,24576
40000 LD BC,8448
40003 LDIR
40005 LD A,0 Write 0000 to;
40007 LD L,A
40008 LD H,0
40010 LD (50211),HL
40013 LD (50213),HL
40016 JP Main_Game Jump to Main_Game.
Prev: 39981 Up: Map Next: 40019