![]() |
Routines |
| Prev: 71EB | Up: Map | Next: 7213 |
|
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 FB.
|
||||
| CopyParameterBlock | 71FF | INC HL | Step to the length. | |
| 7200 | LD C,(HL) | Fetch it into BC. | ||
| 7201 | LD B,$00 | |||
| 7203 | LD DE,$5B9E | Point DE at Parameter_Count. | ||
| 7206 | INC HL | Step past the length. | ||
| 7207 | LDIR | Copy those bytes. | ||
| 7209 | LD ($5BCC),HL | Store HL in Saved_Shape_Pointer. | ||
| 720C | LD HL,$5B9F | Point HL at Parameter_Byte. | ||
| 720F | LD A,$FB | Terminate that copy with FB. | ||
| 7211 | LD (DE),A | |||
| 7212 | RET | Return. | ||
| Prev: 71EB | Up: Map | Next: 7213 |