Subversion Repositories Kolibri OS

Rev

Rev 485 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 485 Rev 5739
Line 6... Line 6...
6
 
6
 
Line 7... Line 7...
7
use32
7
use32
Line 8... Line 8...
8
 
8
 
9
                org     0x0
9
                org     0x0
10
 
10
 
11
                db      'MENUET00'              ; 8 byte id
11
                db      'MENUET01'              ; 8 byte id
12
                dd      38                      ; required os
12
                dd      1                       ; required os
13
                dd      START                   ; program start
13
                dd      START                   ; program start
14
                dd      I_END                   ; program image size
14
                dd      I_END                   ; program image size
Line 15... Line 15...
15
                dd      0x1000                  ; required amount of memory
15
                dd      E_END                   ; required amount of memory
Line 120... Line 120...
120
    mov  ebx,1                     ; 1, start of draw
120
    mov  ebx,1                     ; 1, start of draw
121
    mcall
121
    mcall
Line 122... Line 122...
122
 
122
 
123
                                   ; DRAW WINDOW
123
                                   ; DRAW WINDOW
124
    xor  eax,eax                     ; function 0 : define and draw window
124
    xor  eax,eax                   ; function 0 : define and draw window
125
    mov  ebx,100*65536             ; [x start] *65536 + [x size]
125
    mov  ebx,100*65536+127         ; [x start] *65536 + [x size]
126
    mov  ecx,100*65536             ; [y start] *65536 + [y size]
-
 
127
    mov  bx,word [x_size]
-
 
128
    mov  cx,word [y_size]
126
    mov  ecx,100*65536+127         ; [y start] *65536 + [y size]
129
    mov  edx,0x00cccc00            ; color of work area RRGGBB,8->color glide
127
    mov  edx,0x00cccc00            ; color of work area RRGGBB,8->color glide
130
    mov  esi,0x00cccc00            ; color of grab bar  RRGGBB,8->color glide
128
    mov  esi,0x00cccc00            ; color of grab bar  RRGGBB,8->color glide
131
    mov  edi,0x00cccc00            ; color of frames    RRGGBB
129
    mov  edi,0x00cccc00            ; color of frames    RRGGBB
Line 149... Line 147...
149
 
147
 
Line 150... Line -...
150
 
-
 
151
; DATA AREA
-
 
152
 
-
 
Line 153... Line 148...
153
 
148
 
-
 
149
; DATA AREA
-
 
150