Subversion Repositories Kolibri OS

Rev

Rev 9451 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9451 Rev 9469
Line 23... Line 23...
23
; debug = 1
23
; debug = 1
Line 24... Line 24...
24
 
24
 
Line 25... Line 25...
25
;KOS_APP_START
25
;KOS_APP_START
-
 
26
 
26
 
27
CODE
27
CODE
28
	;Check if the app is running in screensaver mode or not
28
	cmp dword [param], '@ss'
29
	cmp dword [param], '@ss'
29
	setz [screensaver]
30
	setz [screensaver]
30
    mov     ebx, EVM_REDRAW + EVM_KEY + EVM_BUTTON
31
    mov     ebx, EVM_REDRAW + EVM_KEY + EVM_BUTTON
Line -... Line 32...
-
 
32
    cmovz   ebx, EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE
-
 
33
    mcall   40
-
 
34
	
-
 
35
	;Make cursor transparent
-
 
36
    mov     edi, transparent_cursor
-
 
37
    xor     eax, eax
-
 
38
    mov     ecx, 32*32
-
 
39
    rep     stosd
-
 
40
    mcall   37, 4, transparent_cursor, 2
31
    cmovz   ebx, EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE
41
    mov     ecx, eax
32
    mcall   40
42
    mcall   37, 5
33
	
43
	
Line 34... Line 44...
34
    ;Preinit. Randomize start counter
44
    ;Preinit. Randomize start counter
Line 439... Line 449...
439
f70: ; run
449
f70: ; run
440
    dd 7, 0, 0, 0, 0
450
    dd 7, 0, 0, 0, 0
441
    db '/sys/@SS',0
451
    db '/sys/@SS',0
Line 442... Line 452...
442
 
452
 
-
 
453
screensaver db ?
Line 443... Line 454...
443
screensaver db ?
454
transparent_cursor rd 32*32
444
 
455