TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: rowan crowe
from: Paul Edwards
date: 1995-05-31 07:30:04
subject: data segment woes

PE> P.P.P.S. YIPPEE!!!!  The problem was I hadn't put in the special
PE> prototype (...) to force Watcom to pass parameters on the stack
PE> before calling the assembler version of normalize, and now she's
PE> a little ripper!!!

rc>     Watcom passes by registers usually?? That's damn strange for a HLL. 
rc> Maybe it's half decent, even.

Yes, it does.

PE> P.P.P.P.S. If you know of a way of making Watcom (DOS, not OS/2,
PE> and 16-bit, not 32-bit) of passing parameters on the stack instead
PE> of in registers let me know, as I don't like having the watcom
PE> specific stuff in my source code like that.

rc>     I don't understand exactly what you're saying -- were you able to solve 
rc> the original problem and therefore remove my "quick fix"
code? And, RTFM 
rc> Paul, if ya have one. ;-)

No, I don't want to remove your "quick fix" code primarily.  Primarily
I want to not have to create a prototype (...) to force Watcom to pass
things on the stack, I want a compiler option.  I have RTFM but I
didn't see any option.  Also, the discussion on "assembler" in Watcom
says "we don't teach you assembler", so you can't find out what all
the constructs usage are!  BTW, I bought the CDROM version of Watcom,
which doesn't come with printed manuals, for a cost of around $300.
For that price you get 16-bit DOS, 16-bit OS/2, 16-bit Windows,
32-bit DOS, 32-bit OS/2, 32-bit Windows, 32-bit Windows-NT.  BFN.  Paul.
@EOT:

---
* Origin: P9 - Ten Minute Limit (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™.