From: beppu AT rigel DOT oac DOT uci DOT edu (John Beppu) Newsgroups: comp.os.msdos.djgpp Subject: Re: Memory Model Question Date: 31 Mar 1997 18:36:57 GMT Organization: University of California, Irvine Lines: 30 Message-ID: <5hp089$l4v@news.service.uci.edu> References: <9702318598 DOT AA859831045 AT cctds DOT tsd DOT textron DOT com> NNTP-Posting-Host: rigel.oac.uci.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <9702318598 DOT AA859831045 AT cctds DOT tsd DOT textron DOT com>, wrote: > Hello, I and new to DJGPP and have a question on memory models. I have > reviewed the FAQ and the info files on GCC and I have not seen > anything on memory models, this does't mean it's not there, just that > I haven't found the info yet. So, the question is how do you specify > the memory model in the command line? > > dporter AT tsd DOT textron DOT com DJGPP uses only a flat 32-bit memory model. It's kind of like the tiny model except not restricted to 16-bits of memory space. This will allow you to not worry about memory models anymore. I suggest you find some documentation on what protected mode is all about, so you can use DJGPP better. [in other words...] CS, DS, ES & SS have the same base address. [...] There should be a FAQ especially for converts from Borland. -- beppu AT uci DOT edu .............................................................