.screenRowAddrHi FOR I%, 0, 24 EQUB HI(&60C0 + (I% * &140)) NEXTName: screenRowAddrHi [Show more] Type: Variable Category: Graphics Summary: Address lookup table for character rows in screen memory (high byte)Context: See this variable in context in the source code References: This variable is used as follows: * DrawPolygonLines (Part 1 of 4) uses screenRowAddrHi * FillScreen uses screenRowAddrHi
This table contains addresses for each of the 24 character rows in the player's scrolling landscape view in screen memory. In its default, unscrolled state, screen memory starts at &7F80, so the address of the first row in the player's scrolling landscape view (i.e. the second row on-screen below the energy icon and scanner row) is &7F80 + 320, or &60C0 (as screen memory wraps around from &8000 back to &6000). See the ResetScreenAddress routine for more details.