Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!ingr!crooks From: crooks@ingr.com (Steve Crooks) Newsgroups: comp.sys.amiga.tech Subject: Re: Need assembly SetRGB4 help Message-ID: <3898@ingr.com> Date: 12 Feb 89 22:31:47 GMT References: <3806@ingr.com> <10671@well.UUCP> Reply-To: crooks@ingr.UUCP (Steve Crooks) Organization: Intergraph Corp. Huntsville, Al Lines: 40 In article <10671@well.UUCP> ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) writes: >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. I don't use the default colors. I picked white because it would be readily apparent when my program worked. > >_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ >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 . . . . . . . . . . . -- --Steve Crooks ...uunet!ingr!crooks!crooks (UUCP) crooks!crooks@ingr.com (Internet)