Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!apple!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.sys.amiga.tech Subject: Re: Need assembly SetRGB4 help Message-ID: <10671@well.UUCP> Date: 10 Feb 89 08:15:01 GMT References: <3806@ingr.com> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Organization: Boing Boom Tschak Lines: 20 Quote: "Logic is wreath of pretty flowers, which smell *bad*." -- Spock In article <3806@ingr.com> crooks@ingr.com (Steve Crooks) writes: >Help! The following code should change the Workbench screen's block pen >to white. It doesn't work. It doesn't change any of the colors at all. What color does the block pen start out in? > moveq.l #15,d1 ;load colors to make it white ^^ This is redundant; MOVEQ implies .l You're feeding 15,15,15 to the block pen. If you're using the default WorkBench colors, the block pen (which is what the WorkBench screen's titlebar is drawn with) is *already* 15,15,15. So it would be unsurprising that you wouldn't see a change. Try different values and see what happens. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape INET: well!ewhac@ucbvax.Berkeley.EDU \_ -_ Recumbent Bikes: UUCP: pacbell > !{well,unicom}!ewhac O----^o The Only Way To Fly. hplabs / (pronounced "AE-wack") "Work FOR? I don't work FOR anybody! I'm just having fun." -- The Doctor