| |
TLF
Registered: Mar 2019 Posts: 9 |
Music Player Routine
I literally have zero clue, how do I take my music file .prg and make it into a file that will load and run on a C64 or emulator?
PSID64 V1.2 was suggested to me but unfortunately the program will not open on my laptop (Windows 10 Pro).
I have some tunes to upload but don't want to have the MOD guys having to clear up after me every time.
I have no access to a real C64 but would use an emulator if needed. |
|
... 2 posts hidden. Click here to view all posts.... |
| |
iAN CooG
Registered: May 2002 Posts: 3132 |
psid64 is a commandline program, you have to open cmd and run it from there. Don't expect some fancy windows mouse friendly program =)
once opened cmd, at commandline, assuming in c:\your_path\ you have psid64.exe and yourtune.sid, type
cd \your_path
psid64 yourtune.sid
Also, better use some filemanager like Far Manager or Total commander to navigate easily. |
| |
Frantic
Registered: Mar 2003 Posts: 1627 |
The SID Factory manual says you can export tunes directly to .sid.
Hit F6, then select "Pack", and then finally:
If you type a filename without an extension, it will actually save to a PRG file as the default. But if you want to save it as a SID file, you have to specify the .sid extension too. Now SID Factory II asks for the title, author and copyright strings, and then saves a SID file. |
| |
TheRyk
Registered: Mar 2009 Posts: 2070 |
As you mentioned, you would use and emulator, of course you can also use PlayIt contained in PlayEm64 V1.2 Tools (and Music) Collection on an emulator.
rename your .SID file to .PRG drop it on a .D64 together with PlayIt, run PlayIt, rest is almost self-explaining (enter filename, enter Playing Time if you want). Rest is done by PlayIt and you find some FILENAME!EXE.prg on the image.
[/endofcommercial] |
| |
TLF
Registered: Mar 2019 Posts: 9 |
Thanks for the input guys, I know I can export as a prg from SF2 but it is not executable. I'm looking again at psid and will Playem64 after that.. :) |
| |
wil
Registered: Jan 2019 Posts: 42 |
If you want to include a SID-File in your own programs, this Stackoverflow discussion might be helpful:
https://stackoverflow.com/questions/40950140/how-to-include-a-s..
But the example there is missing switching the interrupt to 50 HZ VIC (on PAL), which will cause most tunes to play too fast. |
| |
TLF
Registered: Mar 2019 Posts: 9 |
30 odd years ago, I could create a little player typing in hex in the machine code monitor... Can't even manage a cmd line now lol |
| |
TLF
Registered: Mar 2019 Posts: 9 |
TheRyk, I got as far as creating a disc with both files on, opening Playit but the file does not load, or has an error / is incompatible. Does this work with Sid Factory 2 music? It's been exported as a prg.... |
| |
Frantic
Registered: Mar 2003 Posts: 1627 |
Not sure, but I would guess that this program loads .sid files rather than .prg files (since the screenshot shows that it includes information about the author's name and so forth, which is precisely the kind of information that is included in .sid files). So, specify ".sid" when you export from sid factory and try that instead of your .prg file. It won't give you an executable sid tune file of course, but if your goal is to be able to play the tune on the real hardware or in an emulator, that shouldn't matter. |
| |
TheRyk
Registered: Mar 2009 Posts: 2070 |
@TLF: just to make sure we're talking same shit,
source _WAS_ a .SID file - re-indexed to .PRG?
Then try shortening/truncating via [*] as in "FILENAM*"
If even creating .SID file is the issue, there is SID-Edit V4.02+
Anyway, contact me via PM if you feel dead end, then we'll definetely sort out what IS the problem
@Frantic: Thanks for reminding me the documentation's in need of work :) |
| |
Hate Bush
Registered: Jul 2002 Posts: 453 |
Quote: 30 odd years ago, I could create a little player typing in hex in the machine code monitor... Can't even manage a cmd line now lol
https://codebase64.org/doku.php?id=base:sid_programming
you've got two examples of such tiny players here. |
Previous - 1 | 2 - Next |