Mail Archives: djgpp/1993/02/01/06:57:59
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)
- Raw text -