Prev: AB60 Up: Map Next: AB9E
AB7B: Scroll a string of text on screen
Used by the routines at A410, A4C8, A59D and A9CE.
Input
HL Screen address to scroll
AB7B PUSH DE
AB7C PUSH BC
AB7D PUSH AF
AB7E LD D,$08
AB80 PUSH HL
AB81 POP BC
AB82 INC BC
AB83 LD E,$1E
AB85 SLA (HL)
AB87 LD A,(BC)
AB88 BIT 7,A
AB8A JR Z,$AB8E
AB8C SET 0,(HL)
AB8E INC HL
AB8F INC BC
AB90 DEC E
AB91 JR NZ,$AB85
AB93 LD BC,$00E2
AB96 ADD HL,BC
AB97 DEC D
AB98 JR NZ,$AB80
AB9A POP AF
AB9B POP BC
AB9C POP DE
AB9D RET
Prev: AB60 Up: Map Next: AB9E