Routines |
Prev: 81D4 | Up: Map | Next: 81F8 |
Used by the routine at F047.
|
||||||||||
The buffer at 7B00 has lookup entries that allow fast reversal of graphic data without having to recalculate it by hand.
|
||||||||||
81E3 | LD A,(DE) | Get the first byte. | ||||||||
81E4 | EX AF,AF' | Swap A for the shadow copy. | ||||||||
81E5 | INC DE | Put the second byte in A. | ||||||||
81E6 | LD A,(DE) | |||||||||
81E7 | DEC DE | |||||||||
81E8 | LD L,A | Set the index to copy from the buffer. | ||||||||
81E9 | LD H,$7B | |||||||||
81EB | LDI | Do the copy. | ||||||||
81ED | EX AF,AF' | Swap A for the other instance. | ||||||||
81EE | LD H,$7B | Set the index to copy from the buffer. | ||||||||
81F0 | LD L,A | |||||||||
81F1 | LDI | Do the copy. | ||||||||
81F3 | JP PE,$81E3 | Loop while there is more to do. | ||||||||
81F6 | EXX | Swap all main registers and return. | ||||||||
81F7 | RET |
Prev: 81D4 | Up: Map | Next: 81F8 |