![]() |
Routines |
| Prev: 55607 | Up: Map | Next: 55696 |
|
Used by the routine at CountVerticalContact.
Stores the pixel position of the start of the segment, with the offsets of the view added, in StartColumn and StartRow.
|
||||
| NoteSegmentStart | 55673 | LD A,(52803) | The segment column. | |
| 55676 | LD B,A | B=A. | ||
| 55677 | LD A,(52801) | The horizontal offset. | ||
| 55680 | ADD A,B | A gains B. | ||
| 55681 | LD (52821),A | Update the start column. | ||
| 55684 | LD A,(52804) | The segment row. | ||
| 55687 | LD B,A | B=A. | ||
| 55688 | LD A,(52802) | The vertical offset. | ||
| 55691 | ADD A,B | A gains B. | ||
| 55692 | LD (52822),A | Update the start row. | ||
| 55695 | RET | Return. | ||
| Prev: 55607 | Up: Map | Next: 55696 |