From 153714889f9e3cf3c960019c0d00f1ee4112a163 Mon Sep 17 00:00:00 2001 From: "SPraid (simba)" Date: Thu, 14 Jun 2007 22:23:47 +0000 Subject: [PATCH] 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 --- kernel/trunk/data32.inc | 2 +- kernel/trunk/vmodeld.inc | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/kernel/trunk/data32.inc b/kernel/trunk/data32.inc index acc8044a63..5efd876409 100644 --- a/kernel/trunk/data32.inc +++ b/kernel/trunk/data32.inc @@ -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' diff --git a/kernel/trunk/vmodeld.inc b/kernel/trunk/vmodeld.inc index db0b3108e4..eaa42139e5 100644 --- a/kernel/trunk/vmodeld.inc +++ b/kernel/trunk/vmodeld.inc @@ -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