![]() |
Routines |
| Prev: CA55 | Up: Map | Next: CAE5 |
|
Used by the routines at DISPLAY_MENU and GAME_OVER.
Bright yellow on blue, in the same pieces and layout as the play area's frame (DRAW_PLAY_FRAME), but round the whole screen: corners at rows 0 and 22 and columns 0 and 30, fourteen lengths of edge along the top and the bottom from column 2, ten lengths of side down each side from row 2. Round the menu (DISPLAY_MENU) and the screen after a game (GAME_OVER).
|
||||
| PRINT_BORDER | CA9D | LD A,$4E | bright yellow on blue; the border's pieces; the layout | |
| CA9F | EX AF,AF' | |||
| CAA0 | LD HL,BORDER_CHARS | |||
| CAA3 | LD (FONT_BASE),HL | |||
| CAA6 | LD DE,FRAME_PIECES | |||
| CAA9 | LD HL,$4000 | the four corners | ||
| CAAC | CALL PRINT_BLOCK | |||
| CAAF | LD HL,$401E | |||
| CAB2 | CALL PRINT_BLOCK | |||
| CAB5 | LD HL,$50C0 | |||
| CAB8 | CALL PRINT_BLOCK | |||
| CABB | LD HL,$50DE | |||
| CABE | CALL PRINT_BLOCK | |||
| CAC1 | LD HL,$4002 | the top and the bottom | ||
| CAC4 | LD B,$0E | |||
| CAC6 | CALL PRINT_BLOCK_ROW | |||
| CAC9 | LD HL,$50C2 | |||
| CACC | LD B,$0E | |||
| CACE | CALL PRINT_BLOCK_ROW | |||
| CAD1 | INC DE | past the edges' codes to the sides' | ||
| CAD2 | INC DE | |||
| CAD3 | INC DE | |||
| CAD4 | INC DE | |||
| CAD5 | LD HL,$4040 | the left and the right side | ||
| CAD8 | LD B,$0A | |||
| CADA | CALL PRINT_BLOCK_COLUMN | |||
| CADD | LD HL,$405E | |||
| CAE0 | LD B,$0A | |||
| CAE2 | JP PRINT_BLOCK_COLUMN | |||
| Prev: CA55 | Up: Map | Next: CAE5 |