| |
kenchis
Registered: Jan 2008 Posts: 65 |
Using a real C64 for jsidplay2 sound output
Hi there,
i recently got a feature request to use a real C64 for sound output of jsidplay2.
I would use a playlist which plays SIDs from that list in any order from the JSIDPlay2 UI.
Is there any hardware/software combination supporting this available?
Features would be:
1. send a SID as prg (PSID64 format, maybe compressed) to C64 and execute it.
2. send RESET after song length has expired and continue with 1.
Everything should happen without user interaction from the C64 side.
I have found USB tools (for easyflash3 or chameleon), that can send data to C64 and execute.
But, playing the next tune without user interaction would not be possible AFAIK.
Any other ideas anyone? (LAN/WLAN/USB based or else?)
Please help.
Or too complicated?
Thanx in advance.
Kind regards,
Ken
Searching for a SID player, that fits your needs?
http://sourceforge.net/projects/jsidplay2/ |
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11088 |
you can do remote reset on chameleon by doing a dummy write to 0x80000000 with chacocmd. |
| |
Oswald
Registered: Apr 2002 Posts: 5007 |
this guy recorded every sid in hvsc from real c64s
http://www.6581-8580.com/ |
| |
chatGPZ
Registered: Dec 2001 Posts: 11088 |
(since the chameleon usb stuff is open source making support for that should be easy enough) |
| |
kenchis
Registered: Jan 2008 Posts: 65 |
Quoting Groepazyou can do remote reset on chameleon by doing a dummy write to 0x80000000 with chacocmd.
Interesting, then i will have a look at the command-line based chaco tool (I have a Chameleon cartridge here).
However, does a network based solution exist?
I think of supporting C64 old and new revision for both SID chip models.
Quoting Oswald
http://www.6581-8580.com/
You mean SOASC, yes i know that project. I already use it for MP3 downloads.
This time is about live playback on a real C64.
But recording would be possible as well - its just a mater of time :-) |
| |
kenchis
Registered: Jan 2008 Posts: 65 |
I did a test using the following commands:
RESET (reset.txt consists of exactly one zero byte):
===
./chacocmd --addr 0x80000000 --writemem ./reset.txt
SEND SID (PRG without start address - first two bytes removed):
===
./chacocmd --addr 0x0801 --writemem radiantx_spiral_silicon_towers.mem
But now i need to start the program...
---
Searching for a SID player, that fits your needs?
http://sourceforge.net/projects/jsidplay2/ |
| |
chatGPZ
Registered: Dec 2001 Posts: 11088 |
to start, put a RUN<CR> into the keyboard buffer... or just use the codenet clone in the repo (which does just that) |
| |
user
Registered: Mar 2011 Posts: 8 |
Hi Kenchis,
I'm the guy that is responsible for this feature request.
I dont know the Chameleon reset mechanism but you could eventually do some trickery when you create a fake module header on $8000 upwards?
* = $8000
.BYTE $09, $80 ; Cartridge cold-start vector = $8009
.BYTE $25, $80 ; Cartridge warm-start vector = $8025
.BYTE $C3, $C2, $CD, $38, $30 ; CBM8O - Autostart key
The good thing is I have an Chameleon and could test your code ;) . Another way to reach the target could be the xlink (http://henning-bekel.de/xlink/)
Edit: groepaz replyed the more flexible approach at time of my writing, seems to be the better solution. |
| |
kenchis
Registered: Jan 2008 Posts: 65 |
Quoting Groepazto start, put a RUN<CR> into the keyboard buffer... or just use the codenet clone in the repo (which does just that)
Yes, this was the plan, but unfortunately reset does not "Reset to Basic". I cannot see the startup screen, but the chameleon menu, instead. Or am i doing something wrong here?
Quoting user
The good thing is I have an Chameleon and could test your code ;)
Thanks for the offer, but I own the module as well.
I will have a look at the xlink feature as well.
Currently i prefer the command line version, this should be easily doable.
Choosing "Reset to basic" from the chameleon menu is a problem currently. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11088 |
you will have to go to basic manually once. is that really a problem? *shrug*
(or configure the chameleon to go directly to basic on powerup) |
| |
kenchis
Registered: Jan 2008 Posts: 65 |
Quoting Groepazyou will have to go to basic manually once. is that really a problem? *shrug*
Yes, the thing is automatic playback should be done without user interaction. If a SID ends, the next sid should be played.
Configuration of chameleon could be a solution. If "Reset to basic" as initial action can be configured on startup, that would be a good solution.
This would be more comfortable
:-) |
... 5 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 - Next |