TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: rowan_crowe
from: Paul Edwards
date: 1996-01-02 22:16:58
subject: pdcom006.zip

PE> For some reason the executable is still restricted to the
PE> small memory model - large causes an abend, on both Watcom
PE> and Borland.

r> Tiny, small, and compact memory models have all code in a 64k segment: NEAR 
r> calls. Large, medium and huge allow more than one segment for code: FAR 
r> calls.

r> A near call must be matched by a near return; a far call matched by a far 
r> return.

r> Perhaps this is the problem?

Could be.  In the assembler code is a ".model large,c" and
then there is use of "call" and "ret" and
"iret".  Do these
need to be changed to "retf" and "???" or does the assembler
automatically put in the right thing because of the ".model"
directive?  BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

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™.