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?


2009-04-29 10:36
Stainless Steel

Registered: Mar 2003
Posts: 966
If all else fails, you can try asking Cyberbrain for help. Him being the person who made Cybertracker.
2009-04-29 17:09
Hate Bush

Registered: Jul 2002
Posts: 465
there's plenty of cybertracker tunes in hvsc, but i have no idea who is responsible for ripping them. nonetheless, i assume that conversion is doable.
2009-04-29 19:24
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Tonhuvudet, send me the tunes, NOT executable packed.
its not impossible, the exe is just heavy shit code..
2009-04-29 23:09
iAN CooG

Registered: May 2002
Posts: 3198
Cybertracker_exe parameters:

PSID (preferable)
init 53A2
play 53E2

RSID (if PSID fails)
init 46B0

using ctpacker is probably better than making a PSID out of an executable ct, which adds unneded code anyway. Just use ctpacker.exe (rtfm!)
http://noname.c64.org/tracker/downloads.php
The .sid file created is the old version 1, just edit it in sidedit to make it a sid v2.
2009-04-30 02:17
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Ah so it was 53a2... i should have just tried it instead of trying to understand the spaghetti.. :)
2009-04-30 07:58
Fredrik
Account closed

Registered: Apr 2009
Posts: 204
THANX Ian and Ram!
But if I want to rip the orginaltunes before executable and before packing.

What is the Init and playadress then?

I will send you a tune before making it executable Rambones,

Thanx again!
2009-04-30 08:38
Fredrik
Account closed

Registered: Apr 2009
Posts: 204
YES!
I did it!

It worked to convert a tune with

PSID (preferable)
init 53A2
play 53E2

Thanx!
2009-04-30 17:47
Fredrik
Account closed

Registered: Apr 2009
Posts: 204
I have made a new sidtune today, now a sidfile.
I am missing a function on this forum, that allow users to upload their sidfiles.
It would be nice to get some feedback from the sids we make.


Greetings from Sweden!
2009-05-01 02:15
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Quote: I have made a new sidtune today, now a sidfile.
I am missing a function on this forum, that allow users to upload their sidfiles.
It would be nice to get some feedback from the sids we make.


Greetings from Sweden!


Nono, you can easily upload sids here!
Create a release, and upload the file, fill the release credits, done!

Be sure to send all the sids to hvsc@c64.org, and we will include them in update #51. (#50 is closed now, coming very soon)
2009-05-01 18:31
Fredrik
Account closed

Registered: Apr 2009
Posts: 204
Thanx Ram!
I have uploaded 2 sids now, but the comments are no good :)

I forgot to tell that I am no professional, but i am proud to get some "noice" from the sid 8580 anyway :)

I have always liked the sound of the sidchip.
2009-05-08 12:10
Fredrik
Account closed

Registered: Apr 2009
Posts: 204
When I convert prg to sid in Sidedit, Where do i choose if the 6581 or the 8580 shall me used?


And, When I play my sids in Sidplayer 64 on my 64, the songs are played to slow, why is that?

greatful for help.

2009-05-08 14:39
LOGAN
Account closed

Registered: Aug 2003
Posts: 71
SIDs playing to slow? Did you use multispeed, or made an NTSC tune? :D
2009-05-08 16:27
Fredrik
Account closed

Registered: Apr 2009
Posts: 204
In sidplayer on the pc it works in the right speed.
It is just in the sidplayer on the 64, that it is to slow.
Very strange!
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
t0m3000/hf^boom!^ibx
astaroth/TRSI
GI-Joe/MYD!
Raf/Vulture Design
Hellcat
Didi/Laxity
The MeatBall
Pitcher/Fairlight
nameless
Fritske
josepzin/Nautilus
MWR/Visdom
TPM/Silicon Ltd
juN3bula/N3U
A3/AFL
Magic/Nah-Kolor
psych
Guests online: 106
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 Graphicians
1 Mirage  (9.8)
2 Archmage  (9.7)
3 Pal  (9.6)
4 Carrion  (9.6)
5 Sulevi  (9.6)

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