Prev: 49942 Up: Map Next: 50056
50045: Advance Screen Position
Used by the routine at UpdateScreenDisplay.
Input
HL Screen position
Output
HL Updated screen position
AdvanceScreenPosition 50045 EX DE,HL Exchange the DE and HL registers.
50046 LD A,L
50047 ADD A,32
50049 LD L,A
50050 RET NC
50051 LD A,H
50052 ADD A,8
50054 LD H,A
50055 RET
Prev: 49942 Up: Map Next: 50056