From 8abfe12dcbacd2c8fdaa3f483d8764c9790372fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Tue, 27 Mar 2007 10:26:06 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20ajout=20de=20l'initialisation=20du=20ge?= =?UTF-8?q?stionnaire=20d'interruption=20au=20d=C3=A9marrage=20Ajout=20d'u?= =?UTF-8?q?n=20pause=20avant=20le=20chargement=20du=20shell=20pour=20perme?= =?UTF-8?q?ttre=20de=20voir=20correctement=20le=20boot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noyau/systeme.asm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/noyau/systeme.asm b/noyau/systeme.asm index 036c45a..b40fdec 100644 --- a/noyau/systeme.asm +++ b/noyau/systeme.asm @@ -68,6 +68,9 @@ suite: call [cs:print],offset msg_ok2 call [cs:print],offset msg_video_init call [cs:print],offset msg_ok2 + call [cs:print],offset msg_handler + call installirqhandler + call [cs:print],offset msg_ok2 call [cs:print],offset msg_cpu_detect call [cs:cpuinfo],offset thecpu call [cs:setinfo],offset thecpu,offset temp @@ -158,6 +161,8 @@ novirtual: call [cs:initdrive] jc error2 call [cs:print],offset msg_ok2 +xor ax,ax +int 16h call [cs:execfile],offset shell error2: @@ -180,6 +185,7 @@ msg_memory_init db " -Creation du bloc primordial",0 msg_memory_section db " -Developpement des sections",0 msg_memory_jumps db "Redirection du systeme",0 msg_video_init db "Initialisation du pilote VIDEO",0 +msg_handler db "Initialisation du gestionnaire d'interruption",0 msg_cpu_detect db "Dectection du processeur",0 msg_cpu_detect_inf db " -Fondeur : %0\l -Modele : %0\l -Revision : %u\l -Version : %u\l -Famille : %u\l -Technologies: %0\l",0 msg_pci db "Detection des systemes PCI",0 @@ -217,6 +223,8 @@ use DISQUE,execfile endi include "mcb.asm" +include "8259a.asm" + mb1: includebin "video.sys" mb2: