feat: passage au format CE, chargement en offset 0 du systeme.sys
This commit is contained in:
parent
d23d5db024
commit
df0e3a0014
|
@ -1,7 +1,6 @@
|
||||||
boots segment
|
boots segment
|
||||||
.386
|
.386
|
||||||
org 7C00h
|
org 7C00h
|
||||||
;org 100h
|
|
||||||
assume cs:boots,ds:boots
|
assume cs:boots,ds:boots
|
||||||
|
|
||||||
start:
|
start:
|
||||||
|
@ -28,9 +27,9 @@ pope db 'COS2000 ' ;nom de volume
|
||||||
db 'FAT12 ' ;FAT
|
db 'FAT12 ' ;FAT
|
||||||
specialboot:
|
specialboot:
|
||||||
|
|
||||||
errorloading db ' Erreur !!',0dh,0ah,0
|
errorloading db ' [Erreur]',0dh,0ah,0
|
||||||
okloading db 'Recherche noyau',0Dh,0ah,' - system.sys',0
|
okloading db 'Recherche noyau ',0Dh,0ah,' - system.sys',0
|
||||||
syst db ' Ok',0dh,0ah,'Chargement',0
|
syst db ' [ Ok ]',0dh,0ah,'Chargement',0
|
||||||
dot db '.',0
|
dot db '.',0
|
||||||
Sys db 'SYSTEME SYS'
|
Sys db 'SYSTEME SYS'
|
||||||
|
|
||||||
|
@ -120,7 +119,7 @@ oksystem:
|
||||||
mov ax,0900h
|
mov ax,0900h
|
||||||
mov es,ax
|
mov es,ax
|
||||||
push es
|
push es
|
||||||
mov di,100h
|
mov di,000h
|
||||||
push di
|
push di
|
||||||
mov si,offset dot
|
mov si,offset dot
|
||||||
xor ax,ax
|
xor ax,ax
|
||||||
|
@ -212,6 +211,8 @@ again:
|
||||||
fin:
|
fin:
|
||||||
pop si bx ax
|
pop si bx ax
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
db 055h,0AAh
|
||||||
|
|
||||||
Buffer equ $
|
Buffer equ $
|
||||||
BufferFat equ $+2048
|
BufferFat equ $+2048
|
||||||
|
|
Loading…
Reference in New Issue