Routines |
Prev: 36703 | Up: Map | Next: 36725 |
36709 | LD HL,(36488) | Load HL with display file address for drawing character | ||
36712 | LD A,H | Load H into A... | ||
36713 | 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) | ||
36715 | RRCA | Divide by eight to get character row within the third... | ||
36716 | RRCA | ... | ||
36717 | RRCA | ... | ||
36718 | ADD A,88 | Add 22,528 to HL to move into attribute file | ||
36720 | LD H,A | L still contains offset of x characters, so points to start of attributes for area where room name was just printed | ||
36721 | LD (23487),HL | Store memory location for later use | ||
36724 | RET | Return |
Prev: 36703 | Up: Map | Next: 36725 |