Prev: 39524 Up: Map Next: 39538
39526: Initialise Game
Used by the routine at StartGame.
The game starts here, after StartGame. It sets up the stack, makes the border black, builds the shift tables and then carries on at RunGame.
InitialiseGame 39526 LD SP,23424 Set the stack pointer to 23424.
39529 XOR A Set the border to black.
39530 OUT (254),A
39532 CALL BuildTables Build the shift tables.
39535 JP RunGame Jump to RunGame.
Prev: 39524 Up: Map Next: 39538