![]() |
Routines |
| Prev: 29163 | Up: Map | Next: 29203 |
|
Used by the routines at PictureAddress and PaintShape.
Copies a length-prefixed parameter block from the shape stream to Parameter_Count and terminates it with 251.
|
||||
| CopyParameterBlock | 29183 | INC HL | Step to the length. | |
| 29184 | LD C,(HL) | Fetch it into BC. | ||
| 29185 | LD B,0 | |||
| 29187 | LD DE,23454 | Point DE at Parameter_Count. | ||
| 29190 | INC HL | Step past the length. | ||
| 29191 | LDIR | Copy those bytes. | ||
| 29193 | LD (23500),HL | Store HL in Saved_Shape_Pointer. | ||
| 29196 | LD HL,23455 | Point HL at Parameter_Byte. | ||
| 29199 | LD A,251 | Terminate that copy with 251. | ||
| 29201 | LD (DE),A | |||
| 29202 | RET | Return. | ||
| Prev: 29163 | Up: Map | Next: 29203 |