load VMODE.MDR use 70 function (I'am not test it. Please test it!!!)
git-svn-id: svn://kolibrios.org@544 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
263374dacd
commit
153714889f
@ -90,7 +90,7 @@ char2 db '/sys/FONTS/CHAR2.MT',0
|
||||
|
||||
bootpath db '/KOLIBRI '
|
||||
bootpath2 db 0
|
||||
vmode db 'drivers/VMODE.MDR',0
|
||||
vmode db '/sys/drivers/VMODE.MDR',0
|
||||
vrr_m db 'VRR_M',0
|
||||
kernel_file db 'KERNEL MNT'
|
||||
|
||||
|
@ -24,9 +24,10 @@ $Revision$
|
||||
mov [VMODE_BASE],eax ;
|
||||
mov [VMODE_BASE+0x100],byte 0xC3 ; Instruction RETN - driver loop
|
||||
|
||||
mov esi, vmode
|
||||
xor ebx, ebx
|
||||
mov ecx, 0x8000 ; size of memory area for driver
|
||||
mov edx, VMODE_BASE ; Memory position of driver
|
||||
xor ebp, ebp
|
||||
call fs_RamdiskRead
|
||||
stdcall read_file, vmode, VMODE_BASE, 0, 0x8000 ;{SPraid.simba}
|
||||
; mov esi, vmode
|
||||
; xor ebx, ebx
|
||||
; mov ecx, 0x8000 ; size of memory area for driver
|
||||
; mov edx, VMODE_BASE ; Memory position of driver
|
||||
; xor ebp, ebp
|
||||
; call fs_RamdiskRead
|
||||
|
Loading…
Reference in New Issue
Block a user