Subversion Repositories Kolibri OS

Rev

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

Rev 180 Rev 205
Line 13... Line 13...
13
   db      'MENUET01'  ; identifier
13
   db      'MENUET01'  ; identifier
14
   dd      1           ; header version
14
   dd      1           ; header version
15
   dd      START       ; start address
15
   dd      START       ; start address
16
   dd      I_END       ; file size
16
   dd      I_END       ; file size
17
   dd      28000h      ; memory
17
   dd      28000h      ; memory
18
   dd      10000h      ; stack pointer (0x10000+ - work area for os)
18
   dd      28000h      ; stack pointer (0x10000+ - work area for os)
19
   dd      0,0         ; parameters, reserved
19
   dd      0,0         ; parameters, reserved
Line 20... Line 20...
20
 
20
 
21
   include 'lang.inc'
21
   include 'lang.inc'
22
   include 'macros.inc'
22
   include 'macros.inc'
Line 106... Line 106...
106
 
106
 
Line 107... Line 107...
107
    jmp  still
107
    jmp  still
108
 
108
 
109
 
109
 
110
  key:                          ; key
110
  key:                          ; key
Line 111... Line 111...
111
    mov  eax,2                  ; just read it and ignore
111
    mov  al,2                   ; just read it and ignore
112
    int  0x40
112
    int  0x40
113
    jmp  still
113
    jmp  still
Line 114... Line 114...
114
 
114
 
115
  button:                       ; button
115
  button:                       ; button
116
    mov  eax,17                 ; get id
116
    mov  al,17                  ; get id
Line 203... Line 203...
203
    jmp  still
203
    jmp  still
204
  no_new_colour:
204
  no_new_colour:
Line 205... Line 205...
205
 
205
 
206
     cmp  ah,1                   ; terminate
206
    cmp  ah,1                   ; terminate
207
     jnz  noid1
207
    jnz  noid1
208
    mov  eax,-1
208
    or   eax,-1
209
    int  0x40
209
    int  0x40
Line 210... Line 210...
210
  noid1:
210
  noid1:
Line 545... Line 545...
545
virtual at edi+SKIN_PARAMS.dtp.data
545
virtual at edi+SKIN_PARAMS.dtp.data
546
  dtp system_colors
546
  dtp system_colors
547
end virtual
547
end virtual
Line 548... Line 548...
548
 
548
 
549
draw_skin:
549
draw_skin:
Line 550... Line 550...
550
        mcall   13,,,0x00FFFFFF
550
        mcall   13,,,0x00FFFFFF
551
 
551
 
552
        mov     ebp,0x18000
552
        mov     ebp,0x18000
553
        mov     edi,[ebp+SKIN_HEADER.params]
553
        mov     edi,[ebp+SKIN_HEADER.params]