www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/04/20:59:34

Subject: Re: Accessing physical memory
From: Bryanston School <MOLESWORTH DOT THOMAS AT bryanston DOT co DOT uk>
Date: Tue, 04 Jun 1996 21:53:04 +0100
Message-Id: <000000244892916766384@bryanston.co.uk>
Organization: Bryanston School
To: DJGPP <djgpp AT delorie DOT com>
MIME-Version: 1.0

On Sun, Jun 2, 1996, 7:52:15 am GMT Eli Zaretskii wrote:


>
>On Fri, 31 May 1996, Bryanston School wrote:
>
>> Is there a way to access physical memory at a specified address without
>> using farptrs or Fat DS?
>
>What's wrong with these two methods?  Without knowing what is it that you
>are looking for, it is hard to advise you about other ways.
>

Fat DS: Non-standard, doesn't work under Linux DOSEMU, and isn't
portable to Linux.

farptrs: I could use these, but I would prefer to just use
pointers.

I have a PCI video capture board which uses physical memory
to store the data - can I just allocate a buffer in memory
using malloc(), then map the card into this? Will this work,
or will the memory allocated be shuffled around?

Thanks,

Thomas.

- Raw text -


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