Prev: 48864 Up: Map Next: 48957
48943: 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 48943 CALL CalculateScreenAddress Call CalculateScreenAddress.
48946 CALL CalculateBufferAddress Call CalculateBufferAddress.
48949 LD L,C Copy it to HL.
48950 LD H,B
48951 LD BC,2050 Jump to CopyBlockToScreen with 8 lines of 2 bytes.
48954 JP CopyBlockToScreen
View the equivalent code in;
Prev: 48864 Up: Map Next: 48957