From ef63b674bd0c3bd93c78b7c70d1b67d16d2dd4d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Sun, 18 Mar 2007 20:46:18 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20ex=C3=A9cution=20du=20shell=20"commande?= =?UTF-8?q?.ce"=20a=20la=20fin=20du=20chargement=20du=20syst=C3=A8me=20Pas?= =?UTF-8?q?sage=20d'argument=20modifi=C3=A9=20lors=20de=20l'appel=20de=20l?= =?UTF-8?q?a=20fonction=20"mbloadsection"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noyau/systeme.asm | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/noyau/systeme.asm b/noyau/systeme.asm index 51f53cf..3b01d65 100644 --- a/noyau/systeme.asm +++ b/noyau/systeme.asm @@ -36,8 +36,6 @@ start: call biosprint,offset msg_ok call biosprint,offset msg_memory_section mov ax,cs - dec ax - dec ax call mbloadsection,ax jc error call biosprint,offset msg_ok @@ -160,11 +158,7 @@ novirtual: call [initdrive] jc error2 call [print],offset msg_ok2 - - call [projfile],offset tester - call [print],offset msg_ok2 -tester find <"boot2.bin",0,0,0,1,> - + call [execfile],offset shell error2: call [print],offset msg_error2 @@ -176,7 +170,7 @@ error: call bioswaitkey jmp far 0FFFFh:0000h - +shell find <"commande.ce",0,0,0,1,> thepci pciinf <> thecpu cpu <> temp db 256 dup (0) @@ -219,6 +213,7 @@ use DETECT.LIB,getpciclass use DETECT.LIB,detectvmware use DISQUE,initdrive use DISQUE,projfile +use DISQUE,execfile endi include "mcb.asm"