home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20853 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.1 KB

  1. Path: sparky!uunet!wupost!udel!rochester!cornell!uw-beaver!cs.ubc.ca!unixg.ubc.ca!unixg.ubc.ca!rudolph
  2. From: rudolph@unixg.ubc.ca (Christopher E Rudolph)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: StripAddress Question.
  5. Date: 7 Jan 93 05:01:27 GMT
  6. Organization: The University of British Columbia
  7. Lines: 23
  8. Message-ID: <rudolph.726382887@unixg.ubc.ca>
  9. NNTP-Posting-Host: unixg.ubc.ca
  10. Summary: A quick question on writing directly to the screen and StripAddress()
  11. Keywords: stripaddress think c help question
  12.  
  13.  
  14. Hello all,
  15.  
  16. I hope this isn't an FAQ, but here goes.  
  17.  
  18. I have been looming over the thrill of writing directly to the screen, and
  19. I find it very interesting.
  20. One question though:
  21.  
  22.     Could anyone give me a bit of theory as to why the high byte of the
  23.     starting address of say a color icon has to be stripped before 
  24.     accessing video memory.
  25.  
  26.     I did this when I was already in 32bit mode and all I got was garbage
  27.     on the screen.  If I omit it I get what I expect.
  28.  
  29.     I am new to this low level stuff and would really appreciate a bit of
  30.     an explanation.
  31.  
  32. I hope that was clear enough.
  33.  
  34. Chris Rudolph <rudolph@unixg.ubc.ca>
  35. ------------------------------------
  36.