Posted By
Gaia on 2003-03-28
| Cursor
The cursor registers ($FF0C-D) are compared against the character position reload registers ($FF1A-B). If they're equal the cursor is displayed in the actual character position. Actually the latter register increases by 40 every new character line and the comparison within the row takes place internally.
I haven't looked at your code, but I assume you display all possible 1024 positions of the video matrix because of the border effects, so you have to take extra care of the cursor, which is normally set to the position $03FF by the ROM. Just make sure you never hold the same values in two registers.
|