Article View: comp.sys.atari.st
Article #17573Reading a Lores Screen
From: bferrer
Date: Wed, 06 Mar 1991 06:21
Date: Wed, 06 Mar 1991 06:21
21 lines
772 bytes
772 bytes
Given a pointer to a lores screen, how can I read a pallete number
from the screen without using the linea routines but with pointer
manipulation? Can I just write:
char Color_Number, *Screen;
int x,y;
Color_Number = Screen[x/2 + 160*y];
then manipulate the byte to get the pallete number? If possible
please send some example C source code to my email address:
bferrer@bonnie.ics.uci.edu
thanks....
In a state of confusion,
Bill Ferrer
Technical Details
Message-ID:
<9103052219.aa11315@Bonnie.ics.uci.edu>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!orion.oac.uci.edu!ucivax!gatewayShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!orion.oac.uci.edu!ucivax!gateway From: bferrer@Bonnie.ICS.UCI.EDU Newsgroups: comp.sys.atari.st Subject: Reading a Lores Screen Message-ID: <9103052219.aa11315@Bonnie.ics.uci.edu> Date: 6 Mar 91 06:21:28 GMT Lines: 21