Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > C64 Coding > Weird graphics glitches with a SCPU program
2016-10-27 15:14
Majikeyric

Registered: Sep 2002
Posts: 72
Weird graphics glitches with a SCPU program

Hi coders,

I'm actually working on a game engine for SCPU (yes there are crazy people ;)
the following video shows a bitmap scrolling with the Aladdin character made of sprites, I can't understand why there are those glitches in the bitmap (when there are no sprites on screen, there are no more glitches..).

https://www.youtube.com/watch?v=dAgFAMAYiyA

Did some of you already experience that problem ???
Is it VIC-II or SCPU related ???
2016-10-27 15:35
Oswald

Registered: Apr 2002
Posts: 4010
looks like a timing problem in your code, exactly when middle gray raster line on border shows up the glitch occurs. maybe you copy new data into bitmap while its being shown ?
2016-10-27 15:38
AmiDog

Registered: Mar 2003
Posts: 89
The usual suspect when I have weird issues when doing SCPU coding, is that I've forgotten to switch the CPU to 8bit accumulator when accessing the IO area and thus end up overwriting a register I wasn't supposed to be touching :-)
2016-10-28 19:02
Thunder.Bird

Registered: Nov 2003
Posts: 60
Maybe it has something to do with your previous SCPU Problem?
https://www.youtube.com/watch?v=Qqs_XYEsbvY
Also check PSU and PLA
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
ptoing
Thierry
Guests online: 32
Top Demos
1 Uncensored  (9.7)
2 The Shores of Reflec..  (9.7)
3 Edge of Disgrace  (9.7)
4 Coma Light 13  (9.6)
5 Lunatico  (9.6)
6 Comaland 100%  (9.6)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 Comaland  (9.5)
10 Neon  (9.5)
Top onefile Demos
1 Dawnfall V1.1  (9.5)
2 Daah, Those Acid Pil..  (9.4)
3 Treu Love [reu]  (9.4)
4 Dawnfall  (9.3)
5 Tunnel Vision  (9.3)
6 One-Der  (9.2)
7 Goatbeard  (9.2)
8 Globe 2016 [reu]  (9.2)
9 Hardware Accelerated..  (9.2)
10 Safe VSP  (9.1)
Top Groups
1 Booze Design  (9.4)
2 Oxyron  (9.4)
3 Censor Design  (9.4)
4 Crest  (9.3)
5 SHAPE  (9.2)
Top Logo Graphicians
1 Pal  (9.5)
2 Yazoo  (9.3)
3 Mermaid  (9.2)
4 Elko  (9.2)
5 Jailbird  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2017
Page generated in: 0.247 sec.