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 > Sprite Data in $d000-$dbff?
2011-12-17 15:48
JAC

Registered: Aug 2002
Posts: 57
Sprite Data in $d000-$dbff?

Is there a way to put sprite data in that area? I saves a memory dump of Cybernoid 2 and there should by sprites, but al I see in the memory dump is IO chips and color ram. And how could I save them from VICE?

Cheers, JAC!
2011-12-17 15:54
AmiDog

Registered: Mar 2003
Posts: 97
Sure:

lda #$34
sta $01

; I/O disabled, copy sprite data to $dxxx

lda #$35
sta $01

; IO enabled, setup VIC sprite regs...

As for saving from VICE, I don't know.
2011-12-17 16:25
JCB
Account closed

Registered: Jun 2002
Posts: 241
Same type of thing in VICE, just >1 34 then save a ram dump.
2011-12-17 16:49
iAN CooG

Registered: May 2002
Posts: 3238
or simply
bank ram
which alters only the monitor internal state w/o affecting the actual location
2011-12-17 16:58
chatGPZ

Registered: Dec 2001
Posts: 11523
Quote:
just >1 34 then save a ram dump.

don't forget sfx on before or it wont quite work =P
2011-12-17 22:05
JAC

Registered: Aug 2002
Posts: 57
Thanks, that did the trick. I was not aware the the C64 can really address the complete 64k. On Atari the 2k I/O area RAM is "lost".
2011-12-17 22:17
iAN CooG

Registered: May 2002
Posts: 3238
no wonder, atari sux.
2011-12-18 07:29
JAC

Registered: Aug 2002
Posts: 57
Does VIC always see the data in RAM irrespective of bit 0 or do I have to make sure I clear it only in the blank phase?

@iAN: This is the coding forum, so you should know it the man, not the machine. But thanks for keeping up stereotypes. The 80ies were great...

2011-12-18 08:08
iAN CooG

Registered: May 2002
Posts: 3238
yes, VIC-II does not need $01 banckswitching to see RAM, including that under $d000-ffff, but always sees copies of the chargen rom at $1000-1fff and $9000-9fff
@JAC: anytime bro!1
2011-12-18 10:02
WVL

Registered: Mar 2002
Posts: 924
Just a small note, while the VIC always sees the a copy of the charset at $1000-$1fff and $9000-$9fff, the cpu does not. You can switch wether the cpu should see the char data or not with $01.

Then there's the color memory at $d800-$dbff. The VIC only sees this memory when it fetches color for the screen, but not when it fetches data (normal RAM) for f.e. sprites, chars or bitmap. (not dependent on $01). The CPU can see the color memory or normal RAM, depending on $01.
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
Fungus/Nostalgia
CA$H/TRiAD
sebalozlepsi
Steffan/BOOM!
Guests online: 306
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.054 sec.