Rev 139 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 139 | Rev 143 | ||
---|---|---|---|
Line 231... | Line 231... | ||
231 | cpuid_2 dd 0,0,0,0 |
231 | cpuid_2 dd 0,0,0,0 |
232 | cpuid_3 dd 0,0,0,0 |
232 | cpuid_3 dd 0,0,0,0 |
233 | endg |
233 | endg |
Line 234... | Line 234... | ||
234 | 234 | ||
235 | iglobal |
235 | iglobal |
236 | firstapp db 'LAUNCHER ' |
236 | firstapp db '/rd/1/LAUNCHER',0 |
237 | char db 'CHAR MT ' |
237 | char db 'CHAR MT ' |
238 | char2 db 'CHAR2 MT ' |
238 | char2 db 'CHAR2 MT ' |
239 | bootpath db '/KOLIBRI ' |
239 | bootpath db '/KOLIBRI ' |
240 | bootpath2 db 0 |
240 | bootpath2 db 0 |
241 | vmode db 'VMODE MDR' |
241 | vmode db 'VMODE MDR' |
242 | cur_file db 'ARROW CUR' |
242 | cur_file db 'ARROW CUR' |
243 | vrr_m db 'VRR_M ' |
243 | vrr_m db '/rd/1/VRR_M',0 |
Line 244... | Line 244... | ||
244 | endg |
244 | endg |
245 | 245 | ||
Line 770... | Line 770... | ||
770 | 770 | ||
771 | ; LOAD FIRST APPLICATION |
771 | ; LOAD FIRST APPLICATION |
772 | mov [0x3000],dword 1 |
772 | mov [0x3000],dword 1 |
773 | mov [0x3004],dword 1 |
773 | mov [0x3004],dword 1 |
774 | cli |
774 | cli |
775 | mov al,[0x2f0000+0x9030] |
- | |
776 | cmp al,1 |
775 | cmp byte [0x2f0000+0x9030],1 |
777 | jne no_load_vrr_m |
776 | jne no_load_vrr_m |
- | 777 | mov ebp,vrr_m |
|
778 | mov eax,vrr_m |
778 | lea esi,[ebp+6] ; skip '/RD/1/' |
779 | xor ebx,ebx ; no parameters |
779 | xor ebx,ebx ; no parameters |
780 | xor edx,edx ; no flags |
780 | xor edx,edx ; no flags |
781 | call start_application_fl |
781 | call fs_RamdiskExecute.flags |
782 | cmp eax,2 ; if vrr_m app found (PID=2) |
782 | cmp eax,2 ; if vrr_m app found (PID=2) |
Line 783... | Line 783... | ||
783 | je first_app_found |
783 | je first_app_found |
784 | 784 | ||
- | 785 | no_load_vrr_m: |
|
785 | no_load_vrr_m: |
786 | mov ebp,firstapp |
786 | mov eax,firstapp |
787 | lea esi,[ebp+6] |
787 | xor ebx,ebx ; no parameters |
788 | xor ebx,ebx ; no parameters |
Line 788... | Line 789... | ||
788 | xor edx,edx ; no flags |
789 | xor edx,edx ; no flags |
789 | call start_application_fl |
790 | call fs_RamdiskExecute.flags |
790 | 791 | ||
791 | cmp eax,2 ; continue if a process has been loaded |
792 | cmp eax,2 ; continue if a process has been loaded |
Line 3348... | Line 3349... | ||
3348 | 3349 | ||
3349 | uglobal |
3350 | uglobal |
3350 | mouse_active db 0 |
3351 | mouse_active db 0 |
3351 | endg |
3352 | endg |
3352 | iglobal |
3353 | iglobal |
3353 | cpustring db 'CPU ' |
3354 | cpustring db '/RD/1/CPU',0 |
Line 3354... | Line 3355... | ||
3354 | endg |
3355 | endg |
3355 | 3356 | ||
3356 | uglobal |
3357 | uglobal |
Line 3362... | Line 3363... | ||
3362 | 3363 | ||
Line 3363... | Line 3364... | ||
3363 | checkmisc: |
3364 | checkmisc: |
3364 | 3365 | ||
3365 | cmp [ctrl_alt_del], 1 |
3366 | cmp [ctrl_alt_del], 1 |
- | 3367 | jne nocpustart |
|
3366 | jne nocpustart |
3368 | mov ebp, cpustring |
3367 | mov eax, cpustring |
3369 | lea esi,[ebp+6] |
3368 | xor ebx,ebx ; no parameters |
3370 | xor ebx,ebx ; no parameters |
3369 | xor edx,edx ; no flags |
3371 | xor edx,edx ; no flags |
3370 | call start_application_fl |
3372 | call fs_RamdiskExecute.flags |
3371 | mov [ctrl_alt_del], 0 |
3373 | mov [ctrl_alt_del], 0 |
3372 | nocpustart: |
3374 | nocpustart: |
3373 | cmp [mouse_active], 1 |
3375 | cmp [mouse_active], 1 |