![]() |
Routines |
| Prev: D88C | Up: Map | Next: D8A2 |
|
|
||||
| vflip_sprite_line_pair | D88D | LD A,(DE) | swap a byte of each row | |
| D88E | LD C,(HL) | |||
| D88F | LD (HL),A | |||
| D890 | LD A,C | |||
| D891 | LD (DE),A | |||
| D892 | DEC HL | |||
| D893 | DEC DE | |||
| D894 | DJNZ vflip_sprite_line_pair | |||
| D896 | POP BC | HL on to the end of the next row down; DE is already at the end of the row before its last | ||
| D897 | LD A,B | |||
| D898 | CALL add_HL_A | |||
| D89B | LD A,B | |||
| D89C | CALL add_HL_A | |||
| D89F | DEC C | the next pair | ||
| D8A0 | JR NZ,vflip_row_pair | |||
| Prev: D88C | Up: Map | Next: D8A2 |