TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: DENIS BOYLES
from: SYLVAIN LAUZON
date: 1997-04-21 20:41:00
subject: Switching Stacks

Salut Denis! :)
 > registers. Anyway I've found the "big" problem, change the
 > second pusha
 > into a PUSH ES.
 i found it too. i was waiting if you could find it too ;)
 > Same thing again, but now change the first popa into a POP
 > ES. Now try the
 > program, it should work now, or atleast no crash.
 yeah no crash since we make sure that the indos flag is checked. Omiting
 this may result some bad things! I found that even just changing the border
 color cause DOS to set the flag. And i was just using INT 10 (bios routine).
 > Why? Well, I just doubled checked the PUSHA instruction and
 > it ONLY saves
 > the following registers: AX,BX,CX,DX,SP,BP,SI,DI
 Me too i was wondering why ES was not saved by a PUSHA
Bye!
Sylvain.
---
---------------
* Origin: Silicon Palace {514}432-2953 Lafontaine, Qu‚bec (1:242/100)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.