-
Notifications
You must be signed in to change notification settings - Fork 1
/
VGA.ASH
147 lines (126 loc) · 4.12 KB
/
VGA.ASH
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
IDEAL
ENUM SVGAMODES \
_640x400x256=256, \
_640x480x256, \
_800x600x16, \
_800x600x256, \
_1024x768x16, \
_1024x768x256, \
_1280x1024x16, \
_1280x1024x256, \
_80x60, \
_132x25, \
_132x43, \
_132x50, \
_132x60, \
DCLEAR=0, \
DONTCLEAR, \
pad$0=256
ENUM VGAMODES \
_40x25x16, \
_40x25x16_, \
_80x25x16, \
_80x25x16_, \
_320x200x4, \
_320x200x4_, \
_640x200x2, \
_80x25xmono, \
_EGA1=11, \
_EGA2, \
_320x200x16, \
_640x200x16, \
_640x350xmono, \
_640x350x16, \
_640x480xmono, \
_640x480x16, \
_320x200x256, \
pad$1=256
STRUC tag$0
width DW ?
height DW ?
cwidth DB ?
cheight DB ?
numb_mem_planes DB ?
numb_bits_per_pixel DB ?
numb_banks DB ?
mem_model DB ?
size_bank_k DB ?
ENDS tag$0
TYPEDEF OEMMODES tag$0
STRUC tag$1
mode_attr DW ?
wA_attr DB ?
wB_attr DB ?
wgK DW ?
wind_sizeK DW ?
segmA DW ?
segmB DW ?
pos_func DD ?
bytes_scan_lin DW ?
OEMmoes tag$0 <>
reserv DB 240 DUP ( ? )
ENDS tag$1
TYPEDEF MODETBL tag$1
STRUC tag$3
supportModes DB 3 DUP ( ? )
reserv DB 3 DUP ( ? )
rstrLine DB ?
numbCharTbl DB ?
maxUsesTbl DB ?
miscellaneous1 DB ?
miscellaneous2 DB ?
statusPtr DB ?
ENDS tag$3
TYPEDEF FUNCTBL tag$3
STRUC tag$4
funcTbl DD ?;FAR PTR
mode DB ?
width DW ?
videoPageLen DW ?
offsetCurPage DW ?
curs DW 8 DUP ( ? )
cursUp DB ?
cursDown DB ?
actPage DB ?
portAdr DW ?
_3x8h DB ?
_3x9h DB ?
length DB ?
highChar DW ?
adapt1 DB ?
adapt2 DB ?
numbColors DW ?
numbPages DB ?
numbLineScan DB ?
nambCharTbl1 DB ?
nambCharTbl2 DB ?
miscellaneous DB ?
res DB 3 DUP ( ? )
videoMemLen DB ?
statusPtr DB ?
reserved DB 13 DUP ( ? )
ENDS tag$4
TYPEDEF VGAINFO tag$4
STRUC tag$5
equipmentFl DB ?
reserv1 DB 56 DUP ( ? )
mode DB ?
width DW ?
lenPage DW ?
actPageAdr DW ?
cursCoords DW 8 DUP ( ? )
cursSta DB ?
cursEnd DB ?
actPage DB ?
_3x4 DW ?
_3x8 DB ?
_3x9 DB ?
reserv2 DB 29 DUP ( ? )
length DB ?
charHeight DW ?
egaInfo1 DB ?
egaInfo2 DB ?
reserv3 DB 31 DUP ( ? )
environPtr DD ?;FAR PTR
ENDS tag$5
TYPEDEF VIDEOBIOS tag$5