| Routines

27406: Print the bottom three lines of the screen

Used by the routine at 26880. Sets the attribute bytes for the bottom three lines of the screen, and then prints the Skool Daze logo and the score box.
27406 | LD HL,23200 | Set HL and DE to the attribute file address for the leftmost character square of the third line from the the bottom of the screen
27409 | LD D,H
27410 | LD E,L
27411 | LD (HL),18 | INK 2: PAPER 2 for the bottom three lines of the screen
27413 | INC L
27414 | JR NZ,27411
27416 | LD H,239 | HL=61184: Skool Daze logo
27418 | CALL 29977 | Print the logo at the bottom left of the screen
27421 | LD DE,23224 | This is the attribute file address for the top-left corner of the score box
27424 | LD HL,60928 | 60928: Score/Lines/Hi-Score box graphic
27427 | CALL 29977 | Print the Score/Lines/Hi-Score box
27430 | LD HL,(32706) | HL=high score
27433 | LD A,H | Is the high score zero?
27434 | OR L
27435 | RET Z | Return if so
27436 | LD DE,20988 | DE=display file address for the high score
27439 | JP 30408 | Print the high score