Display List Instructions#
There are 3 kinds of instructions
- $x0 blank lines
- $x1 jumps
- $x2-$xF display lines, divided into
- $x2-$x7 text lines
- $x8-$xF pixel/map/graphics lines
Instructions for Blank lines#
Instruction dec | Instruction hex | BASIC Mode | Scan lines | Pixel per line | Bytes per line | Comment |
0 | $00 | na | 1 | 0 | 0 | 1 blank line |
16 | $10 | na | 2 | 0 | 0 | 2 blank lines |
32 | $20 | na | 3 | 0 | 0 | 3 blank lines |
48 | $30 | na | 4 | 0 | 0 | 4 blank lines |
64 | $40 | na | 5 | 0 | 0 | 5 blank lines |
80 | $50 | na | 6 | 0 | 0 | 6 blank lines |
96 | $60 | na | 7 | 0 | 0 | 7 blank lines |
128 | $70 | na | 8 | 0 | 0 | 8 blank lines |
Jump Instructions#
Instruction dec | Instruction hex | BASIC Mode | Scan lines | Pixel per line | Bytes per line | Comment |
1 | $01 | na | 0 | 0 | 0 | jump to address, instruction followed by address (2 byte in LSB,MSB order) |
65 | $41 | na | 0 | 0 | 0 | jumpt o address and wait for VBI, instruction followed by address (2 byte in LSB,MSB order) |
Instructions for Text Lines#
Instruction dec | Instruction hex | BASIC Mode | Scan lines | Pixel per line | Bytes per line | Comment |
2 | $02 | 0 | 8 | 40 | 40 | Text mode 0, normal text |
3 | $03 | na | 10 | 40 | 40 | text with full size descenders (e.g. g,p,y,j,q) |
4 | $04 | 12 XL/XE OS only | 8 | 40 | 40 | 4-color-characters, 4 pixel width |
5 | $05 | 13 XL/XE OS only | 16 | 40 | 40 | 4-color-characters, 4 pixel width, double heigth |
6 | $06 | 1 | 8 | 20 | 20 | Text mode 1, double width text |
7 | $07 | 2 | 16 | 20 | 20 | Text mode 2, double width and height text |
Instructions for Pixel/Graphics Lines#
Instruction dec | Instruction hex | BASIC Mode | Scan lines | Pixel per line | Bytes per line | Comment |
8 | $08 | 3 | 8 | 40 | 10 | Graphics Mode 3 |
9 | $09 | 4 | 4 | 80 | 10 | Graphics Mode 4 |
10 | $0A | 5 | 4 | 80 | 20 | Graphics Mode 5 |
11 | $0B | 6 | 2 | 160 | 20 | Graphics Mode 6 |
12 | $0C | 14 XL/XE OS only | 1 | 160 | 20 | Graphics Mode 14 |
13 | $0D | 7 | 2 | 160 | 40 | Graphics Mode 7 |
14 | $0E | 15 XL/XE OS only | 1 | 160 | 40 | Graphics Mode 15 |
15 | $0F | 8 | 1 | 320 | 40 | Graphics Mode 8 |
Added functions#
Top activate special functions in a display line, add the value as stated below
Function | add decimal | add hex | bit | comment |
enable Vertical Scrolling | 16 | $10 | 5 | see VSCROL, possible for text and pixel lines |
enable Horizontal Scrolling | 32 | $20 | 5 | see HSCROL, possible for text and pixel lines |
Load memory scan | 64 | $40 | 6 | instruction followed by address (2 byte in LSB,MSB order), possible for text and pixel lines |
enable Display List Interrupt | 128 | $80 | 7 | see VDSLST, possible for blank, text and pixel lines |
see also: Display List Topics, VDSLST, VSCROL, HSCROL, 4-color-characters