forked from KolibriOS/kolibrios
update read_file
git-svn-id: svn://kolibrios.org@429 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0e065d64a6
commit
e779187e24
@ -452,10 +452,13 @@ proc read_file stdcall,file_name:dword, buffer:dword, off:dword,\
|
||||
mov byte [buff+4], al
|
||||
mov [name], ebx
|
||||
|
||||
mov eax, 70
|
||||
lea ebx, [cmd]
|
||||
sub ebx, new_app_base
|
||||
int 0x40
|
||||
pushad
|
||||
push eax
|
||||
lea eax, [cmd]
|
||||
sub eax, new_app_base
|
||||
call file_system_lfn
|
||||
pop eax
|
||||
popad
|
||||
ret
|
||||
endp
|
||||
|
||||
|
@ -838,12 +838,12 @@ endg
|
||||
|
||||
build_scheduler:
|
||||
|
||||
mov esi,boot_sched_1
|
||||
call boot_log
|
||||
; mov esi,boot_sched_1
|
||||
; call boot_log
|
||||
call build_process_gdt_tss_pointer
|
||||
|
||||
mov esi,boot_sched_2
|
||||
call boot_log
|
||||
; mov esi,boot_sched_2
|
||||
; call boot_log
|
||||
call build_interrupt_table
|
||||
|
||||
ret
|
||||
|
@ -502,6 +502,15 @@ B32:
|
||||
mov [graph_data_l+4],al
|
||||
mov [graph_data_l+7],ah
|
||||
|
||||
|
||||
; BUILD SCHEDULER
|
||||
|
||||
call build_scheduler ; sys32.inc
|
||||
|
||||
; LOAD IDT
|
||||
lidt [cs:idtreg]
|
||||
cli
|
||||
|
||||
;!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
include 'detect/disks.inc'
|
||||
;!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
@ -537,6 +546,7 @@ include 'vmodeld.inc'
|
||||
pop eax
|
||||
popad
|
||||
|
||||
|
||||
; mov esi,char
|
||||
; xor ebx,ebx
|
||||
; mov ecx,2560;26000
|
||||
@ -575,14 +585,6 @@ include 'vmodeld.inc'
|
||||
mov esi,boot_tss
|
||||
call boot_log
|
||||
|
||||
; BUILD SCHEDULER
|
||||
|
||||
call build_scheduler ; sys32.inc
|
||||
|
||||
; LOAD IDT
|
||||
lidt [cs:idtreg]
|
||||
cli
|
||||
|
||||
mov esi,boot_devices
|
||||
call boot_log
|
||||
call detect_devices
|
||||
|
Loading…
Reference in New Issue
Block a user