Prev: 26639 Up: Map Next: 26734
26650: Display Status
Used by the routine at Initialise_Game.
Draws the status panel and waits for ENTER, or a key from Scan_Abort.
Display_Status 26650 CALL Clear_Work_Buffers Call Clear_Work_Buffers.
26653 LD HL,22664 Point HL at 22664 (attribute buffer).
26656 CALL Fill_Menu_Highlight Call Fill_Menu_Highlight.
26659 LD HL,22792 Point HL at 22792 (attribute buffer).
26662 CALL Fill_Menu_Attributes Call Fill_Menu_Attributes.
26665 LD HL,22856 Point HL at 22856 (attribute buffer).
26668 CALL Fill_Menu_Attributes Call Fill_Menu_Attributes.
Print the game-over messages.
26671 LD DE,16523 Set the screen address to 16523 (screen buffer) in DE.
26674 LD HL,27208 Point HL at Messaging_Game_Over.
26677 LD C,10 Set the character counter to 10 in C.
26679 CALL Print_Double_Height Call Print_Double_Height.
26682 LD HL,27218 Point HL at Messaging_Play_Fire.
26685 LD DE,18440 Set the screen address to 18440 (screen buffer) in DE.
26688 LD C,16 Set the character counter to 16 in C.
26690 CALL Print_Double_Height Call Print_Double_Height.
26693 LD HL,27234 Point HL at Messaging_Options_Enter.
26696 LD DE,18504 Set the screen address to 18504 (screen buffer) in DE.
26699 LD C,16 Set the character counter to 16 in C.
26701 CALL Print_Double_Height Call Print_Double_Height.
Wait 100 frames.
26704 LD B,100 Set the frame counter to 100 in B.
Display_Status_Wait 26706 HALT Halt, and loop back to Display_Status_Wait until the frame counter is zero.
26707 DJNZ Display_Status_Wait
26709 LD A,(57838) Copy *Control_Choice to *Menu_Choice.
26712 LD (61321),A
Wait for ENTER, or a key from Scan_Abort.
Display_Status_Input 26715 HALT Halt.
26716 PUSH BC Stash the frame counter on the stack.
26717 CALL Scan_Abort Call Scan_Abort.
26720 POP BC Restore the frame counter from the stack.
26721 RET C Return if an abort key is pressed.
26722 PUSH BC Stash the frame counter on the stack.
26723 LD BC,49150 Read from the keyboard;
Port Number Bit
0 1 2 3 4
191 ENTER L K J H
26726 IN A,(C)
26728 POP BC Restore the frame counter from the stack.
26729 RRA Jump to Handle_Menu if ENTER is pressed.
26730 JR NC,Handle_Menu
26732 DJNZ Display_Status_Input Decrease the frame counter by one and loop back to Display_Status_Input until it is zero.
Continue on to Handle_Menu.
Prev: 26639 Up: Map Next: 26734