| |
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.... |
| |
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 ... :) |
| |
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 ;-)
|
| |
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.... |
| |
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? |
| |
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.) |
| |
Style
Registered: Jun 2004 Posts: 498 |
I hope 'SEK' are equivalent to 'cents' :)
|
| |
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. |
| |
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 |
| |
tomz Account closed
Registered: Sep 2006 Posts: 39 |
$9 Ausssie should be ok for a motherboard even without the SID chip...... |
| |
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 |