Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user eightbitswide ! (Registered 2024-12-24) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Playing SIDs on the 64
2005-08-29 07:22
Sasq

Registered: Apr 2004
Posts: 156
Playing SIDs on the 64

So, anyone has some insights on how to make sid player as compatible as possible?

This is what I'm currently doing, and it works reasonably well:

- Put the player on $100-$180 (seems to be a bit more safe than $400). Of course it's best to use the reloc info in the SID if it exists, but often it doesn't.

- Clear all SID-regs before each subtune, except #$F -> $D418.

- Check the high nibble of the init adress, and set banking accordingly.


Things that doesnt work:

Some obviously broken SIDs, like Mikey who has its Init under ROM but still puts #$37 in $01. Playsid64 handles this though, not sure how you do that without actually checking the code for such things.

RSID. What I first thought was a good thing turns out to be stupid, since many of them put the player in the INIT and there is no way of changing song without resetting (or maybe use NMI to break it ?)
Also the ones that do install an interrupt and return like they're supposed to often break when you try to switch songs.


Thoughts, comments, anything to add?




 
... 14 posts hidden. Click here to view all posts....
 
2005-08-31 16:17
Steppe

Registered: Jan 2002
Posts: 1510
@Macx: The beauty of it would be that it doesn't need support from the player side. Everything would already be there in the .sid file. So if you're one of the 10 happy guys on this planet who owns a sampler, choose the _PSID file and you get crystal clear sample sound. Well, at least in my dreams. ;-)
2005-08-31 17:15
Frantic

Registered: Mar 2003
Posts: 1648
I'm not 100% sure of course, but I don't think MacX referred to a PSID-player requiring special hardware, but to a good sidplayer for the C64 in general (and included in the MMC64-software more specifically).
2005-08-31 18:07
Inge

Registered: Nov 2003
Posts: 144
I don't have a clue about that sfx sound sampler thing, so if someone can enlighten me....

Inge
2005-08-31 18:37
macx

Registered: Mar 2002
Posts: 255
autoboy is, as so very often, correct. what would be even more nice would be if it would be run:able in basic or not interfere with silent programmes (like drazpaint).
2005-09-01 07:04
Sasq

Registered: Apr 2004
Posts: 156
Quote: autoboy is, as so very often, correct. what would be even more nice would be if it would be run:able in basic or not interfere with silent programmes (like drazpaint).

Dream on :)
Maybe you could support programs running out of RR ROM though. That adapts its memory usage to the SID being played :)
2005-09-01 09:36
Graham
Account closed

Registered: Dec 2002
Posts: 990
@Inge: The Sound Sampler is part of the SFX series of Commodore. It plugs to the expansion port of the C64 and offers an 8 bit ADC and an 8 bit DAC both dedicated for audio.

Here's a picture of it:

http://www.floodgap.com/retrobits/ckb/secret/cbm-sndsmp.jpg

It shares the same case as the Magic Voice and the Sound Expander:

http://www.floodgap.com/retrobits/ckb/secret/cbm-mv.jpg
http://www.floodgap.com/retrobits/ckb/secret/cbm-sndexp.jpg
2005-10-09 09:16
Bastet

Registered: Jul 2005
Posts: 88
I ahve some other problems with the mmc64-sidplayer.
Some tunes play correctly but if i exit to fileman he crashes.
A reset wont wake him up, i need to switch my C128D off and after 10 seconds on again. Repeat if i cant get into the filemanager from the startmenu. :-/

Other missbehaviour:
fall_guy.sid is way too muted.
antic_war.sid says "digital" and then i get a gray screen.
Sometimes i get just some garbage on the screen and i need to do the 10 second cold start.

Maybee it would be a great idea to detect a C128 and use the extra RAM for moving the player into upper memory?
2005-10-09 10:26
Steppe

Registered: Jan 2002
Posts: 1510
The idea is nice, but this is the wrong place to suggest it. Contact Oli Achten directly (email should be in the manual or in the MMC64 programming guide on www.ami.ga).

And don't blame everything on the player, often the rips are responsible for this. Especially RSID files set up their own interrupt handler and take full control of the machine in order to play correctly.

Still, the 10 seconds wait is a strange thing.
2005-12-09 06:08
6R6

Registered: Feb 2002
Posts: 245
Here's a little sidplayer i did.
Sids that relocates itself elsewhere than the
actual load adress might crash.

http://home.eunet.no/~ggallefo/tools/SIDPLAY64_beta.zip

Works best with action replay,

Glenn
2005-12-09 17:55
Bamu®
Account closed

Registered: May 2005
Posts: 1332
Haa, I wish mmc64 would offer such a nice player. :-)
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
Peacemaker/CENSOR/Hi..
slimeysmine
Martin Piper
No-XS
E$G/HF ⭐ 7
Guests online: 110
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 Copper Booze  (9.6)
5 X-Mas Demo 2024  (9.5)
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 Musicians
1 Rob Hubbard  (9.7)
2 Mutetus  (9.7)
3 Jeroen Tel  (9.7)
4 Linus  (9.6)
5 Stinsen  (9.6)

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