Mail Archives: djgpp/1998/08/14/09:30:30
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
: On Thu, 13 Aug 1998, Endlisnis wrote:
: > I need to know that too. I want to use __djgpp_map_physical_memory, but it
: > says I need a page-aligned data-block. What is page-aligned and how to I
: > create/calculate a page-aligned address.
: That's something entirely different. Page-aligned in this context
: means aligned on the 4KB pages used by the PC paging and virtual
^
64k, I think!
: memory mechanisms.
: You get such pages either by calling `sbrk' or by allocating a larger
: block with `malloc' and using a part thereof whose starting address
: has its lower 12 bits zeroed.
Thanks. I was wondering, but I don't think it's possible: How about
mallocing a 128K block, to guarantee getting a whole page in there
somewhere, then free()ing parts of that block that aren't used? I presume
this is not possible...
--
Spam highlights #1 in a series
MOST ESCLUSIVE PRODUCTS AND SERVICES AVAILABLE
1/.Sofware. Turbo Dinc 200.Compression,increase your velocity in internet.
2/.New and revolucionary kit proteccion lamp-shade, 100 x 100.PROTECCION
VISION.relax and confort.
3/.New special cassette.Hipno Neurologiacal Biomusic..3D..THE POWER OF MIND.
- Raw text -