Prev: 63263 Up: Map Next: 63302
63286: Update attribute virtual text cursor based upon current bitmap virtual text cursor
Used by the routines at 46902, 48389, 48518 and 63005.
63286 LD HL,(63018) Load HL with address of bitmap virtual text cursor
63289 LD A,H Load H into A...
63290 AND 31 ...and cap at 31, to give screen third of interest (H=0-7, top third; H=8-15, middle third; H=16-23, bottom third)
63292 RRCA Divide by eight to get character row within the third...
63293 RRCA ...
63294 RRCA ...
63295 ADD A,88 Add 22,528 to HL to move into attribute section of video memory
63297 LD H,A L still contains offset of x characters, so points to start of attributes for area where room name was just printed
63298 LD (23707),HL Store memory location for later use
63301 RET Return
Prev: 63263 Up: Map Next: 63302