08 September 2022, 17:28 | #1 |
Registered User
Join Date: Mar 2020
Location: Duesseldorf / Germany
Posts: 39
|
Problems with Scroll and DisplayLibrary
Hi there,
I've some problem with the Scroll command and DisplayLibrary. If I use Scroll with slice all looks fine. If I use Scroll with InitCopList I get color glitches. I've attached both scripts with the image in the zip archive. What is the issue? Last edited by AmiNju; 08 September 2022 at 17:50. |
08 September 2022, 18:20 | #2 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,381
|
I'm not sure the Scroll itself is the issue if the originally loaded portion of the bitmap is also showing glitches. A quick look at the code makes me thing you're setting up the Coplist with 6 bitplanes, but the bitmap is 5 bitplanes. So the coplist is going to display an extra plane of garbage, which I guess is what you're seeing there. Try $15 instead of $16 for the Coplist flags parameter.
|
08 September 2022, 18:37 | #3 |
Registered User
Join Date: Mar 2020
Location: Duesseldorf / Germany
Posts: 39
|
OMG....you're right. I've changed to 6 Bitplanes in the BitMap command and now the garbage is away...rookie mistake...
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Scroll speed? | MrGuppy | Coders. Asm / Hardware | 8 | 26 October 2020 18:04 |
Updating part of a CopperList's palette? (DisplayLibrary) | earok | Coders. Blitz Basic | 3 | 29 August 2018 02:49 |
How to scroll horizontally? | AChristian | Coders. Asm / Hardware | 13 | 20 August 2018 17:14 |
The proper way of disabling a sprite? (Using DisplayLibrary) | earok | Coders. Blitz Basic | 6 | 05 June 2018 10:36 |
help me smooth scroll | rusty71 | support.WinUAE | 7 | 21 November 2011 15:36 |
|
|