![]() |
Routines |
| Prev: 44748 | Up: Map | Next: 44860 |
|
Used by the routines at Update_Berk_State, Update_Timed_Events, Handle_Berk_Action and Initialise_New_Game.
Print the score and a short attr-file label stream via Print_Menu_Strings, then the held-countdown stream.
|
||||
| Initialise_Room_Display | 44801 | LD HL,(29405) | Load HL with the score (Score). | |
| 44804 | LD IX,44823 | Point IX at room-display data (44823). | ||
| 44808 | CALL Print_ScoreDigits | Call Print_ScoreDigits to print Score Digits. | ||
| 44811 | LD HL,15360 | Point HL at CHARSET-256. | ||
| 44814 | LD (29433),HL | Write the pointer in HL to the temporary screen pointer (Pointer_CurrentCharacterSet). | ||
| 44817 | CALL Print_Menu_Strings | Call Print_Menu_Strings to print Menu Strings. | ||
| 44820 | EXX | Swap the main register pairs with their alternates. | ||
| 44821 | LD E,D | Copy D into E (build a pointer/offset). | ||
| 44822 | LD B,A | Keep A in B for later. | ||
| 44823 | JR NZ,44857 | If the result was non-zero, jump to 44857. | ||
| 44825 | JR NZ,Initialise_New_Game_SetTickCounter | If the result was non-zero, jump to Initialise_New_Game_SetTickCounter. | ||
| 44827 | JR NC,44877 | If no borrow/miss was signaled, jump to 44877. | ||
| 44829 | LD E,L | Copy L into E (build a pointer/offset). | ||
|
This entry point is used by the routine at Update_Berk_State.
Print the held-entity countdown digits and its trailing menu-string stream.
|
||||
| Initialise_Room_Display_HeldEntity | 44830 | LD HL,(29403) | Load HL with the pointer to the entity Berk is holding (Pointer_BerkHeldEntity). | |
| 44833 | LD IX,44852 | Point IX at room-display data (44852). | ||
| 44837 | CALL Print_ScoreDigits | Call Print_ScoreDigits to print Score Digits. | ||
| 44840 | LD HL,15360 | Point HL at CHARSET-256. | ||
| 44843 | LD (29433),HL | Write the pointer in HL to the temporary screen pointer (Pointer_CurrentCharacterSet). | ||
| 44846 | CALL Print_Menu_Strings | Call Print_Menu_Strings to print Menu Strings. | ||
| 44849 | CP C | Compare A with C (menu-string scan marker). | ||
| 44850 | LD E,D | Copy D into E (build a pointer/offset). | ||
| 44851 | LD B,(HL) | Load B from the byte at HL. | ||
| 44852 | JR NZ,Initialise_New_Game_SetGlyphPointer | If the result was non-zero, jump to Initialise_New_Game_SetGlyphPointer. | ||
| 44854 | JR NZ,Initialise_New_Game_SuperBerkRoomByte | If the result was non-zero, jump to Initialise_New_Game_SuperBerkRoomByte. | ||
| 44856 | JR NC,Initialise_New_Game_Branch | If no borrow/miss was signaled, jump to Initialise_New_Game_Branch. | ||
| 44858 | LD E,L | Copy L into E (build a pointer/offset). | ||
| 44859 | RET | Return. | ||
| Prev: 44748 | Up: Map | Next: 44860 |