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 Composing > Help with convert prg to sid
2009-04-29 07:37
Fredrik
Account closed

Registered: Apr 2009
Posts: 204
Help with convert prg to sid

Hello!
I have made some tunes in Cybertracker, and want help to convert them to sid.
Shall I convert the prg-file before i crunch it to basic?

2009-04-29 07:40
Stainless Steel

Registered: Mar 2003
Posts: 966
If it's a singlespeed tune and you're on Windows, just save the tune from memory to disk and export it to your harddrive. Mind that you mustn pack the tune with a packer or make it executable. Just save the Tune ($1000 - $2000 i assume).
Then get SidEdit and use it to convert the .prg file to .sid. Voila.
2009-04-29 07:44
Fredrik
Account closed

Registered: Apr 2009
Posts: 204
Thanx!
I have the prg on my harddrive, and I have tried Sidedit, but i can´t get it to work.


2009-04-29 07:47
Stainless Steel

Registered: Mar 2003
Posts: 966
Make sure you saved just the tune, not any irq's for playing the tune or basic headers. Then Make sure you enter the correct values for initAddress and playAddress.
2009-04-29 07:53
Fredrik
Account closed

Registered: Apr 2009
Posts: 204
First, i compose the tune in Cybertracker.

Then i use the executablemaker to make it executable.
I must load the file with ,8,1 and start the tune with sys 18096. (that is $46b0)

In sidedit i have tried to enter $46b0 for the playadress.

But what is the initadress?

I can nothing about machinecode. I only compose :)
2009-04-29 08:11
Stainless Steel

Registered: Mar 2003
Posts: 966
I've just took a look at that executable maker. It saves the tune with a player routine that gets called at $46b0. This isnt the actual tune, but just a piece of machine code to display some screen and play the music in an irq. You cant use that address for Sidedit. I'm looking around the code to find the proper play and init, but i'm at work right now.

2009-04-29 08:15
Fredrik
Account closed

Registered: Apr 2009
Posts: 204
Thankyou!
I am greatful for your help
2009-04-29 08:28
Stainless Steel

Registered: Mar 2003
Posts: 966
I'm sorry but i cant seem to figure out where the init and play calls are in this mess of a code.
I'm sure someone here knows more about the cybertracker format than me. I can try to look into it later on after work if no one else has come up with some information until then.

Sorry.

2009-04-29 08:39
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Send me a tune on nmioaon@hotmail.com and i will find out, and tell you what to do.
2009-04-29 09:50
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
I looked at it..
It seems the player is dependant on poking 1 and 2 into a byte, from outside the irq, at certain times, to play anything. this is really shit..

the init/playhandler is self modifying.. argh!

2009-04-29 10:26
Fredrik
Account closed

Registered: Apr 2009
Posts: 204
So it is impossible to convert it to sid?
Is it more possible to convert it before I make it executable?

I will send you a tune rambones, and you can try to convert it?


 
... 13 posts hidden. Click here to view all posts....
 
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
Codey/Second Dimension
rexbeng
Mojzesh/TGR🇬🇧
Raf/Vulture Design
sachy/BOOM!
sebalozlepsi
MWR/Visdom
Rebok/BOOM!/Tropyx
Guests online: 97
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 X-Mas Demo 2024  (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 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Performers  (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.7)
5 Grim Reaper  (9.3)

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