![]() |
Routines |
| Prev: CCBF | Up: Map | Next: CD08 |
|
Used by the routines at set_right_clip_columns, use_mirrored_right_clip and slope_step_at_left_edge.
Used by the clipping code at use_mirrored_right_clip and slope_step_at_left_edge: the current column's screen address (its low byte, column_address) takes the piece's column step at once, and the piece's x and column steps (piece_dx, piece_dcolumn) become zero.
|
||||
| fold_column_step | CCF5 | LD A,(column_address) | Add the step; clear both steps. | |
| CCF8 | LD B,A | |||
| CCF9 | LD A,(piece_dcolumn) | |||
| CCFC | ADD A,B | |||
| CCFD | LD (column_address),A | |||
| CD00 | XOR A | |||
| CD01 | LD (piece_dcolumn),A | |||
| CD04 | LD (piece_dx),A | |||
| CD07 | RET | |||
| Prev: CCBF | Up: Map | Next: CD08 |