From b8620e8b85b55298b36f4b5bc3432c040b5bc319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Mon, 2 Apr 2007 13:07:30 +0000 Subject: [PATCH] feat: change la taille du noyau a copier et le moment ou se fait l'affichage du chargement --- system/loader.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/loader.asm b/system/loader.asm index 7b9deef..e241639 100644 --- a/system/loader.asm +++ b/system/loader.asm @@ -6,9 +6,7 @@ push cs pop ds pop es - call EnableA20 - mov si,msgpmode - call showstr + call EnableA20 mov ax,cs mov [RealCS],ax lea ax,[Real] @@ -39,6 +37,8 @@ ;out 0x21,al mov al,0x80 out 0x70,al + mov si,msgpmode + call showstr mov eax,cr0 or al,1 @@ -50,7 +50,7 @@ GoPMode32: [BITS 32] mov ax,SYS_DATA_SEL mov ds,ax - mov ecx,50000/4 + mov ecx,20000/4 cld mov esi,kernel mov edi,0x100000