| |
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?
|
|
| |
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.
|
| |
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.
|
| |
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. |
| |
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 :)
|
| |
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.
|
| |
Fredrik Account closed
Registered: Apr 2009 Posts: 204 |
Thankyou!
I am greatful for your help
|
| |
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.
|
| |
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. |
| |
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!
|
| |
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 |