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 > scrolling with $d011
2006-10-31 06:25
itch

Registered: Aug 2006
Posts: 24
scrolling with $d011

Hi! .. I made a nice working screen scroller from the bottom to the top of the screen. It worked fine and looked good in VICE thet is .. BUT when i tested the code at my c64c it did don't work properly... Chars disapering and whole linse invisible...

I used default screen adress ( $0400 ), and copied the default font from rom to ram ( as hardware reference manual told me ), and pointed vic to the new char adress.

What could be wrong ?

//itch
2006-10-31 06:30
Style

Registered: Jun 2004
Posts: 498
youd have to post your code for us to see. It could literally be anything.
2006-10-31 07:50
Oswald

Registered: Apr 2002
Posts: 5094
or try your code with the latest vice version
2006-10-31 08:19
Devia

Registered: Oct 2004
Posts: 401
I have had similar issues every now and then and have only found myself to blame each time ;-) Code running wild and messing up memory might work in Vice but not on the real thing :)

Post your code.
2006-10-31 09:45
HCL

Registered: Feb 2003
Posts: 728
Every time i did a VSP with another bg-color than black, i got several graphical bugs that are not shown in VICE. Also different gfx-bugs may appear on my c128 and c64, so i guess they can be called "bugs" and not "features" ;). Just be careful, test your code alot on the real thing, and never trust the emulator!!
2006-10-31 09:48
JackAsser

Registered: Jun 2002
Posts: 2014
Same as HCL...
2006-10-31 10:55
itch

Registered: Aug 2006
Posts: 24
Quote: Every time i did a VSP with another bg-color than black, i got several graphical bugs that are not shown in VICE. Also different gfx-bugs may appear on my c128 and c64, so i guess they can be called "bugs" and not "features" ;). Just be careful, test your code alot on the real thing, and never trust the emulator!!

Okay.. thanx for the input.
I'm going to test the code om my other c64 and my c128... i soooo want it to work ;).

2006-10-31 15:33
itch

Registered: Aug 2006
Posts: 24
Guess what guys?! At my other c64C it worked fine! .. Both of them are 'C' models .. strange ..
2006-10-31 15:49
JackAsser

Registered: Jun 2002
Posts: 2014
Maybe your stable raster routine is badly implemented and thus it depends on luck when and how you start it perhaps?
2006-10-31 17:11
itch

Registered: Aug 2006
Posts: 24
Quote: Maybe your stable raster routine is badly implemented and thus it depends on luck when and how you start it perhaps?

that's possible, i'm not a skilled coder. But it also works at my c128 !?! .. I paid my basement a visit, dug up all my commodore mashines :) sofar there is 2 real c64/c128 and VICE
against one lonely real c64 ...
2006-10-31 17:45
Oswald

Registered: Apr 2002
Posts: 5094
vertical hardware scrolling is known to be failing on some c64s. it depends on the memory model. this trick modifyes the timing of the vic's ram refresh, and some memory type doesnt likes that -> the memory slowly gets eatan up by garbage. I have my bets that you have this problem.
 
... 26 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 | 4 - Next
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
Andy/AEG
ϵʟʞ/ₐтₐ
Unicorn/TWA
TheEnemy/TREX/THD
Courage
Magic/Nah-Kolor
Guests online: 131
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.7)
4 Acidchild  (9.7)
5 Cash  (9.6)

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