| |
taaadpole Account closed
Registered: Jan 2011 Posts: 6 |
Creating a SID from a digi-organizer module?
Hi, I'm a c64 beginner with not much programming knowledge, but I have a lot of experience with various other chipmusic formats besides SID, and have been really interested in the c64 lately.
I made a test song in Goattracker-- http://www.tadpolemusic.us/MAAKPAL.PRG
Then I made a simple Digi-Organizer module to go along with it -- http://www.tadpolemusic.us/KICKSNARE.PRG
It sounds fine when I play them together in Digi-Organizer, now I just need a .SID!
Is that possible without c64 assembly knowledge or programming skills?
My idea was to create a demo using Richard Bayliss' Digi-Organizer+Music Player, and rip a .SID from it using SIDedit. I'm having difficulties with Richard's program though--once I load music, the digi track is unloaded. If I load the music first, no digi track can be loaded.
Any help will be greatly appreciated! I've already spent many hours trying to figure this out, and I'm so frustrated. |
|
| |
iAN CooG
Registered: May 2002 Posts: 3136 |
Yes, you need a bit of coding to make a sid+digiorg play.
http://iancoog.altervista.org/digiorg.rar
Source included, I compile with my own dasm so others have to adapt it to their syntax :)
warning: I just found out that latest Sidplay2.5/w (not really spread probably) never triggers the digis, while it works in earlier sidplay2.x versions, jsidplay2 (McLoaf confirms), vice -vsid. Dunno exactly what's missing, probably a bug in Sidplay2.5...
|
| |
taaadpole Account closed
Registered: Jan 2011 Posts: 6 |
Ah, so it is more complicated than I had hoped. I don't understand a lot of things about what you just showed me...yet. I'll have to do some more reading and experimentation. But what you just showed me will be very helpful. Thanks a bunch! :) |
| |
Frantic
Registered: Mar 2003 Posts: 1628 |
It will take some coding yes, but not necessarily an awful lot, and the code used may be more or less the same each time, for each tune. If you can get someone to help you through it in a little more detail, I am sure you can do it without too much work. |
| |
hukka Account closed
Registered: Nov 2003 Posts: 9 |
Hello,
a number of years ago I made a program for this exact purpose. It's somewhat unfinished and I haven't used it in ages so I can't remember exactly how it's used, but there is a short manual included which should offer some help.
http://hukka.furtopia.org/projects/sidigi/
http://hukka.furtopia.org/projects/sidigi/Sidigi.zip
|
| |
iAN CooG
Registered: May 2002 Posts: 3136 |
hukka: it's for sure a nice crosstool, but I wouldn't encourage using it because it patches the digiorg code to produce PlaySID specific sids, which are obsolete and almost vanished from HVSC. If the code could be updated to generate proper RSID files would be nicer =)
Remember guys, PlaySID is not good for your health, will cause impotency and make baby jesus cry. |
| |
hukka Account closed
Registered: Nov 2003 Posts: 9 |
iAN CooG: Good point. I didn't even remember it creates PSIDs instead of RSIDs. I think I'll try and work on this some when I have the time. Can someone link me to the RSID specs? I could only find dead links. |
| |
Frantic
Registered: Mar 2003 Posts: 1628 |
Is this what you are looking for?
http://cpansearch.perl.org/src/LALA/Audio-SID-3.11/SID_file_for.. |
| |
hukka Account closed
Registered: Nov 2003 Posts: 9 |
Frantic, that's it! Thanks. |
| |
taaadpole Account closed
Registered: Jan 2011 Posts: 6 |
Hukka, thats exactly the type of thing I was looking for! Thanks! If you end up updating it so it makes RSIDs (and so you can change flags to NTSC), that would be even better.
But for now, I'm having problems with Sidigi. I'm able to output a .SID file, but it's broken - the samples play, but the music doesn't.
I open Sidigi, load up MAAKPAL.PRG , the addresses are loaded, they look correct to me. Then I load up KICKSNARE.PRG, and hit 'create SID'. Am I doing something wrong? |
| |
hukka Account closed
Registered: Nov 2003 Posts: 9 |
The whole program seemed broken on Windows 7 now that I tested it. It got the init/play addresses wrong and loading a Digi-Organizer module or a WAV caused an AV.
I have the sources on a different PC, I'll try to work on it sometime this week and implement RSID output. |
| |
hukka Account closed
Registered: Nov 2003 Posts: 9 |
Okay, I've started work on a remake of Sidigi which creates RSIDs.
iAN CooG: I see you've converted my Sidigi-generated SIDs in the HVSC to the RSID format. You seem to have modified the Digi-Organizer player inside those SIDs. Can you tell me what you did to it? It would save me some reverse engineering effort. Right now the only difference between Sidigi-created SIDs and your fixed SIDs seems to be the Digi-Organizer section. |
| |
iAN CooG
Registered: May 2002 Posts: 3136 |
I restored the original digiorg code and added an irq-nmi init routine. check my example posted above for the source. |
| |
DeMOSic
Registered: Aug 2021 Posts: 126 |
hmm. It seems like this sidigi program is gone. web archive also hasnt archived the page. Anywhere where i can still get it? Interested in doing sid digi tunes! |
| |
hedning
Registered: Mar 2009 Posts: 4602 |
iAN CooG or one of the others above might still have the file. If someone has it, please make an entry for it on csdb. |
| |
iAN CooG
Registered: May 2002 Posts: 3136 |
I don't have it, never kept it, as said in my previous posts, I don't encourage using such outdated tool as it produced obsolete PlaySID specific sidfiles. Stay away from it.
Use the simple asm source example posted above, digiorg.rar at my site, shows how to make a onefile of a sid + digiorg then make a sid with RSID header out of the resulting prg. |
| |
hedning
Registered: Mar 2009 Posts: 4602 |
Ian might be correct, but we should archive it anyways. So here it is: Sidigi V0.3. |
| |
DeMOSic
Registered: Aug 2021 Posts: 126 |
Thanks for archiving the software! Ive tried the program that jammer and lman uses for digi but with No luck so This is real helpful! |
| |
bugjam
Registered: Apr 2003 Posts: 2492 |
will try to reach hukka and ask for an update.
Is there no tool to convert PlaySID to RSID?
@hedning: Well done for digging the binary out from whoknowswehere. :-) |
| |
hedning
Registered: Mar 2009 Posts: 4602 |
Quote: will try to reach hukka and ask for an update.
Is there no tool to convert PlaySID to RSID?
@hedning: Well done for digging the binary out from whoknowswehere. :-)
No need. I got the program from Hukka. This is what he has. |
| |
DeMOSic
Registered: Aug 2021 Posts: 126 |
@iAN CooG where is your site? Ive found http://iancoog.altervista.org/ but im not sure if thats the website?
Edit: I found out thats it |
| |
bugjam
Registered: Apr 2003 Posts: 2492 |
Quote: No need. I got the program from Hukka. This is what he has.
Too late. :) He replied and told me he lost the sources, and the update he mentioned up there didn't get very far anyway. He might look into the issue again, though. |
| |
iAN CooG
Registered: May 2002 Posts: 3136 |
Quote: @iAN CooG where is your site? Ive found http://iancoog.altervista.org/ but im not sure if thats the website?
Edit: I found out thats it
you just had to read previous posts to find out when I wrote:
"
Yes, you need a bit of coding to make a sid+digiorg play.
http://iancoog.altervista.org/digiorg.rar
Source included, I compile with my own dasm so others have to adapt it to their syntax :)
"
Sorry to others for repeating posts but seems too hard to read some pages up =) |