Subversion Repositories Kolibri OS

Rev

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

Rev 109 Rev 316
Line 47... Line 47...
47
    jz   key
47
    jz   key
48
    dec eax
48
    dec eax
49
;    cmp  eax,3                  ; button in buffer ?
49
;    cmp  eax,3                  ; button in buffer ?
50
    jz   button
50
    jz   button
Line 51... Line 51...
51
 
51
 
Line 52... Line 52...
52
    fps  280,8,cl_White,cl_Black
52
    fps  230,8,cl_White,cl_Black
Line 53... Line 53...
53
 
53
 
54
main_loop:
54
main_loop:
Line 102... Line 102...
102
    int 0x40
102
    int 0x40
Line 103... Line 103...
103
 
103
 
104
    mov eax,0   ;Draw window
104
    mov eax,0   ;Draw window
105
    mov ebx,100*65536+(SCREEN_X+9) ;x start*65536+x size
105
    mov ebx,100*65536+(SCREEN_X+9) ;x start*65536+x size
106
    mov ecx,100*65536+(SCREEN_Y+26) ;y start*65536+y size
106
    mov ecx,100*65536+(SCREEN_Y+26) ;y start*65536+y size
107
    mov edx,0x03000000         ;0x03 use skinned window
-
 
108
    int 0x40
-
 
109
 
-
 
110
    mov eax,4   ;Out Text
-
 
111
    mov ebx,8*65536+8          ;x start*65536+y start
-
 
112
    mov ecx,0x00ffffff         ;color White
107
    mov edx,0x13000000         ;0x03 use skinned window
113
    mov edx,head_label
-
 
114
    mov esi,hl_end-head_label
108
    mov edi,header
Line 115... Line 109...
115
    int 0x40
109
    int 0x40
116
 
110
 
117
    mov eax,12  ;End
111
    mov eax,12  ;End
118
    mov ebx,2
112
    mov ebx,2
Line 119... Line 113...
119
    int 0x40
113
    int 0x40
120
    ret
-
 
121
 
-
 
Line 122... Line 114...
122
head_label: db "3D TEST SAMPLE FOR MENUETOS"
114
    ret
Line 123... Line 115...
123
hl_end:
115