![]() |
Routines |
| Prev: 29067 | Up: Map | Next: 29183 |
|
Used by the routines at PictureAddress and PaintShape.
Returns the next parameter byte while Parameter_Count is non-zero, otherwise the next shape byte from Saved_Shape_Pointer.
|
||||||||
|
Fetch a byte from the parameter block, or the next shape byte.
|
||||||||
| FetchParameterByte | 29163 | LD A,(23454) | Jump to FetchParameterByte_Stream if Parameter_Count is 0. | |||||
| 29166 | OR A | |||||||
| 29167 | JR Z,FetchParameterByte_Stream | |||||||
| 29169 | DEC A | Count one fewer in Parameter_Count. | ||||||
| 29170 | LD (23454),A | |||||||
| 29173 | LD HL,23455 | Point HL at Parameter_Byte. | ||||||
| 29176 | LD A,(HL) | Fetch that byte. | ||||||
| 29177 | RET | Return. | ||||||
|
Fetch the next shape byte after the parameters.
|
||||||||
| FetchParameterByte_Stream | 29178 | LD HL,(23500) | Fetch Saved_Shape_Pointer. | |||||
| 29181 | LD A,(HL) | Fetch that byte. | ||||||
| 29182 | RET | Return. | ||||||
| Prev: 29067 | Up: Map | Next: 29183 |