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 > other platform sid relocate tool ?
2007-04-04 00:23
Trifox
Account closed

Registered: Mar 2006
Posts: 108
other platform sid relocate tool ?

hi all,

now i want to move my sid files in memory, to make some space for gfx, what is the EASIEST way to relocate a sid ?
 
... 12 posts hidden. Click here to view all posts....
 
2007-04-04 11:02
Trifox
Account closed

Registered: Mar 2006
Posts: 108
i have a sid tune, ranging from $1000 to $2400

so it should be no problem to have the image from $3000-$3fff with $0400-$07ff and $d800-somewhere in mem,

are these ranges correct?
2007-04-04 11:22
Scout

Registered: Dec 2002
Posts: 1570
Quote: i have a sid tune, ranging from $1000 to $2400

so it should be no problem to have the image from $3000-$3fff with $0400-$07ff and $d800-somewhere in mem,

are these ranges correct?


This configuration should be no problem.
2007-04-04 15:00
Mace

Registered: May 2002
Posts: 1799
Quote: i have a sid tune, ranging from $1000 to $2400

so it should be no problem to have the image from $3000-$3fff with $0400-$07ff and $d800-somewhere in mem,

are these ranges correct?


Image?
As in full screen picture?
Then the memory should be $2000-$3f3f.

But since you have music up till $2400, I'd recommend you put the picture at $4000-$5f3f and the screenmatrix at $6000-$63e7. $d800-$dbe7 is unchanged, of course.
Now set $dd00 to #$02 and $d018 to #$80 and you're ready.

2007-04-04 15:13
tlr

Registered: Sep 2003
Posts: 1790
Quote: I don't recommend the monitor in Vice; it sucks.

Load the Action Replay cart. binary and use the T, M and I commands.


Or even better use something like Hesmon or CCS-mon that has the 'N' new locate command so you don't have to do it entierly manually.
2007-04-04 19:14
Trifox
Account closed

Registered: Mar 2006
Posts: 108
thank you dudes, somehow i thoug gfx would range from $3000 to $4000 but, this would be only 4 k ;)

ok, ich have to drag it a bit farther ;)

damn, 8k is so much bytes for the good old c64
2007-04-04 19:16
Scout

Registered: Dec 2002
Posts: 1570
Quote: thank you dudes, somehow i thoug gfx would range from $3000 to $4000 but, this would be only 4 k ;)

ok, ich have to drag it a bit farther ;)

damn, 8k is so much bytes for the good old c64


Why don't you compress the gfx and decompress it on the fly.
There are some RLE packers (including mine ;-) here @ csdb which you could use.
2007-04-04 19:23
tlr

Registered: Sep 2003
Posts: 1790
Quote: thank you dudes, somehow i thoug gfx would range from $3000 to $4000 but, this would be only 4 k ;)

ok, ich have to drag it a bit farther ;)

damn, 8k is so much bytes for the good old c64


You can probably split your tune into many small parts scattered into free space between graphics.
6Kb, that's 25 blocks. Almost Galway-big. ;)
What player?
2007-04-05 08:08
Hein

Registered: Apr 2004
Posts: 954
I'd place screendata initially at $4400-$47e8 (so you dont have to transfer your screendata after depacking), colourmem initially at $4000 and bitmap at $6000-$7f40. Leaves you $4800-$6000 for sprite data. (and maybe $4000-$4400 after transfering your colourmem data.)

I remember having a tool to convert Hubbard tunes, but this hardly worked, since Hubbard's player was constantly improved.
2007-04-05 08:49
Scout

Registered: Dec 2002
Posts: 1570
Quote: I'd place screendata initially at $4400-$47e8 (so you dont have to transfer your screendata after depacking), colourmem initially at $4000 and bitmap at $6000-$7f40. Leaves you $4800-$6000 for sprite data. (and maybe $4000-$4400 after transfering your colourmem data.)

I remember having a tool to convert Hubbard tunes, but this hardly worked, since Hubbard's player was constantly improved.


Indeed, what Hein proposed.
You're not bound to the $2000-3fff area at all but it seems setting $DD00 too scares some coders off ;-)
2007-04-05 12:39
Trifox
Account closed

Registered: Mar 2006
Posts: 108
well thank you for the hints :)
but i won't move much of my 10.000 lines of codes in memory ;)
for brakpoint i have a cheaper version implemented ;)
Previous - 1 | 2 | 3 - 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
Da Snake
BYB/Hokuto Force
Rick/F4CG
Paul Bearer
rexbeng
WVL/Xenon
psych
Peacemaker/CENSOR/Hi..
Guests online: 125
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
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 NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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