![]() |
Startup routines |
Prev: | Up: Map |
Used by the routine at 33224. Copies 256 bytes of data from a row of the screen to its destination, in eight 32-byte blocks.
|
||||||||||||
32972 | PUSH HL | |||||||||||
32973 | LD BC,32 | There are 32 bytes per block (row of pixels) | ||||||||||
32976 | LDIR | Copy 32 bytes to the destination | ||||||||||
32978 | POP HL | |||||||||||
32979 | INC H | Point HL at the next block of 32 bytes to copy | ||||||||||
32980 | BIT 3,H | Have we copied 8 blocks yet? | ||||||||||
32982 | JR Z,32972 | Jump back if not | ||||||||||
32984 | RET |
Prev: | Up: Map |