Prev: C419 Up: Map Next: C440
C432: Copy a 16 by 8 pixel patch from the buffer to the screen
Used by the routines at upd_103 and inc_days.
Converts the pixel position into a screen address (calc_vram_addr) and an address in the buffer (calc_vidbuf_addr), then copies 8 rows of 2 bytes. Used for the day count and the lives count, which change without the whole screen being redrawn.
Input
B the pixel row, counted from the bottom of the screen
C the pixel column
blit_2x8 C432 CALL calc_vram_addr
C435 CALL calc_vidbuf_addr
C438 LD L,C
C439 LD H,B
C43A LD BC,$0802 8 rows of 2 bytes
C43D JP blit_to_screen
Prev: C419 Up: Map Next: C440