mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-28 19:53:12 +03:00
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'
|
||||
|
||||
|
@ -23,10 +23,11 @@ $Revision$
|
||||
or eax,-1 ; Driver ID = -1 (not present in system)
|
||||
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