home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!udel!rochester!cornell!uw-beaver!cs.ubc.ca!unixg.ubc.ca!unixg.ubc.ca!rudolph
- From: rudolph@unixg.ubc.ca (Christopher E Rudolph)
- Newsgroups: comp.sys.mac.programmer
- Subject: StripAddress Question.
- Date: 7 Jan 93 05:01:27 GMT
- Organization: The University of British Columbia
- Lines: 23
- Message-ID: <rudolph.726382887@unixg.ubc.ca>
- NNTP-Posting-Host: unixg.ubc.ca
- Summary: A quick question on writing directly to the screen and StripAddress()
- Keywords: stripaddress think c help question
-
-
- Hello all,
-
- I hope this isn't an FAQ, but here goes.
-
- I have been looming over the thrill of writing directly to the screen, and
- I find it very interesting.
- One question though:
-
- Could anyone give me a bit of theory as to why the high byte of the
- starting address of say a color icon has to be stripped before
- accessing video memory.
-
- I did this when I was already in 32bit mode and all I got was garbage
- on the screen. If I omit it I get what I expect.
-
- I am new to this low level stuff and would really appreciate a bit of
- an explanation.
-
- I hope that was clear enough.
-
- Chris Rudolph <rudolph@unixg.ubc.ca>
- ------------------------------------
-