Article View: comp.sys.amiga.tech
Article #11401Re: Need assembly SetRGB4 help
From: Leo 'Bols Ewhac' Schwab
Date: Fri, 10 Feb 1989 08:15
Date: Fri, 10 Feb 1989 08:15
20 lines
1494 bytes
1494 bytes
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
Technical Details
Message-ID:
<10671@well.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!apple!well!ewhacReferences:
<3806@ingr.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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