Prev: F100 Up: Map
F200: Shifted Byte Tables
The tables of shifted bytes that are built by BuildLookupTables and used to draw a sprite that does not start on a byte boundary. There are two pages for each shift of one to seven bits to the right, with the first page of the pair at F0 plus twice the shift, so the table for a shift of one bit starts at ShiftedByteTables and the table for a shift of seven bits starts at FE00. The first page of a pair has the inverse of the byte after it has been shifted to the right, and the second has the inverse of the bits that were pushed out of the byte, which go into the next byte of the line.
ShiftedByteTables F200 DEFS $0200 Two pages for each of the seven shifts, from one bit to seven.
F400 DEFS $0200
F600 DEFS $0200
F800 DEFS $0200
FA00 DEFS $0200
FC00 DEFS $0200
FE00 DEFS $0200
Prev: F100 Up: Map