![]() |
Routines |
| Prev: F8C9 | Up: Map | Next: F8E2 |
|
Used by the routine at shift_slope_piece.
Reloads the row counts from their spares (row_count_spare to row_count when entered here, ground_cell to scratch_count from its third instruction) and moves D on to the next pair of shift tables, two pages up. Returns with zero set when D has gone past $FF, that is, after the copy shifted by 6.
|
||||
| next_shift | F8D0 | LD A,(row_count_spare) | The rows in each variant | |
| F8D3 | LD (row_count),A | |||
|
This entry point is used by the routine at bit_reverse_table.
|
||||
| next_shift_0 | F8D6 | LD A,(ground_cell) | The pairs of rows | |
| F8D9 | LD (scratch_count),A | |||
| F8DC | LD A,D | The next shift; zero after the last | ||
| F8DD | ADD A,$02 | |||
| F8DF | LD D,A | |||
| F8E0 | AND A | |||
| F8E1 | RET | |||
| Prev: F8C9 | Up: Map | Next: F8E2 |