Prev: 53581 Up: Map Next: 53667
53649: Fill top 22 rows of attribute file with attribute value in A
Used by the routines at 46830 and 53723.
Input
A Attribute
53649 LD HL,22528 Point HL at start of attribute file
53652 LD E,L Point DE one byte after this...
53653 LD D,H ...
53654 INC DE ...
53655 LD BC,703 Set counter to 703, as we are filling 704 characters (32 × 22)
53658 LD (HL),A Set first byte to A...
53659 LDIR ...and repeat for remaining 703 bytes
53661 LD B,3 Pause for a period of 30 × 256...
53663 CALL 34675 ...
53666 RET Return
Prev: 53581 Up: Map Next: 53667