Subversion Repositories Kolibri OS

Rev

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

Rev 139 Rev 143
Line 229... Line 229...
229
  cpuid_2    dd  0,0,0,0
229
  cpuid_2    dd  0,0,0,0
230
  cpuid_3    dd  0,0,0,0
230
  cpuid_3    dd  0,0,0,0
231
endg
231
endg
Line 232... Line 232...
232
 
232
 
233
iglobal
233
iglobal
234
  firstapp   db  'LAUNCHER   '
234
  firstapp   db  '/rd/1/LAUNCHER',0
235
  char       db  'CHAR    MT '
235
  char       db  'CHAR    MT '
236
  char2      db  'CHAR2   MT '
236
  char2      db  'CHAR2   MT '
237
  bootpath   db  '/KOLIBRI    '
237
  bootpath   db  '/KOLIBRI    '
238
  bootpath2  db  0
238
  bootpath2  db  0
239
  vmode      db  'VMODE   MDR'
239
  vmode      db  'VMODE   MDR'
240
  vrr_m      db  'VRR_M      '
240
  vrr_m      db  '/rd/1/VRR_M',0
Line 241... Line 241...
241
endg
241
endg
242
 
242
 
Line 725... Line 725...
725
 
725
 
726
; LOAD FIRST APPLICATION
726
; LOAD FIRST APPLICATION
727
        mov   [0x3000],dword 1
727
        mov   [0x3000],dword 1
728
        mov   [0x3004],dword 1
728
        mov   [0x3004],dword 1
729
        cli
729
        cli
730
        mov   al,[0x2f0000+0x9030]
-
 
731
        cmp   al,1
730
        cmp   byte [0x2f0000+0x9030],1
732
        jne   no_load_vrr_m
731
        jne   no_load_vrr_m
-
 
732
        mov   ebp,vrr_m
733
        mov   eax,vrr_m
733
        lea   esi,[ebp+6]       ; skip '/rd/1/'
734
        xor   ebx,ebx                   ; no parameters
734
        xor   ebx,ebx                   ; no parameters
735
        xor   edx,edx                   ; no flags
735
        xor   edx,edx                   ; no flags
736
        call  start_application_fl
736
        call  fs_RamdiskExecute.flags
737
        cmp   eax,2                  ; if vrr_m app found (PID=2)
737
        cmp   eax,2                  ; if vrr_m app found (PID=2)
Line 738... Line 738...
738
        je    first_app_found
738
        je    first_app_found
739
 
739
 
-
 
740
    no_load_vrr_m:
740
    no_load_vrr_m:
741
        mov   ebp,firstapp
741
        mov   eax,firstapp
742
        lea   esi,[ebp+6]
742
        xor   ebx,ebx                   ; no parameters
743
        xor   ebx,ebx                   ; no parameters
Line 743... Line 744...
743
        xor   edx,edx                   ; no flags
744
        xor   edx,edx                   ; no flags
744
        call  start_application_fl
745
        call  fs_RamdiskExecute.flags
745
 
746
 
746
        cmp   eax,2                  ; continue if a process has been loaded
747
        cmp   eax,2                  ; continue if a process has been loaded
Line 3334... Line 3335...
3334
 
3335
 
3335
uglobal
3336
uglobal
3336
  mouse_active  db  0
3337
  mouse_active  db  0
3337
endg
3338
endg
3338
iglobal
3339
iglobal
3339
  cpustring db 'CPU        '
3340
  cpustring db '/RD/1/CPU',0
Line 3340... Line 3341...
3340
endg
3341
endg
3341
 
3342
 
3342
uglobal
3343
uglobal
Line 3348... Line 3349...
3348
 
3349
 
Line 3349... Line 3350...
3349
checkmisc:
3350
checkmisc:
3350
 
3351
 
3351
    cmp   [ctrl_alt_del], 1
3352
    cmp   [ctrl_alt_del], 1
-
 
3353
    jne   nocpustart
3352
    jne   nocpustart
3354
    mov   ebp, cpustring
3353
    mov   eax, cpustring
3355
    lea   esi,[ebp+6]
3354
    xor   ebx,ebx               ; no parameters
3356
    xor   ebx,ebx               ; no parameters
3355
    xor   edx,edx               ; no flags
3357
    xor   edx,edx               ; no flags
3356
    call  start_application_fl
3358
    call  fs_RamdiskExecute.flags
3357
    mov   [ctrl_alt_del], 0
3359
    mov   [ctrl_alt_del], 0
3358
  nocpustart:
3360
  nocpustart:
3359
    cmp   [mouse_active], 1
3361
    cmp   [mouse_active], 1