rrs@neabbs.UUCP (RONALD VAN EIJCK) (05/26/90)
I recently posted a message about copperlists in KS 2.0. but I didn't receive any answers, so I'll try again. For the display of a 'screen' which has some moving textbars in it, I am using 2 copperlists. Every frame an interrupt creates the copperlist that will be used to display the next frame. This new copperlist is inserted in the system by: GfxBase->LOFlist = nextcopperlist. This worked fine in 1.3, but it doesn't work properly under 2.0. since last message I have experimented a little and got the following results: - The copperlists are swapped and used, the backgroundcolor changes to the right colours and the bars are in the right place. - The text is not displayed, It looks like I am using a 0 bitplane display. (but I am not !!!!!!) - When I swap the copperlists by putting them in COP1LC (reg 0x80 & 0x82) everything works fine. (except that my old view is gone forever and I have to reset to see my workbench again.) What I wan't to know is: - What changes where made to the copperlist organisation in 2.0 ? - How can I insert my own copperlist in a system friendly way. ? Hope somebody can help, Ronald van Eijck R&R Software
rrs@neabbs.UUCP (RONALD VAN EIJCK) (06/05/90)
First I want to thank all the people who send me their suggestions on how to solve my copperlist problems. After reading all the sugestions I have solved the problem using my own build copperlist and inserting it by COP1LC = mycopperlist; I restore the old view with COP1LC = GfxBase->copinit; I know this is not the official way but my programm's run on an amiga 500, 1000, 2000, 2500 and 3000 using ks 1.2, 1.3 and 2.0 so I take my changes for 2.1 3.0 and an amiga 3500 4000 ????? or whaterver. Last: Again I want to thank all the people who send me their suggestions.