Routines |
Prev: 47318 | Up: Map | Next: 47376 |
Used by the routine at Animation_BarMaid.
|
||||
Print_BarMaid_Frame | 47349 | HALT | Halt operation (suspend CPU until the next interrupt) four times. | |
47350 | HALT | |||
47351 | HALT | |||
47352 | HALT | |||
47353 | LD B,32 | Set a counter in B of 32 for the height of the graphic. | ||
47355 | LD HL,16558 | Set the target screen buffer location in HL. | ||
Print_BarMaid_Frame_Loop | 47358 | PUSH BC | Stash the height counter and screen buffer location on the stack. | |
47359 | PUSH HL | |||
47360 | EX DE,HL | Exchange the DE and HL registers. | ||
47361 | LDI | Copy 3 bytes of data from the graphic to the screen buffer. | ||
47363 | LDI | |||
47365 | LDI | |||
47367 | EX DE,HL | Exchange the DE and HL registers. | ||
47368 | POP HL | Restore the screen buffer location from the stack. | ||
47369 | CALL NextScreenBufferLine | Call NextScreenBufferLine. | ||
47372 | POP BC | Restore the height counter from the stack. | ||
47373 | DJNZ Print_BarMaid_Frame_Loop | Decrease the height counter by one and loop back to Print_BarMaid_Frame_Loop until the frame has been displayed in full. | ||
47375 | RET | Return. |
Prev: 47318 | Up: Map | Next: 47376 |