Jump to content
IGNORED

About DLIs. values


Recommended Posts

Hex. Decimal Instruction

0 0 Leave 1 blank display line

10 16 Leave 2 blank display lines

20 32 Leave 3 blank display lines

30 48 Leave 4 blank display lines

40 64 Leave 5 blank display lines

50 80 Leave 6 blank display lines

60 96 Leave 7 blank display lines

70 112 Leave 8 blank display lines

2 2 Display as GRAPHICS 0 text mode

3 3 Display as special text mode

4 4 Display as 4-color text mode

5 5 Display as large 4-color text mode

6 6 Display as GRAPHICS 1 text mode

7 7 Display as GRAPHICS 2 text mode

8 8 Display as GRAPHICS 3 4-color graphic mode

9 9 Display as GRAPHICS 4 2-color graphic mode

A 10 Display as GRAPHICS 5 4-color graphic mode

B 11 Display as GRAPHICS 6 2-color graphic mode

C 12 Display as special 160x20, 2-color graphic mode

D 13 Display as GRAPHICS 7 4-color graphic mode

E 14 Display as special 160x40, 4-color graphic mode

F 15 Display as GRAPHICS 8, 1 1/2 color graphic mode

1 1 Jump to location specified by next two bytes

41 65 Jump to location specified by next two bytes and

wait for vertical blank

 

 

 

What is that value 3 that says 'SPECIAL TEXT MODE'?

Edited by José Pereira
Link to comment
Share on other sites

Yep, Mode 3 is the descender mode.

 

It is 10 scanlines high, but still uses the 8x8 char matrix. The lower case letters are setup so that the "descender" is actually the top byte of the char.

 

If the lower case "g" is setup as:

..XXXX..
........
........
..XXXXX.
.XX..XX.
.XX..XX.
..XXXXX.
.....XX.

It will actually display in mode 3 as:

........
........
........
..XXXXX.
.XX..XX.
.XX..XX.
..XXXXX.
.....XX.
..XXXX..
........

I'm not 100% sure about this, but I think only the lower case letters are affected in this way, but I could be mistaken. I'll have to investigate this in more depth, but maybe one here can already answer this.

Link to comment
Share on other sites

Top 2 bytes are used acutally.

 

It affects any character with bits 5-6 = 11

 

If you do use this mode ... keep in mind that lowercase ascenders (that is, t, l, b, d, h, k) should be defined in a different range than the other lowercase characters ... stay away from atascii 0-32 and atascii>96 ... this will let your lowercase font look more unified. Lowercase letters in ANTIC 3 forbid the use of the top two rows of the char grid. Using this method you have your ascenders reaching to the top of the grid while your descenders lke g j q p etc. will reach to the bottom.

 

ctrl chars will look strange in this mode too because of the reordering of the lowercase descenders.

 

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...