| |
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/ |
|
... 5 posts hidden. Click here to view all posts.... |
| |
chatGPZ
Registered: Dec 2001 Posts: 11101 |
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: 11101 |
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
:-) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11101 |
Quote:Yes, the thing is automatic playback should be done without user interaction. If a SID ends, the next sid should be played.
as said, that is no problem - you have to go to basic *once*. the remote reset will NOT go to the menu. its the same as pressing the reset button, not the menu button. |
| |
kenchis
Registered: Jan 2008 Posts: 65 |
Quoting GroepazQuote:Yes, the thing is automatic playback should be done without user interaction. If a SID ends, the next sid should be played.
as said, that is no problem - you have to go to basic *once*. the remote reset will NOT go to the menu. its the same as pressing the reset button, not the menu button.
Thank you, i did not know that :-)
I will playing around with it for awhile.
P.S.
I have an additional question, not related to SID playback, but related to chameleon and PC connection:
Is it possible to single step a C64 from a PC?
Currently dreaming of a real comparison between emulation and real thing in a debug single stepping session.
I did something similar between VICE and JSIDPlay2 in the past.
*Hehehe* its not that important i am just thinking... |
| |
chatGPZ
Registered: Dec 2001 Posts: 11101 |
no, thats not possible due to the way the core is designed - ie its designed to run in cartridge mode in sync with the real c64. and since you cant stop the real c64, you cant stop the core either. when/if we do a successor that is fpga only, that kind of stuff will perhaps be possible.
that said, right now VICE is still more accurate than the core, so that wouldnt be terrible useful for comparison =P |
| |
kenchis
Registered: Jan 2008 Posts: 65 |
Now it seems, i can send tunes and play, but there is currently a restriction:
I do not get sound output of the REAL SID chip, only using the emulated SID of the Chameleon.
Is it a restriction by design or am i doing something wrong? I cannot find a configuration option for the real chip on the chameleon.
Since i want to play on the real chip, that is a KO criteria :-(
I am hoping its possible,
Ken
Edit: I connect sound output from Chameleon into my speakers. I as well tried Antenna sound output.
Configured was:
"SID Emulagtion" Stereo at $D500
"SID Real Stereo" Chip: Mono
---
Searching for a SID player, that fits your needs?
http://sourceforge.net/projects/jsidplay2/ |
| |
chatGPZ
Registered: Dec 2001 Posts: 11101 |
uhm, you should always get sound from the real SID too - are you sure its not broken? do you get sound from it without the chameleon? |
Previous - 1 | 2 - Next |