Prev: 32065 Up: Map Next: 32158
32124: Display acceleration / deceleration effect then scroll viewscreen content up 24 pixel rows (i.e. enter orbit)
Used by the routine at 31688.
32124 CALL 35828 Display acceleration / deceleration effect on USS Pisces viewscreen
32127 LD A,(32035) Load A with selected destination
32130 CALL 32158 Prepare viewscreen for USS Pisces' arrival at destination
32133 LD HL,25463 Point HL at start of temporary storage area
32136 LD B,24 Load B with 24 (number of pixels to scroll viewscreen content up)
32138 PUSH BC Store BC (B = remaining number of pixels to scroll viewscreen content up)
32139 HALT Wait for two interrupts...
32140 HALT ...
32141 LD DE,22055 Point DE at 7th pixel row of character block at 7, 17 (left-most byte of bottom pixel row of viewscreen contents)
32144 LD BC,18 Load B with 18 (as viewscreen contents are 18 characters wide) and C with zero
32147 LDIR Copy bitmap data in temporary storage area to bottom pixel row of viewscreen content
32149 PUSH HL Store HL (current position in temporary storage area)
32150 CALL 55401 Scroll viewscreen contents up a pixel row without wrapping
32153 POP HL Restore HL (current position in temporary storage area)
32154 POP BC Restore BC (B = remaining number of pixels to scroll viewscreen content up)
32155 DJNZ 32138 Decrease B (remaining number of pixels to scroll viewscreen content up) and loop back to 32138 if not zero
32157 RET Return
Prev: 32065 Up: Map Next: 32158