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"

This commit is contained in:
Nicolas Hordé 2007-03-24 19:38:31 +00:00
parent 694f7cf605
commit 35af9ebbed
1 changed files with 5 additions and 7 deletions

View File

@ -42,6 +42,8 @@ use VIDEO,clearscreen
use VIDEO,enablescroll use VIDEO,enablescroll
use VIDEO,disablescroll use VIDEO,disablescroll
use VIDEO,showchars use VIDEO,showchars
use VIDEO,savestate
use VIDEO,restorestate
endi endi
@ -356,14 +358,12 @@ PROC print FAR
jmp @@strinaize0 jmp @@strinaize0
@@savestate: @@savestate:
mov ah,40 call [cs:savestate]
int 47h
add si,2 add si,2
jmp @@strinaize0 jmp @@strinaize0
@@restorestate: @@restorestate:
mov ah,41 call [cs:restorestate]
int 47h
add si,2 add si,2
jmp @@strinaize0 jmp @@strinaize0
@ -398,8 +398,6 @@ PROC print FAR
sub bl,'0' sub bl,'0'
xor bh,bh xor bh,bh
call [cs:setxy],ax,bx call [cs:setxy],ax,bx
mov ah,25
int 47h
add si,7 add si,7
jmp @@strinaize0 jmp @@strinaize0
@ -760,7 +758,7 @@ PROC showsigned FAR
@@showminus: @@showminus:
call [cs:showchars],'-',0FFFFh call [cs:showchars],'-',0FFFFh
@@notsigned: @@notsigned:
call showint,edx,0FFFFh call showint,edx
ret ret
ENDP showsigned ENDP showsigned