Subversion Repositories Kolibri OS

Rev

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

Rev 109 Rev 132
Line 34... Line 34...
34
               dd     PARAMS , 0x0               ; I_Param , I_Icon
34
               dd     PARAMS , 0x0               ; I_Param , I_Icon
Line 35... Line 35...
35
 
35
 
36
include 'lang.inc'
36
include 'lang.inc'
Line -... Line 37...
-
 
37
stack_size=4096 + 1024
Line 37... Line 38...
37
stack_size=4096 + 1024
38
 
Line 38... Line 39...
38
 
39
include 'macros.inc'
39
 
40
 
Line 139... Line 140...
139
    jmp     START.l1       ; return to beggining of the progra
140
    jmp     START.l1       ; return to beggining of the progra
Line 140... Line 141...
140
 
141
 
Line 141... Line -...
141
;******************************************************************************
-
 
142
 
-
 
143
 
-
 
144
set_default_colours:
-
 
145
 
-
 
146
     pusha
-
 
147
 
-
 
148
     mov  eax,6            ; load default color map
-
 
149
     mov  ebx,defcol
-
 
150
     mov  ecx,0
-
 
151
     mov  edx,-1
-
 
152
     mov  esi,0x10000
-
 
153
     int  0x40
-
 
154
 
-
 
155
     mov  eax,48           ; set default color map
-
 
156
     mov  ebx,2
-
 
157
     mov  ecx,0x10000
-
 
158
     mov  edx,10*4
-
 
159
     int  0x40
-
 
160
 
-
 
161
     popa
-
 
162
     ret
-
 
Line 163... Line 142...
163
 
142
;******************************************************************************
164
defcol db 'DEFAULT.DTP'
-
 
Line 165... Line 143...
165
 
143
 
166
 
144
 
167
boot_set_background:
145
 
168
    call    set_default_colours
146
boot_set_background: