Rev 31 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 31 | Rev 108 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | 8 | ||
9 | db 'MENUET01' ; 8 byte id |
9 | db 'MENUET01' ; 8 byte id |
10 | dd 0x01 ; header version |
10 | dd 0x01 ; header version |
11 | dd start ; start of code |
11 | dd start ; start of code |
12 | dd finis ; size of image |
12 | dd finis ; size of image |
13 | dd 0x100000 ; memory for app |
13 | dd 0x1000 ; memory for app |
14 | dd 0x7fff0 ; esp |
14 | dd 0x1000 ; esp |
Line 15... | Line 15... | ||
15 | dd 0x0,0x0 ; I_Param , I_Icon |
15 | dd 0x0,0x0 ; I_Param , I_Icon |
16 | 16 | ||
17 | include 'lang.inc' |
17 | include 'lang.inc' |
Line 146... | Line 146... | ||
146 | int 0x40 |
146 | int 0x40 |
Line 147... | Line 147... | ||
147 | 147 | ||
148 | mov eax,0 ; DRAW WINDOW |
148 | mov eax,0 ; DRAW WINDOW |
149 | mov ebx,1*65536+200 ; [x start] *65536 + [x size] |
149 | mov ebx,1*65536+200 ; [x start] *65536 + [x size] |
150 | mov ecx,200*65536+240 ; [y start] *65536 + [y size] |
150 | mov ecx,200*65536+240 ; [y start] *65536 + [y size] |
151 | mov edx,0x02000000 ; work area color (type II) |
151 | mov edx,0x03000000 ; work area color (type II) |
152 | mov esi,0x82a0a0a0 ; grab bar color (w/glide) |
152 | mov esi,0x82a0a0a0 ; grab bar color (w/glide) |
153 | mov edi,0x82bbbbbb ; frame color |
153 | mov edi,0x82bbbbbb ; frame color |
154 | int 0x40 |
154 | int 0x40 |
155 | mov eax,4 ; WINDOW LABEL |
155 | mov eax,4 ; WINDOW LABEL |
156 | mov ebx,8*65536+8 ; [x start] *65536 + [y start] |
156 | mov ebx,8*65536+8 ; [x start] *65536 + [y start] |
157 | mov ecx,0xeeeeee ; color of text (white) |
157 | mov ecx,0xeeeeee ; color of text (white) |
158 | mov edx,prog_name ; pointer to header |
158 | mov edx,prog_name ; pointer to header |
159 | mov esi,namelen-prog_name ; text length |
159 | mov esi,namelen-prog_name ; text length |
160 | int 0x40 |
- | |
161 | mov eax,8 ; CLOSE BUTTON |
- | |
162 | mov ebx,(200-19)*65536+12 ; [x start] *65536 + [x size] |
- | |
163 | mov ecx,5*65536+12 ; [y start] *65536 + [y size] |
- | |
164 | mov edx,1 ; button id |
- | |
165 | mov esi,0xaaaaaa ; button color (light grey) |
- | |
Line 166... | Line 160... | ||
166 | int 0x40 |
160 | int 0x40 |
Line 167... | Line 161... | ||
167 | 161 | ||
168 | call palette ; display color palette |
162 | call palette ; display color palette |