On Wed, 15 Aug 2012, Chuck Guzis wrote:
On 15 Aug 2012 at 19:22, David Griffith wrote:
If
it's the matter of the source (that 32-bit platforms treat "int"
as 32 bits), consider creating a conditional typedef for the int
type- -define it as "int" for the large platforms and "long" for the
16- bitters.
I'm using Turbo C++ 3.00. It's definitely chopping off half of the
bits.
I *knew* there was a reason that I stayed away from Borland.
Microsoft C handles 32-bit ints just fine. Are you certain it's not
just a matter of a misplaced or missing cast?
As long as you don't mind restricting the thing to 386+ platforms,
you can use something like DJGPP that comes with its own DPMI server.
I'm quite sure the casts are okay. So, if I somehow dig up an old
Microsoft C compiler, I should be fine? I'm trying to keep this thing
compatible with pre-386 for the simple reason of playing old Infocom games
on old machines.
--
David Griffith
dgriffi at
cs.csubak.edu
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?