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


Forums > C64 Composing > Using a real C64 for jsidplay2 sound output
2017-02-27 20:25
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....
 
2017-02-28 09:06
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)
2017-02-28 09:10
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.
2017-02-28 18:39
kenchis

Registered: Jan 2008
Posts: 65
Quoting Groepaz
to 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.
2017-02-28 18:48
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)
2017-02-28 18:56
kenchis

Registered: Jan 2008
Posts: 65
Quoting Groepaz
you 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
:-)
2017-02-28 19:04
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.
2017-02-28 19:17
kenchis

Registered: Jan 2008
Posts: 65
Quoting Groepaz
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.


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...
2017-02-28 19:28
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
2017-03-02 09:13
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/
2017-03-02 09:54
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
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
acrouzet/G★P
Guests online: 79
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Diskmag Editors
1 Jazzcat  (9.4)
2 Magic  (9.4)
3 hedning  (9.2)
4 Newscopy  (9.1)
5 Elwix  (9.1)

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