feat: passage au format CE, offset a 0 Chargement des pilotes et residents en 0 Chargement de commande.ce plutot que commande.com Ajout de qlq octets pour obtenir 512 octets pile
This commit is contained in:
parent
20d5374674
commit
3b37ee93a8
|
@ -3,7 +3,7 @@
|
||||||
smart
|
smart
|
||||||
.code
|
.code
|
||||||
|
|
||||||
org 0100h
|
org 0h
|
||||||
|
|
||||||
include ..\include\fat.h
|
include ..\include\fat.h
|
||||||
include ..\include\mem.h
|
include ..\include\mem.h
|
||||||
|
@ -148,7 +148,7 @@ suites:
|
||||||
call projfile
|
call projfile
|
||||||
jc nopromptload
|
jc nopromptload
|
||||||
push es
|
push es
|
||||||
push 0100h
|
push 0000h
|
||||||
push 7202h
|
push 7202h
|
||||||
popf
|
popf
|
||||||
push es
|
push es
|
||||||
|
@ -221,7 +221,7 @@ address db ' [',0
|
||||||
addressend db ':0100] ',0
|
addressend db ':0100] ',0
|
||||||
irqs db ' (IRQ ',0
|
irqs db ' (IRQ ',0
|
||||||
irqsend db ')',0
|
irqsend db ')',0
|
||||||
prompt db 'commande.exe',0
|
prompt db 'commande.ce ',0
|
||||||
conf db 'systeme.ini',0
|
conf db 'systeme.ini',0
|
||||||
premice db 0Dh,0Ah,'Chargement du fichier de configuration:',0
|
premice db 0Dh,0Ah,'Chargement du fichier de configuration:',0
|
||||||
debut db 0Dh,0Ah,'Chargement des pilotes systeme:',0
|
debut db 0Dh,0Ah,'Chargement des pilotes systeme:',0
|
||||||
|
@ -659,8 +659,8 @@ call projfile
|
||||||
jc reph
|
jc reph
|
||||||
mov bx,ax
|
mov bx,ax
|
||||||
call getint
|
call getint
|
||||||
mov es:[102h],si
|
mov es:[2h],si
|
||||||
mov es:[104h],ds
|
mov es:[4h],ds
|
||||||
call setint
|
call setint
|
||||||
reph:
|
reph:
|
||||||
pop ds di si cx bx ax
|
pop ds di si cx bx ax
|
||||||
|
@ -684,7 +684,7 @@ cli
|
||||||
shl bx,2
|
shl bx,2
|
||||||
xor ax,ax
|
xor ax,ax
|
||||||
mov ds,ax
|
mov ds,ax
|
||||||
mov word ptr ds:[bx],0100h
|
mov word ptr ds:[bx],0h
|
||||||
mov ds:[bx+2],es
|
mov ds:[bx+2],es
|
||||||
pop ds bx ax
|
pop ds bx ax
|
||||||
sti
|
sti
|
||||||
|
@ -777,13 +777,12 @@ projfile:
|
||||||
jc errorload
|
jc errorload
|
||||||
mov eax,cs:tempfit.FileSize
|
mov eax,cs:tempfit.FileSize
|
||||||
mov ecx,eax
|
mov ecx,eax
|
||||||
add ecx,100h
|
|
||||||
call MBCreate
|
call MBCreate
|
||||||
jc errorload
|
jc errorload
|
||||||
push gs
|
push gs
|
||||||
pop es
|
pop es
|
||||||
mov cx,cs:tempfit.FileGroup
|
mov cx,cs:tempfit.FileGroup
|
||||||
mov di,100h
|
mov di,0h
|
||||||
call loadway
|
call loadway
|
||||||
jc errorload
|
jc errorload
|
||||||
clc
|
clc
|
||||||
|
|
Loading…
Reference in New Issue