Prev: 68A1 Up: Map Next: 68C5
68B7: Scroll screen attributes up by one row
This routine is called every 8 terrain fragments to scroll the screen attributes. It copies attribute data from one row to the next, effectively scrolling the attributes upward. It also handles special bridge attribute rendering.
scroll_attributes 68B7 LD HL,$5A1F Copy 524 attribute bytes backward, scrolling all rows up by one.
68BA LD DE,$5A3F
68BD LD BC,$020C
68C0 LDDR
68C2 LD HL,$5BDF Point HL at the bottom attribute row.
Prev: 68A1 Up: Map Next: 68C5