home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
- From: ddt@ccwf.cc.utexas.edu (David Taylor)
- Newsgroups: comp.unix.aix
- Subject: AARRRRGG! No one can answer this question!!!
- Message-ID: <76399@ut-emx.uucp>
- Date: 23 Jul 92 03:29:15 GMT
- Sender: news@ut-emx.uucp
- Organization: The University of Texas at Austin, Austin TX
- Lines: 39
-
- Oh god, I want to kill someone.
-
- All I ever wanted was direct access to the frame buffer (skyway). I
- want a pointer to the upper left hand corner of the screen called:
-
- char *screen;
-
- And I want a magic routine or set of routines to stick the right address
- in that pointer so that if I did the following:
-
- *(screen + y * 1280 + x) = 23;
-
- it would stick pixel value 23 in the location (x,y) on a screen with a
- width of 1280.
-
- I found out about the GAI (Graphics Adapter Interface) library, and I
- started trying to get ahold of the documentation. Several months
- later, I was led to the ellusive IBM GAI Guard Dogs who riddle you with
- questions trying to get you to justify its use before they release the
- docs. After doing this, about a week later, I received the docs. In
- all 326 pages of this damned documentation, I could not find ANYTHING
- which mentioned ANYTHING about a pointer to the frame buffer.
-
- In desparation, I wrote a program which tried to stick a picture in
- memory locations ranging from 0x0000000 to 0xffffffff to no avail.
-
- One of the GAI Guard Dogs told me on the phone that the screen isn't
- memory mapped. Can this be true or was this guy trying to get rid of
- me?!?!??!! Were the IBM developers so boneheaded as to *not* memory
- map the display? Help! I'm in a sea of ignorance, and I can't get
- smart!
-
- Does ANYBODY KNOW HOW TO DO THIS? Big wet kisses to the soles of your
- shoes if you can help me!
-
- Of course, I don't need to mention that this is trivial and rather
- well-documented on a Sun workstation.
-
- =-ddt->
-