Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uflorida!mephisto!prism!prism.gatech.EDU!gb7 From: gb7@prism.gatech.EDU (Joe Bradley) Newsgroups: comp.os.msdos.programmer Subject: point to an address above 1M ? Message-ID: <14016@hydra.gatech.EDU> Date: 24 Sep 90 13:38:12 GMT Sender: gb7@prism.gatech.EDU Distribution: usa Organization: Georgia Tech Research Institute Lines: 16 Can someone tell me how to set a pointer (in MS C) to an address above 1M? I have a video card which maps its video RAM into the PC address space from 8M - 10M. I want to access video RAM directly, but I can't initialize a pointer to this address range presumably because I only have 16 bits of addressability with the segment portion of a huge pointer. I don't see how you can point to a physical address above FFFF:FFFF ?! I tried the following, but the compiler gives the error: "Constant too big." #define VIDEO_BASE 0x800000000 main() { unsigned char huge *ram_p; ram_p = ( unsigned char huge * )VIDEO_BASE; }