Skip to navigation

Screen buffer: bufferRowAddrLo

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

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.
.bufferRowAddrLo EQUB LO(screenBufferRow0) EQUB LO(screenBufferRow1) EQUB LO(screenBufferRow2) EQUB LO(screenBufferRow3) EQUB LO(screenBufferRow4) EQUB LO(screenBufferRow5) EQUB LO(screenBufferRow6) EQUB LO(screenBufferRow7) EQUB LO(screenBufferRow8) EQUB LO(screenBufferRow9) EQUB LO(screenBufferRow10) EQUB LO(screenBufferRow11) EQUB LO(screenBufferRow12) EQUB LO(screenBufferRow13) EQUB LO(screenBufferRow14) EQUB LO(screenBufferRow15) EQUB LO(screenBufferRow16) EQUB LO(screenBufferRow17) EQUB LO(screenBufferRow18) EQUB LO(screenBufferRow19) EQUB LO(screenBufferRow20) EQUB LO(screenBufferRow21) EQUB LO(screenBufferRow22) EQUB LO(screenBufferRow23) EQUB LO(screenBufferRow23 + 320) \ This part of the screen buffer is unused