home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!sdd.hp.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!news.Vanderbilt.Edu!news
- From: BLOOMDA@ctrvax.vanderbilt.edu (_creative_output_)
- Subject: Is this a BaseAddress problem with the Quadra .?.?.?.
- Message-ID: <1992Nov18.232653.13027@news.vanderbilt.edu>
- Sender: news@news.vanderbilt.edu
- Nntp-Posting-Host: ctrvax.vanderbilt.edu
- Organization: Camp Vanderbilt Vision Research Center
- Date: Wed, 18 Nov 1992 23:26:53 GMT
- X-News-Reader: VMS NEWS 1.21
- Lines: 41
-
- Hi, Gals & Guys.
-
- I do pseudo-instantaneous presentation of visual stimuli using
- color table tricks. I.E., I read a byte from video RAM, write
- into only the high or low 4 bits, as desired, and then write
- my byte back out. Appropriately managing color tables, I can
- paint an image of up to 16 colors invisibly while another image
- of up to 16 colors is onscreen, then swap them in one VRT.
-
- This technique broke when I tried it on a 24-bit card set to
- 8-bit mode. That's when I learned about incorporating the slot
- number of the video card into the base address:
- ( ( baseAddr >> 24 ) | something ) << 20 | baseAddr, or somesuch
-
- One of my bosses has left town for another University. He took his
- third of my funding, and now I'm part-time here, so I'm incentivized
- to keep supporting him through email.
-
- He has a Quadra.
-
- My code generates Bus Errors on his machine, during the loop which
- accesses video RAM. This is _similar_ to the errors generated by
- my earlier failure to account for the slot number.
-
- I have 'testing access' to a Quadra 700 here, but not 'development
- access'. That means I can go and bother someone in his office for
- a moment to see if I got it right, and crash his machine many times.
-
- I've gotten a hold of IM v6, the monster, and shall be perusing it
- tonight. It may hold a solution. However, I'm moved to ask you
- folks out there if anyone has a quick hint. Anybody run into this
- difference?
-
- (s)he who helps shall receive a brief burst of good thoughts from
- Music City, U.S.A. and a personal thank-you. I'll check news and
- mail at 2 a.m., so listen up hard for that burst of good karma...
-
- - Dave =(^;|= Dave Bloom, JSPS
- bn: bloomda@vuctrvax
- in: bloomda@ctrvax.vanderbilt.edu
- "Mekka Lekka Hai, Lekka Heinie Ho"
-