fix: correction d'un bogue dans la fonction execfile concernant l'execution de fichier CE

This commit is contained in:
Nicolas Hordé 2004-11-19 19:57:43 +00:00
parent 9c770034e7
commit 0348ef59a4
1 changed files with 10 additions and 1 deletions

View File

@ -6,10 +6,10 @@ smart
org 0h
include ..\include\fat.h
include ..\include\mem.h
start:
jmp tsr ;Saute à la routine résidente
names db 'DRIVE' ;Nom drivers
id dw 1234h ;Identifiant drivers
Tsr:
cli ;Désactive interruptions logiciellement
@ -182,12 +182,21 @@ execfile:
pop gs
mov ah,6
int 49h
mov ah,12
int 49h
jc reallyerror
push es
push cs
mov ax,offset arrive
push ax
push es
cmp word ptr gs:[0h],'EC'
jne noce
push size exe
jmp wasce
noce:
push 0000h
wasce:
push es
push es
push es