Display_list_instruction_table

Display List Instructions#

There are 3 kinds of instructions

Instructions for Blank lines#

Instruction decInstruction hexBASIC ModeScan linesPixel per lineBytes per lineComment
0$00na100 1 blank line
16$10na200 2 blank lines
32$20na300 3 blank lines
48$30na400 4 blank lines
64$40na500 5 blank lines
80$50na600 6 blank lines
96$60na700 7 blank lines
112$70na800 8 blank lines

Jump Instructions#

Instruction decInstruction hexBASIC ModeScan linesPixel per lineBytes per lineComment
1$01na000jump to address, instruction followed by address (2 byte in LSB,MSB order)
65$41na000jump to address and wait for VBI, instruction followed by address (2 byte in LSB,MSB order)

Instructions for Text Lines#

Instruction decInstruction hexBASIC ModeScan linesVSCROL maxPixel per lineBytes per lineComment
2$020874040 Text mode 0, normal text, 24 rows
3$03na1094040 text with full size descenders (e.g. g,p,y,j,q)
4$0412 XL/XE OS only874040 4-color-characters, 4 pixel width, 24 rows
5$0513 XL/XE OS only16154040 4-color-characters, 4 pixel width, double heigth, 12 rows
6$061872020 Text mode 1, double width text, 24 rows
7$07216152020 Text mode 2, double width and height text, 12 rows

Instructions for Pixel/Graphics Lines#

Instruction decInstruction hexBASIC ModeScan linesVSCROL maxPixel per lineBytes per lineComment
8$083874010 Graphics Mode 3, 24 rows
9$094438010 Graphics Mode 4, 48 rows
10$0A5438020 Graphics Mode 5, 48 rows
11$0B62116020 Graphics Mode 6, 96 rows
12$0C14 XL/XE OS only1016020  Graphics Mode 14, 192 rows
13$0D72116040 Graphics Mode 7, 96 rows
14$0E15 XL/XE OS only1016040  Graphics Mode 15, 192 rows
15$0F81032040 Graphics Mode 8, 192 rows

Added functions#

To activate special functions in a display line, add the value as stated below
Functionadd decimaladd hexbitcomment
enable Horizontal Scrolling16$104 see HSCROL, possible for text and pixel lines
enable Vertical Scrolling32$205 see VSCROL, possible for text and pixel lines
Load memory scan64$406instruction followed by address (2 byte in LSB,MSB order), possible for text and pixel lines. The screen memory can NOT cross a 4K boundary. If screen memory is bigger than 4K, the display list must contain at least 2 LMS commands.
enable Display List Interrupt128$807see VDSLST, possible for blank, text and pixel lines

see also: Display List Topics, VDSLST, VSCROL, HSCROL, 4-color-characters, Table of Modes and Screen Format