-
Notifications
You must be signed in to change notification settings - Fork 0
/
dlist_title.asm
46 lines (37 loc) · 1.27 KB
/
dlist_title.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
; Here is place for your custom display list definition.
; Handy constants are defined first:
DL_BLANK1 = 0; // 1 blank line
DL_BLANK2 = %00010000; // 2 blank lines
DL_BLANK3 = %00100000; // 3 blank lines
DL_BLANK4 = %00110000; // 4 blank lines
DL_BLANK5 = %01000000; // 5 blank lines
DL_BLANK6 = %01010000; // 6 blank lines
DL_BLANK7 = %01100000; // 7 blank lines
DL_BLANK8 = %01110000; // 8 blank lines
DL_DLI = %10000000; // Order to run DLI
DL_LMS = %01000000; // Order to set new memory address
DL_VSCROLL = %00100000; // Turn on vertical scroll on this line
DL_HSCROLL = %00010000; // Turn on horizontal scroll on this line
DL_MODE_40x24T2 = 2; // Antic Modes
DL_MODE_40x24T5 = 4;
DL_MODE_40x12T5 = 5;
DL_MODE_20x24T5 = 6;
DL_MODE_20x12T5 = 7;
DL_MODE_40x24G4 = 8;
DL_MODE_80x48G2 = 9;
DL_MODE_80x48G4 = $A;
DL_MODE_160x96G2 = $B;
DL_MODE_160x192G2 = $C;
DL_MODE_160x96G4 = $D;
DL_MODE_160x192G4 = $E;
DL_MODE_320x192G2 = $F;
DL_JMP = %00000001; // Order to jump
DL_JVB = %01000001; // Jump to begining
; It's always useful to include your program global constants here
icl 'const.inc'
; and declare display list itself
dl_start
dta DL_MODE_40x24T5 + DL_DLI + DL_LMS, a(SCREEN_TITLE)
:28 dta DL_MODE_40x24T5 + DL_DLI
dta DL_MODE_40x24T2
dta DL_JVB, a(dl_start)