Routines |
Prev: 47574 | Up: Map | Next: 47653 |
Copy the shadow screen buffer to the playarea (beginning at memory location 18432).
|
||||
ShadowBufferToScreen | 47611 | LD HL,27392 | HL=ShadowBuffer. | |
47614 | LD IX,33400 | IX=33400. | ||
47618 | LD BC,4096 | BC=4096 (bytes of data). | ||
Fetch the screen buffer from the look up table held by IX.
|
||||
ShadowBufferToScreen_Loop | 47621 | LD E,(IX+0) | E=*IX+0. | |
47624 | LD D,(IX+1) | D=*IX+1. | ||
47627 | INC IX | Increment IX by two. | ||
47629 | INC IX | |||
47631 | CALL CopyRoutine | Call CopyRoutine. | ||
47634 | JP PE,ShadowBufferToScreen_Loop | Jump to ShadowBufferToScreen_Loop until BC is zero. | ||
Copy the shadow attribute buffer to the attribute buffer.
|
||||
47637 | LD BC,512 | BC=512 (bytes of data). | ||
47640 | LD HL,64512 | HL=ShadowBuffer_Attribute. | ||
47643 | LD DE,22784 | DE=22784. | ||
ShadowBufferToScreen_Attributes_Loop | 47646 | CALL CopyRoutine | Call CopyRoutine. | |
47649 | JP PE,ShadowBufferToScreen_Attributes_Loop | Jump to ShadowBufferToScreen_Attributes_Loop until BC is zero. | ||
47652 | RET | Return. |
Prev: 47574 | Up: Map | Next: 47653 |