Date: Tue, 26 Apr 94 09:37:19 -0400 From: dj AT ctron DOT com (DJ Delorie) To: CHAHL AT rsbs-central DOT anu DOT edu DOT au Cc: DJGPP AT sun DOT soe DOT clarkson DOT edu Subject: Re: Access to physical locations in protected mode > I am attempting to interface a frame grabber card to a > GCC program. The problem is that the card is memory mapped to > somewhere (software selected) above 10MB. How do I force this > region to be allocated so it can be accessed using pointers ? In DPMI mode, you can use DPMI calls to get a selector that points to this memory range, and use farptr or movedata() to access it. In non-DPMI mode, you can try adding 0xe0000000 to the physical address and go32 may map it for you.