Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
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/
2017-02-27 20:40
chatGPZ

Registered: Dec 2001
Posts: 11088
you can do remote reset on chameleon by doing a dummy write to 0x80000000 with chacocmd.
2017-02-27 20:43
Oswald

Registered: Apr 2002
Posts: 5007
this guy recorded every sid in hvsc from real c64s

http://www.6581-8580.com/
2017-02-27 21:26
chatGPZ

Registered: Dec 2001
Posts: 11088
(since the chameleon usb stuff is open source making support for that should be easy enough)
2017-02-28 07:10
kenchis

Registered: Jan 2008
Posts: 65
Quoting Groepaz
you 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 :-)
2017-02-28 07:53
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/
2017-02-28 09:06
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)
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: 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)
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
:-)
 
... 5 posts hidden. Click here to view all posts....
 
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
Act-Otl/Outlaws
hedning/G★P
Magic/Nah-Kolor
Apollyon/ALD
t0m3000/ibex-crew
Chrom_
zscs
Guests online: 356
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

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