🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7416

Re: Porting software to the PC, 64K data structure barrier.

#7416
From: Timo Salmi
Date: Sat, 29 Jun 1991 20:37
20 lines
1500 bytes
In article <1972@contex.contex.com> avinash@felix.contex.com (Avinash Chopde) writes:
>I need to port a program I wrote for UNIX machines onto the IBM PC.
>I have the Turbo C++ compiler, and at first, I just tried to
>recompile all the sources, but the compiler complained about
>a struct being greater than 64K in size!
>Now, I'm sure I'm doing something wrong, surely there must be some
>way of defining large arrays.
>Is there ?
:

I've only used Turbo Pascal, so this is just a tentative answer.  In
TP one has to go around the 64K limitation by a judicious use of
pointers (I have a FAQ collection to cover how).  But doesn't Turbo
C have what is called a huge model (a rhetorical question). 

...................................................................
Prof. Timo Salmi
Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun
Technical Details
Message-ID: <1991Jun29.203704.8443@uwasa.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uunet!mcsun!news.funet.fi!uwasa.fi!ts
References: <1972@contex.contex.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uunet!mcsun!news.funet.fi!uwasa.fi!ts
From: ts@uwasa.fi (Timo Salmi)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Porting software to the PC, 64K data structure barrier.
Keywords: PC, 64K struct size limitations, MSDOS
Message-ID: <1991Jun29.203704.8443@uwasa.fi>
Date: 29 Jun 91 20:37:04 GMT
References: <1972@contex.contex.com>
Organization: University of Vaasa, Finland
Lines: 20