From a9fd6c916e02025773ae7318dde1b88c3c8fcbac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Sat, 12 Jun 2004 21:56:31 +0000 Subject: [PATCH] fix: correction d'un bogue pour le ret far et de l'affichage du nombre de bus --- programs/detect.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/detect.asm b/programs/detect.asm index 8b2dcf3..5dd4e0d 100644 --- a/programs/detect.asm +++ b/programs/detect.asm @@ -41,8 +41,8 @@ mov ah,6 int 47h mov si,offset nbbuses -mov si,offset pcivers2 mov ah,13 +int 47h xor edx,edx mov dl,nbbus inc dl @@ -118,8 +118,6 @@ mov ah,06 int 47h pop di cx -jmp noerror -noerror: inc ch cmp ch,7 jbe search @@ -132,7 +130,9 @@ xor cl,cl inc al cmp al,16 jbe search -ret +xor ax,ax +int 16h +db 0CBh msg3 db ' Classe:',0 msg1 db 'Peripherique :',0