Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user eightbitswide ! (Registered 2024-12-24) 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
 
... 26 posts hidden. Click here to view all posts....
 
2006-11-01 10:55
itch

Registered: Aug 2006
Posts: 24
Quote: scroll

lda $d011
and #%00000111
tax
dex
bmi supp
dec $d011
...
...

supp

lda $d011
and #247 *** Dont you mean #248?
ora #7
sta $d011

lda $0428
sta $0400
lda $0429
sta $0401
...





Ofcource ... :)
2006-11-01 11:46
Devia

Registered: Oct 2004
Posts: 401
Quote: slap an lda $dd0d to the code above aswell

That would clear any pending serial I/O NMI interrupts too, yes. ...but that's usually not a problem, but for the sake of transparency and good practices and stuff like that, I'd agree it's a good thing to add ;-)

2006-11-01 22:41
itch

Registered: Aug 2006
Posts: 24
I have now tested everything that you guys said. Don't work at that particular c64 machine! .. I tried the code at my friends ( yes i do have friends ;) ) C64 and it worked as a sharm. I think that my c64 is a lost cause, sad but true. This is the end of my investigation....
2006-11-01 23:19
Style

Registered: Jun 2004
Posts: 498
Quote: I have now tested everything that you guys said. Don't work at that particular c64 machine! .. I tried the code at my friends ( yes i do have friends ;) ) C64 and it worked as a sharm. I think that my c64 is a lost cause, sad but true. This is the end of my investigation....

Fix ya 64 ya scum. Powersupply? RAM?
2006-11-02 08:00
Frantic

Registered: Mar 2003
Posts: 1648
@itch: You live in Lund, right? So do I... I might have C64c "motherboard" to spare for 50 SEK or so if you need it a lot. (I will keep the SID though, but you should be able to use the one you have in your machine right now.)
2006-11-02 08:59
Style

Registered: Jun 2004
Posts: 498
I hope 'SEK' are equivalent to 'cents' :)
2006-11-02 10:16
itch

Registered: Aug 2006
Posts: 24
Quote: @itch: You live in Lund, right? So do I... I might have C64c "motherboard" to spare for 50 SEK or so if you need it a lot. (I will keep the SID though, but you should be able to use the one you have in your machine right now.)

Yes :) .. Thanx for the offer, but i have a load of old non working c64's (all different flaws), so i pass this offer :)

50 SEK .. Hmmm .. you'll get a complete c64c for around 200 sek at tradera, so 50 SEK for just the motherboard it a fairly good price i think.
2006-11-02 10:17
Scout

Registered: Dec 2002
Posts: 1570
Quote: I hope 'SEK' are equivalent to 'cents' :)


Just calculated it; 5,50 euros (or almost 9 aussie dollahs).

*no comment* ;-)

---
8Bit Mayhem - The C64 Scenemusic Podcast
http://8bitmayhem.untergrund.net
2006-11-02 10:30
tomz
Account closed

Registered: Sep 2006
Posts: 39
$9 Ausssie should be ok for a motherboard even without the SID chip......
2006-11-02 10:31
Scout

Registered: Dec 2002
Posts: 1570
Quote: $9 Ausssie should be ok for a motherboard even without the SID chip......

IMO they could better meet up in a pub and pay in beer.
/me is just being practical. :)

---
8Bit Mayhem - The C64 Scenemusic Podcast
http://8bitmayhem.untergrund.net
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
The Phantom
aeeben
Exploding Fi../Techn..
Yogibear/Protovision
Guests online: 108
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 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 X-Mas Demo 2024  (9.5)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (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 Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

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