Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!ut-sally!ut-emx!juniper!dan
From: dan@juniper.UUCP (Dan Galewsky)
Newsgroups: comp.sys.ibm.pc
Subject: How do I point to the frame buffer?
Keywords: C, far pointers, frame buffer,ibm pc
Message-ID: <2784@juniper.UUCP>
Date: 27 Jun 88 17:09:12 GMT
Organization: Austin Unix Users Group, Austin, TX
Lines: 18

Could someone please tell me how to set up a  pointer to the frame buffer
on my PC's CGA from Microsoft C? I know that the frame buffer starts at 
0xb800. So I tried the following :

far char *Screen;
Screen = (char *)0Xb800;

for (i=0;i