Skip to navigation


Drawing pixels: celllookl

[Commodore 64 version]

Name: celllookl [Show more] Type: Variable Category: Drawing pixels Summary: Lookup table for converting a text y-coordinate to the low byte of the address of the start of the character row
Context: See this variable in context in the source code References: This variable is used as follows: * CHPR uses celllookl

In the text view, screen RAM is used to determine the colour of each on-screen character, so this table is used to look up the address of the colour information for the start of a specific text row.
.celllookl FOR I%, 0, 24 EQUB LO(SCBASE + $2003 + (40 * I%)) NEXT