feat: change la taille du noyau a copier et le moment ou se fait l'affichage du chargement

This commit is contained in:
Nicolas Hordé 2007-04-02 13:07:30 +00:00
parent 19dca7321b
commit b8620e8b85
1 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,6 @@
pop ds pop ds
pop es pop es
call EnableA20 call EnableA20
mov si,msgpmode
call showstr
mov ax,cs mov ax,cs
mov [RealCS],ax mov [RealCS],ax
lea ax,[Real] lea ax,[Real]
@ -39,6 +37,8 @@
;out 0x21,al ;out 0x21,al
mov al,0x80 mov al,0x80
out 0x70,al out 0x70,al
mov si,msgpmode
call showstr
mov eax,cr0 mov eax,cr0
or al,1 or al,1
@ -50,7 +50,7 @@ GoPMode32:
[BITS 32] [BITS 32]
mov ax,SYS_DATA_SEL mov ax,SYS_DATA_SEL
mov ds,ax mov ds,ax
mov ecx,50000/4 mov ecx,20000/4
cld cld
mov esi,kernel mov esi,kernel
mov edi,0x100000 mov edi,0x100000