forked from KolibriOS/kolibrios
circle: switch from MENUET00 to MENUET01
git-svn-id: svn://kolibrios.org@5739 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
2ea3102d62
commit
c068fbab11
@ -8,13 +8,13 @@ use32
|
|||||||
|
|
||||||
org 0x0
|
org 0x0
|
||||||
|
|
||||||
db 'MENUET00' ; 8 byte id
|
db 'MENUET01' ; 8 byte id
|
||||||
dd 38 ; required os
|
dd 1 ; required os
|
||||||
dd START ; program start
|
dd START ; program start
|
||||||
dd I_END ; program image size
|
dd I_END ; program image size
|
||||||
dd 0x1000 ; required amount of memory
|
dd E_END ; required amount of memory
|
||||||
dd 0x1000 ; esp
|
dd E_END ; esp
|
||||||
dd 0x00000000 ; reserved=no extended header
|
dd 0, 0 ; no params, no path
|
||||||
|
|
||||||
include '..\..\..\..\macros.inc'
|
include '..\..\..\..\macros.inc'
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ still:
|
|||||||
jz key
|
jz key
|
||||||
|
|
||||||
button:
|
button:
|
||||||
mov al,17 ; get id
|
mov al,17 ; get id
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
cmp ah,1 ; button id=1 ?
|
cmp ah,1 ; button id=1 ?
|
||||||
@ -46,7 +46,7 @@ still:
|
|||||||
mcall
|
mcall
|
||||||
|
|
||||||
key: ; key
|
key: ; key
|
||||||
mov al,2 ; just read it and ignore
|
mov al,2 ; just read it and ignore
|
||||||
mcall
|
mcall
|
||||||
jmp still
|
jmp still
|
||||||
noclose:
|
noclose:
|
||||||
@ -121,11 +121,9 @@ draw_window:
|
|||||||
mcall
|
mcall
|
||||||
|
|
||||||
; DRAW WINDOW
|
; DRAW WINDOW
|
||||||
xor eax,eax ; function 0 : define and draw window
|
xor eax,eax ; function 0 : define and draw window
|
||||||
mov ebx,100*65536 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+127 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+127 ; [y start] *65536 + [y size]
|
||||||
mov bx,word [x_size]
|
|
||||||
mov cx,word [y_size]
|
|
||||||
mov edx,0x00cccc00 ; color of work area RRGGBB,8->color glide
|
mov edx,0x00cccc00 ; color of work area RRGGBB,8->color glide
|
||||||
mov esi,0x00cccc00 ; color of grab bar RRGGBB,8->color glide
|
mov esi,0x00cccc00 ; color of grab bar RRGGBB,8->color glide
|
||||||
mov edi,0x00cccc00 ; color of frames RRGGBB
|
mov edi,0x00cccc00 ; color of frames RRGGBB
|
||||||
@ -151,8 +149,7 @@ draw_window:
|
|||||||
; DATA AREA
|
; DATA AREA
|
||||||
|
|
||||||
|
|
||||||
x_size dd 127
|
|
||||||
y_size dd 127
|
|
||||||
|
|
||||||
|
|
||||||
I_END:
|
I_END:
|
||||||
|
rb 0x100 ; stack
|
||||||
|
E_END:
|
||||||
|
Loading…
Reference in New Issue
Block a user