From 35af9ebbeda7b5f8735cc49c9c9d30dd65507bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Sat, 24 Mar 2007 19:38:31 +0000 Subject: [PATCH] fix: correction d'un bogue dans la fonction "showsigned" (argument en trop dans l'appel de showint) Suppression de l'appel a l'int 47h sans la fonction "print" --- lib/video.asm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/video.asm b/lib/video.asm index bd37ea5..f1b22d6 100644 --- a/lib/video.asm +++ b/lib/video.asm @@ -42,6 +42,8 @@ use VIDEO,clearscreen use VIDEO,enablescroll use VIDEO,disablescroll use VIDEO,showchars +use VIDEO,savestate +use VIDEO,restorestate endi @@ -356,14 +358,12 @@ PROC print FAR jmp @@strinaize0 @@savestate: - mov ah,40 - int 47h + call [cs:savestate] add si,2 jmp @@strinaize0 @@restorestate: - mov ah,41 - int 47h + call [cs:restorestate] add si,2 jmp @@strinaize0 @@ -398,8 +398,6 @@ PROC print FAR sub bl,'0' xor bh,bh call [cs:setxy],ax,bx - mov ah,25 - int 47h add si,7 jmp @@strinaize0 @@ -760,7 +758,7 @@ PROC showsigned FAR @@showminus: call [cs:showchars],'-',0FFFFh @@notsigned: - call showint,edx,0FFFFh + call showint,edx ret ENDP showsigned