Skip to content

Commit

Permalink
[PRG] document added charsets (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
mooinglemur authored Aug 12, 2023
1 parent 58dfe42 commit ddefd0a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions X16 Reference - 04 - KERNAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -1317,12 +1317,15 @@ Registers affected: .A, .X, .Y

**Description:** A call to this routine uploads a character set to the video hardware and activates it. The value of .A decides what charset to upload:

| Value | Description |
|-------|----------------------|
| 0 | use pointer in .X/.Y |
| 1 | ISO |
| 2 | PET upper/graph |
| 3 | PET upper/lower |
| Value | Description |
|-------|-----------------------------|
| 0 | use pointer in .X/.Y |
| 1 | ISO |
| 2 | PET upper/graph |
| 3 | PET upper/lower |
| 4 | PET upper/graph (thin) |
| 5 | PET upper/lower (thin) |
| 6 | ISO (thin) |

If .A is zero, .X (lo) and .Y (hi) contain a pointer to a 2 KB RAM area that gets uploaded as the new 8x8 character set. The data has to consist of 256 characters of 8 bytes each, top to bottom, with the MSB on the left and set bits representing the foreground color.

Expand Down

0 comments on commit ddefd0a

Please sign in to comment.