Subversion Repositories Kolibri OS

Rev

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

Rev 180 Rev 195
Line 27... Line 27...
27
red:
27
red:
28
    call draw_window
28
    call draw_window
Line 29... Line 29...
29
 
29
 
30
still:
30
still:
31
    scevent red,key,button
31
    scevent red,key,button
Line 32... Line 32...
32
    fps  290,8,cl_White,cl_Black
32
    fps  250,8,cl_White,cl_Black
33
 
33
 
34
main_loop:
34
main_loop:
35
     random SCREEN_X,eax
35
     random SCREEN_X,eax
Line 83... Line 83...
83
    mov eax,12  ;Start
83
    mov eax,12  ;Start
84
    mov ebx,1
84
    mov ebx,1
85
    int 0x40
85
    int 0x40
Line 86... Line 86...
86
 
86
 
87
    xor eax,eax   ;Draw window
87
    xor eax,eax   ;Draw window
88
    mov ebx,100*65536+(SCREEN_X+19) ;x start*65536+x size
88
    mov ebx,100*65536+(SCREEN_X+9) ;x start*65536+x size
89
    mov ecx,100*65536+(SCREEN_Y+51) ;y start*65536+y size
89
    mov ecx,100*65536+(SCREEN_Y+26) ;y start*65536+y size
90
    mov edx,0x33000000              ;0x33 use skinned window
90
    mov edx,0x13000000              ;0x33 use skinned window
91
    mov edi,header
91
    mov edi,header
Line 92... Line 92...
92
    int 0x40
92
    int 0x40
93
 
93