www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/25/05:30:20

Date: Fri, 25 Mar 1994 02:13:14 -0800
From: hanssen AT netcom DOT com (Greg Hanssen)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Memory usage..

Hello folks..
  I'm using the DJGPP 386 C compiler to whip up some small utilities for
a hardware project I'm working on.  I need to make use of the PC's DMA
to load in 128kbytes at a time from the 16bit DMA channel.  Having no clue
as to where I should put this block of data, I searched thru the 1st Meg to
see where some unused RAM may be... I ended up using address 0x60000-0x7ffff
which shows up in djgpp as 0xe0060000-0xe007ffff (as the 1st Meg is mapped
up to E-zillion).  What I'd really like to know is: Where is my program
executing from when running the GO32 extender?  Where is my data? and how
much less ram would the computer need (or perhaps how much more program/data
can I add) before I blow large holes in my software by DMAing to 0x60000...
If anyone could supply me with information on how the memory map is whipped
up in protected mode (and how the 1st meg fits into this) I'd really 
appreciate it!  I'm not on this mailing list so please reply in Email.
Thanks in advance!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019