Skip to navigation

Aviator on the BBC Micro

Graphics: yLookupHi

Name: yLookupHi [Show more] Type: Variable Category: Graphics Summary: Lookup table for converting pixel y-coordinate to high byte of screen address Deep dive: Converting pixel coordinates to screen addresses
Context: See this variable in context in the source code References: This variable is used as follows: * DrawCanopyLine (Part 1 of 9) calls yLookupHi * DrawVectorLine (Part 3 of 3) calls yLookupHi
.yLookupHi FOR I%, 19, 0, -1 EQUB HI(&5800 + (I% * &138)) NEXT FOR I%, 31, 20, -1 EQUB HI(&5800 + (I% * &138)) NEXT