![]() |
Routines |
| Prev: 33057 | Up: Map | Next: 33082 |
|
Used by the routines at DrawingSetup and Drawing_PlotTheSelectedPixel.
Advances the low coordinate. If that sets bit 7, the coordinate is put back and the routine returns zero.
|
||||
| Drawing_AdvanceTheLowCoordinate | 33067 | INC E | Step the low coordinate on and jump to Drawing_AdvanceTheLowCoordinate_StoreTheCoordinate if bit 7 is clear. | |
| 33068 | BIT 7,E | |||
| 33070 | JR Z,Drawing_AdvanceTheLowCoordinate_StoreTheCoordinate | |||
| 33072 | DEC E | Put the low coordinate back. | ||
| 33073 | LD H,A | Keep A in H. | ||
| 33074 | XOR A | Set the zero flag. | ||
| 33075 | LD A,H | Bring A back from H. | ||
| 33076 | RET | Return. | ||
|
This entry point is used by the routine at Drawing_RetreatTheLowCoordinate.
|
||||
| Drawing_AdvanceTheLowCoordinate_StoreTheCoordinate | 33077 | LD H,A | Keep A in H. | |
| 33078 | OR 1 | Clear the zero flag. | ||
| 33080 | LD A,H | Bring A back from H. | ||
| 33081 | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: 33057 | Up: Map | Next: 33082 |