![]() |
Routines |
| Prev: 29917 | Up: Map | Next: 29970 |
|
Used by the routine at DrawVertical.
Writes the next picture byte over the vertical-shift immediates and draws both layers.
|
||||
| VerticalRun_Patch | 29929 | LD A,(IX+3) | Self-modify the loop stops at 29881 and 29912. | |
| 29932 | LD (29881),A | |||
| 29935 | LD (29912),A | |||
| 29938 | LD A,(IX+4) | Fetch the shift. | ||
| 29941 | LD B,(IX+1) | Fetch the Y coordinate. | ||
| 29944 | LD C,(IX+2) | Fetch the X coordinate. | ||
|
This entry point is used by the routine at FixedVertical.
Patch the offset immediates and draw both layers.
|
||||
| VerticalRun_Draw | 29947 | LD (29841),A | Self-modify the reverse widths at 29841 and 29891. | |
| 29950 | LD (29891),A | |||
| 29953 | AND A | Halve the shift. | ||
| 29954 | RRA | |||
| 29955 | LD (29852),A | Self-modify the inner counts at 29852 and 29898. | ||
| 29958 | LD (29898),A | |||
|
Reverse the pixels.
|
||||
| 29961 | PUSH BC | Stash the coordinates on the stack. | ||
| 29962 | CALL VerticalRun_Mirror | Call VerticalRun_Mirror. | ||
| 29965 | POP BC | Restore the coordinates from the stack. | ||
|
Reverse the attributes.
|
||||
| 29966 | CALL VerticalRun_Copy | Call VerticalRun_Copy. | ||
| 29969 | RET | Return. | ||
| Prev: 29917 | Up: Map | Next: 29970 |