Prev: 52415 Up: Map Next: 52488
52469: Advance Screen Address
Used by the routine at SetUpPiece.
Moves the screen address of the segment that is being drawn along by the column step of its type, and then clears the column step and the horizontal step ready for the next segment.
AdvanceScreenAddress 52469 LD A,(52809) The segment screen address.
52472 LD B,A B=A.
52473 LD A,(52790) The column step.
52476 ADD A,B A gains B.
52477 LD (52809),A Update the segment screen address.
52480 XOR A Clear A.
52481 LD (52790),A Update the column step.
52484 LD (52789),A Update the horizontal step.
52487 RET Return.
Prev: 52415 Up: Map Next: 52488