Skip to navigation

Screen buffer: bufferRowAddrHi

Name: bufferRowAddrHi [Show more] Type: Variable Category: Screen buffer Summary: Address lookup table for character rows in the screen buffer (high byte)
Context: See this variable in context in the source code References: This variable is used as follows: * DrawPolygonLines (Part 2 of 4) uses bufferRowAddrHi

This table contains addresses for each of the 24 character rows in the screen buffer for the player's scrolling landscape view. There is an additional address for a 25th character row, but this clashes with the object data and is unused.
.bufferRowAddrHi EQUB HI(screenBufferRow0) EQUB HI(screenBufferRow1) EQUB HI(screenBufferRow2) EQUB HI(screenBufferRow3) EQUB HI(screenBufferRow4) EQUB HI(screenBufferRow5) EQUB HI(screenBufferRow6) EQUB HI(screenBufferRow7) EQUB HI(screenBufferRow8) EQUB HI(screenBufferRow9) EQUB HI(screenBufferRow10) EQUB HI(screenBufferRow11) EQUB HI(screenBufferRow12) EQUB HI(screenBufferRow13) EQUB HI(screenBufferRow14) EQUB HI(screenBufferRow15) EQUB HI(screenBufferRow16) EQUB HI(screenBufferRow17) EQUB HI(screenBufferRow18) EQUB HI(screenBufferRow19) EQUB HI(screenBufferRow20) EQUB HI(screenBufferRow21) EQUB HI(screenBufferRow22) EQUB HI(screenBufferRow23) EQUB HI(screenBufferRow23 + 320) \ This part of the screen buffer is unused