![]() |
Routines |
| Prev: A247 | Up: Map | Next: A266 |
|
Used by the routine at set_old_sprite.
B becomes $F8 plus x AND 6: $FA, $FC or $FE for an image at 2, 4 or 6 pixels past a byte, the pages of the shift tables shift_tables that build_shift_tables builds (on the first page of each pair a byte shifted right that many bits, on the page after it the bits that fall into the next byte). $F8 for a byte-aligned image is never used as a table. The second instruction is also an entry, used by set_new_sprite: the same for the x in A.
|
||||||||
| shift_page | A25D | LD A,(old_sprite_x) | ||||||
|
This entry point is used by the routine at set_new_sprite.
|
||||||||
| shift_page_0 | A260 | AND $06 | ||||||
| A262 | ADD A,$F8 | |||||||
| A264 | LD B,A | |||||||
| A265 | RET | |||||||
| Prev: A247 | Up: Map | Next: A266 |