🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11530

Change Palette

#11530
From: Kees Houttuin
Date: Mon, 20 Feb 1989 07:54
14 lines
938 bytes

Could someone tell me how I change the color palette of a (custom)screen
and make it *active*? I tried something with LoadRGB4() but this
affects the (WB)screen only after my application ends. 

I suspect I have to make a new copper list to load the new palette.
But I need the View structure for the screen to do that (MakeVport,
MrgCop) and where do I get that address from?

-------------------
Kees Houttuin 
Institute of Human Factors, Soesterberg Netherlands.
houttuin@tnosoes.uucp
Technical Details
Message-ID: <440@tnosoes.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!tnosoes!houttuin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!tnosoes!houttuin
From: houttuin@tnosoes.UUCP (Kees Houttuin)
Newsgroups: comp.sys.amiga.tech
Subject: Change Palette
Keywords: Palette, change colors
Message-ID: <440@tnosoes.UUCP>
Date: 20 Feb 89 07:54:54 GMT
Organization: TNO Institute for Perception, Soesterberg, The Netherlands
Lines: 14