Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > C64 Composing > Using a real C64 for jsidplay2 sound output
2017-02-27 21:25
kenchis

Registered: Jan 2008
Posts: 64
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 10:06
Groepaz

Registered: Dec 2001
Posts: 8115
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 10:10
user

Registered: Mar 2011
Posts: 6
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 19:39
kenchis

Registered: Jan 2008
Posts: 64
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 19:48
Groepaz

Registered: Dec 2001
Posts: 8115
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 19:56
kenchis

Registered: Jan 2008
Posts: 64
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 20:04
Groepaz

Registered: Dec 2001
Posts: 8115
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 20:17
kenchis

Registered: Jan 2008
Posts: 64
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 20:28
Groepaz

Registered: Dec 2001
Posts: 8115
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 10:13
kenchis

Registered: Jan 2008
Posts: 64
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 10:54
Groepaz

Registered: Dec 2001
Posts: 8115
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
apprentix
Stryyker/Tide
akaobi
Bago Zonde/Commocore..
Guests online: 45
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 The Shores of Reflec..  (9.6)
4 Coma Light 13  (9.6)
5 Lunatico  (9.6)
6 Comaland 100%  (9.5)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 Comaland  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 Game of Thrones [2sid]  (9.6)
2 Dawnfall V1.1  (9.5)
3 Daah, Those Acid Pil..  (9.5)
4 Treu Love [reu]  (9.4)
5 Dawnfall  (9.3)
6 SidRok  (9.3)
7 One-Der  (9.2)
8 Tunnel Vision  (9.2)
9 Globe 2016 [reu]  (9.1)
10 Safe VSP  (9.1)
Top Groups
1 Booze Design  (9.4)
2 Censor Design  (9.4)
3 Oxyron  (9.4)
4 Crest  (9.3)
5 Arsenic  (9.3)
Top Fullscreen Graphicians
1 Veto  (9.8)
2 Joe  (9.8)
3 Mirage  (9.7)
4 Jailbird  (9.6)
5 Hein  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2017
Page generated in: 0.913 sec.