From: kunst AT prl DOT philips DOT nl (Pieter Kunst) Subject: Re: virtual->actual memory mapping To: mll AT krypton DOT jsc DOT nasa DOT gov (Mark Littlefield) Date: Mon, 1 Feb 93 10:33:58 MET Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list) Mailer: Elm [revision: 70.30] Mark L. Littlefield writes: > > We are planning to run a set of djgpp-compiled programs on a 486 > based, VME bus, PC. To work with the bus, we need to access > physical memory above 256 meg (this memory reads and writes directly > to the bus). My question is, how do we work with this memory using > djgpp/go32? > > If anyone has the answer, please send examples if possible. > > Thanks in advance, > > mark > Hello Mark, I've been doing the same thing for a while... You have to add some code to the GO32 program (DOS extender). (If anyone shows you how to do it without patching GO32 I would like to know too !) I had the additonal problem that the access to my VME memory is paged, i.e. I can't access all memory at the same time. I therefore wrote some sort of (automatic) page fault handler specific for the VME memory (but comparable to the video page fault handler of GO32). The netto result is that I can access 16 Mb of VME memory 'directly' at location 0xA0000000 using GO32 programs. (Works fine for me, only requires to redo the patch for every new release of GO32...) If some other user has given you a better clue, I would like to know too. If you are nevertheless interested in the patches let me know so I can spend a bit more time sending them to you. -- Pieter Kunst (kunst AT prl DOT philips DOT nl)