Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!pasteur!ucbvax!UMDD.BITNET!BBOURBIN From: BBOURBIN@UMDD.BITNET (Brett S Bourbin) Newsgroups: comp.sys.amiga.tech Subject: multiple viewports and color registers Message-ID: <8804281803.AA28189@jade.berkeley.edu> Date: 28 Apr 88 17:29:37 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 21 Does anyone know of a "Official" way of setting the screen colors of a multiple viewport display, on the second viewport? I have a split display that has different color palettes and I want to write a VBLANK routine to control the colors in the bottom port. I am going to use the VBLANK to fade in and out the colors. Now, I thought that I could use the LoadRGB4() system call during the vblank to change them, but this would not change the Copper list that MakeVPort() and MrgCop() created to do the split screen. I don't think I could issue calls to make a new Copper list during the vblank so I guess my only hope is to go to the hardware directly and create a new Copper list every time I want to change the colors. Now, I have tried very hard to use all system routines and have not gone to the hardware in my game, but I can not see a way to do what I want without direct hardware access. Does anyone else see a better way? Also, does LoadRGB4() change the custom chip color registers along with updating the viewports ColorMap structure? Brett S Bourbin Instructional Computer Programs, University of Maryland bbourbin@umdd.BITNET brett@rover.umd.edu