![]() |
Routines |
Prev: 26747 | Up: Map | Next: 26880 |
|
||||
CreateWindow | 26784 | LD HL,24168 | Write 0 to 12 bytes starting from 24168. | |
26787 | LD BC,3072 | |||
CreateWindow_0 | 26790 | LD (HL),C | ||
26791 | INC HL | |||
26792 | DJNZ CreateWindow_0 | |||
26794 | LD HL,65535 | Write 65535 to PlayerWorldPosition. | ||
26797 | LD (24116),HL | |||
26800 | LD HL,26109 | HL=TerrainDots. | ||
26803 | LD B,16 | B=16. | ||
CreateWindow_Terrain | 26805 | RES 0,(HL) | Reset bit 0 of the byte HL is pointing to. | |
26807 | INC HL | Increment HL by two. | ||
26808 | INC HL | |||
26809 | DJNZ CreateWindow_Terrain | Decrease counter by one and loop back to CreateWindow_Terrain until counter is zero. | ||
26811 | CALL ResetAttributes | Call ResetAttributes. | ||
26814 | CALL DrawPlayArea | Call DrawPlayArea. | ||
26817 | CALL PlotMapPoints | Call PlotMapPoints. | ||
26820 | CALL DisplayCupsCollected | Call DisplayCupsCollected. | ||
26823 | CALL DisplayPlayerLives | Call DisplayPlayerLives. | ||
26826 | CALL DisplayMiles | Call DisplayMiles. | ||
26829 | LD HL,22536 | HL=22536 (attribute buffer). | ||
26832 | LD BC,6145 | BC=6145. | ||
26835 | PUSH BC | Stash BC on the stack. | ||
26836 | CALL AttributesPlayArea | Call AttributesPlayArea. | ||
26839 | LD HL,23272 | HL=23272 (attribute buffer). | ||
26842 | POP BC | Restore BC from the stack. | ||
26843 | CALL AttributesPlayArea | Call AttributesPlayArea. | ||
26846 | LD HL,22568 | HL=22568 (attribute buffer). | ||
26849 | LD BC,278 | BC=0278. | ||
26852 | PUSH BC | Stash BC on the stack. | ||
26853 | CALL AttributesPlayArea | Call AttributesPlayArea. | ||
26856 | POP BC | Restore BC from the stack. | ||
26857 | LD HL,22591 | HL=22591 (attribute buffer). | ||
26860 | CALL AttributesPlayArea | Call AttributesPlayArea. | ||
26863 | LD HL,80 | HL=0080. | ||
26866 | LD DE,24625 | DE=Text_ScoreHi. | ||
26869 | CALL PrintStringColour | Call PrintStringColour. | ||
26872 | CALL Score_Player | Call Score_Player. | ||
26875 | CALL Score_HI | Call Score_HI. | ||
26878 | JR DisplayNightDriver | Jump to DisplayNightDriver. |
Prev: 26747 | Up: Map | Next: 26880 |