Prev: BEE0 Up: Map Next: BF3D
BF2F: Copy Area To Screen
Used by the routines at HandleValve and HandleExtraLife.
Copies an area of the screen buffer, two bytes wide and eight rows high, to the screen at a pixel position.
Input
BC Pixel position
Find both addresses.
CopyAreaToScreen BF2F CALL CalculateScreenAddress Call CalculateScreenAddress.
BF32 CALL CalculateBufferAddress Call CalculateBufferAddress.
BF35 LD L,C Copy it to HL.
BF36 LD H,B
BF37 LD BC,$0802 Jump to CopyBlockToScreen with 08 lines of 02 bytes.
BF3A JP CopyBlockToScreen
View the equivalent code in;
Prev: BEE0 Up: Map Next: BF3D