Playing C64 SID files in PureBasic

Just starting out? Need help? Post your questions and find answers here.
Lost
User
User
Posts: 63
Joined: Fri Dec 19, 2008 12:24 am
Location: Tasmania

Playing C64 SID files in PureBasic

Post by Lost »

I'm looking for a way to play SID files in PureBasic. I've tried to search the forum but unfortunately came up empty handed.

Any suggestions?
User avatar
idle
Always Here
Always Here
Posts: 5925
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Playing C64 SID files in PureBasic

Post by idle »

User avatar
Peace
User
User
Posts: 14
Joined: Sun Aug 10, 2008 12:14 pm
Location: Then
Contact:

Re: Playing C64 SID files in PureBasic

Post by Peace »

TitchySID by StatMat (MASM & PureBasic): One of the best (smallest) libs I ever used!

Follow the link and look under at the last entry by eNeRGy of Dawn :wink:

http://www.dawncreations.com/index.php? ... pic=289.15
Lost
User
User
Posts: 63
Joined: Fri Dec 19, 2008 12:24 am
Location: Tasmania

Re: Playing C64 SID files in PureBasic

Post by Lost »

Thanks guys, I'll check both of them out.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: Playing C64 SID files in PureBasic

Post by Psychophanta »

Peace wrote:TitchySID by StatMat (MASM & PureBasic): One of the best (smallest) libs I ever used!

Follow the link and look under at the last entry by eNeRGy of Dawn :wink:

http://www.dawncreations.com/index.php? ... pic=289.15
This is very nice. Useful for demos, intros, hackings, crackings, tools...
Thanks!
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: Playing C64 SID files in PureBasic

Post by Psychophanta »

:(
This marvelous SID song does not work with TitchySID 1.2:
http://www.youtube.com/watch?v=Z_tyUNG-eNc
Title: Bombastic.sid by Drax
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 187
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: Playing C64 SID files in PureBasic

Post by majikeyric »

Peace wrote:TitchySID by StatMat (MASM & PureBasic): One of the best (smallest) libs I ever used!

Follow the link and look under at the last entry by eNeRGy of Dawn :wink:

http://www.dawncreations.com/index.php? ... pic=289.15
The link is broken,

is there somewhere TitchySID 1.2 beta for purebasic to download ?

Many thanks :mrgreen:
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: Playing C64 SID files in PureBasic

Post by Psychophanta »

http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 187
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: Playing C64 SID files in PureBasic

Post by majikeyric »

Whaouuu, many thanks Psychophanta !!! :D 8) :lol: :mrgreen:
firace
Addict
Addict
Posts: 947
Joined: Wed Nov 09, 2011 8:58 am

Re: Playing C64 SID files in PureBasic

Post by firace »

Hi majikeyric,

would you still have TitchySID v1.2 for download? I can't find a working link anywhere...
I have version 1.0 and was wondering if some sound emulation bugs were resolved in v1.2.

Thanks!
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 187
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: Playing C64 SID files in PureBasic

Post by majikeyric »

firace
Addict
Addict
Posts: 947
Joined: Wed Nov 09, 2011 8:58 am

Re: Playing C64 SID files in PureBasic

Post by firace »

Awesome, thanks a lot. Can't get it to build with PB 5.30, though. Will try again when I get more time.
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 187
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: Playing C64 SID files in PureBasic

Post by majikeyric »

I can't either, if you have an idea... :?
User avatar
DK_PETER
Addict
Addict
Posts: 904
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: Playing C64 SID files in PureBasic

Post by DK_PETER »

majikeyric wrote:I can't either, if you have an idea... :?
It works just fine..

You just have to use PB x86 version.

Do the following:
Copy the content of the two folders to the corresponding PB x86's folders.

Next go to code:

Change data section:

Code: Select all

DataSection
  SidStart:IncludeBinary ".Skyflash_01.sid":sidend:
EndDataSection
to

Code: Select all

DataSection
  SidStart: 
  IncludeBinary "Skyflash_01.sid"
  sidend:
EndDataSection
Now execute....

Tested with PB x86 5.31 b3
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 187
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: Playing C64 SID files in PureBasic

Post by majikeyric »

Many thanks DK_PETER ! :D

I really wonder why masm32.lib is needed ?
Post Reply