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


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

Registered: Sep 2002
Posts: 83
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 13:35
Oswald

Registered: Apr 2002
Posts: 5017
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 13:38
AmiDog

Registered: Mar 2003
Posts: 97
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 17:02
Thunder.Bird

Registered: Nov 2003
Posts: 109
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
E$G/hOKUtO fOrcE
Exile/Anubis
JEZ
alwyz/udi
Mason/Unicess
kbs/Pht/Lxt
McMeatLoaf
A3/AFL
Guests online: 114
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.037 sec.