Mail Archives: djgpp/1998/05/03/23:17:59
From: | malcolmj7 AT aol DOT com (MalcolmJ7)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Spawning to physical memory
|
Lines: | 6
|
Message-ID: | <1998050401535500.VAA00298@ladder01.news.aol.com>
|
NNTP-Posting-Host: | ladder01.news.aol.com
|
Date: | 04 May 1998 01:53:55 GMT
|
Organization: | AOL http://www.aol.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Is there a way that i can spawn a real mode program, into extended memory?
i have tried spawnx, and system but none of those work. Is there a way?
Malcolm
Malcolm
malcolmj7 AT aol DOT com
members is
>32 bits for efficiency. Shorts get padded to 32 bits, hence you have
>4 extra bytes because you have 2 shorts in your struct. The "packed"
>attribute should prevent this, but at the moment I don't recall the
>correct usage.
You can use the '__attribute__ ((packed))' thingy on individual members
OR on the entire struct, but the syntax for the latter escapes me at this
time...
- Raw text -