www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/12/20/11:57:35

From: Questa Paolo <questa AT dist DOT dist DOT unige DOT it>
Subject: help me!
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Sun, 20 Dec 92 17:21:26 MET

Hello World!
I've a query for you.
I'm working on a PC 386 40Mhz, with a custom frame grabber at physical
address 0xD000; I would like to read the frame grabber memory, 
display the acquired image on the screen and compute the optical flow.
I've tryed to read the frame memory to this address, but I've discovered that this's the GCC
video memory address, so I have read anything.
I've changed my frame grabber address in 0xC800, but it's the same.
With another compiler (Borland C 3.0) I can do this with MK_FP macro
(make a far pointer to a physical address), but I must use extended
memory, like GCC, so I can't use it!
Is there anybody help me?
Can I use a physical address with GCC?
Can I read at this address? 
And in which way can I do it?

Bye!
          ENRICO MARTINUZZI

e-mail :  questa AT dist DOT dist DOT unige DOT it

PS: Sorry for my English.

- Raw text -


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