THOMSON MO6 SOUND CARD

Placez ici vos trucs et astuces, étalez sans retenue votre savoir-faire et votre science qui va nous permettre de redonner une apparence neuve et fonctionnelle à nos bouzes.

Modérateurs : Papy.G, fneck, Carl

Avatar de l’utilisateur
hlide
Messages : 3495
Inscription : 29 nov. 2017 10:23

Re: THOMSON MO6 SOUND CARD

Message par hlide »

Merci !
Bentoc
Messages : 178
Inscription : 14 sept. 2019 13:35
Localisation : Var - France

Re: THOMSON MO6 SOUND CARD

Message par Bentoc »

Daniel a écrit : 23 nov. 2020 08:50
dinoprodest a écrit : 22 nov. 2020 23:31 je voudrais demander à Daniel s'il peut insérer cette carte dans l'émulateur DCMOTO.
Malheureusement je n'ai pas le temps. Depuis plusieurs années déjà je dois ajouter à dcmoto l'émulation du synthétiseur vocal MEA8000 et je n'ai pas encore commencé. J'ajoute le SN76489 dans la 'to do list', mais il y a peu d'espoir de réalisation rapide.
Daniel, si d'aventure tu te lançais dans ce projet :
Gens contient un emulateur SN76489 écrit en c (fichier psg.c). Il a été écrit par Stéphane Dallongeville (gens@consolemul.com).
Le code source est téléchargeable ici http://www.gens.me/downloads.shtml
Daniel
Messages : 17410
Inscription : 01 mai 2007 18:30
Localisation : Vaucluse
Contact :

Re: THOMSON MO6 SOUND CARD

Message par Daniel »

Je vais attendre que la carte soit finalisée et qu'il y ait quelques utilisateurs. Si elle a du succès j'essaierai de l'émuler.
Daniel
L'obstacle augmente mon ardeur.
dinoprodest
Messages : 312
Inscription : 01 févr. 2020 20:31
Localisation : Rome - Italy

Re: THOMSON MO6 SOUND CARD

Message par dinoprodest »

Daniel, je pense qu'il serait utile de laisser les utilisateurs essayer le tableau émulé avant de le construire. Les spécifications sont assez définies et simples. Une adresse d'écriture, puis le reste est la spécification sn76489an.
dinoprodest
Messages : 312
Inscription : 01 févr. 2020 20:31
Localisation : Rome - Italy

Re: THOMSON MO6 SOUND CARD

Message par dinoprodest »

En fait, pour un usage personnel j'ai déjà modifié l'émulateur :D pour intégrer la carte, et j'en avais besoin pour développer un séquenceur en ASM et basique.
dinoprodest
Messages : 312
Inscription : 01 févr. 2020 20:31
Localisation : Rome - Italy

Re: THOMSON MO6 SOUND CARD

Message par dinoprodest »

https://filebin.net/k88e7ruy12hdows9

the link contains small basic demo of sn76489 sound emulated.😀
Bentoc
Messages : 178
Inscription : 14 sept. 2019 13:35
Localisation : Var - France

Re: THOMSON MO6 SOUND CARD

Message par Bentoc »

That’s nice ! Did you try to play some psg files from master system to see if it works ?
dinoprodest
Messages : 312
Inscription : 01 févr. 2020 20:31
Localisation : Rome - Italy

Re: THOMSON MO6 SOUND CARD

Message par dinoprodest »

Bentoc, no i didn't.
I need some small files that i can stream to address device.
Bentoc
Messages : 178
Inscription : 14 sept. 2019 13:35
Localisation : Var - France

Re: THOMSON MO6 SOUND CARD

Message par Bentoc »

Try this one and tell me if it works :
test.rar
(826 octets) Téléchargé 109 fois
Edit : changed the file with the good one ...
Dernière modification par Bentoc le 21 févr. 2021 23:15, modifié 3 fois.
dinoprodest
Messages : 312
Inscription : 01 févr. 2020 20:31
Localisation : Rome - Italy

Re: THOMSON MO6 SOUND CARD

Message par dinoprodest »

Thank you very much. Have i to stream it to address board?
Bentoc
Messages : 178
Inscription : 14 sept. 2019 13:35
Localisation : Var - France

Re: THOMSON MO6 SOUND CARD

Message par Bentoc »

I replaced the file in my post with the good one (.psg) sorry for that.

Here is the file format :
PSG file format.rar
(747 octets) Téléchargé 111 fois
Search for PSGlib in GitHub, it's part of the sms dev kit.
There is also a tool (vgm2psg) that I used to convert VGM files from smspower website to a psg file.
dinoprodest
Messages : 312
Inscription : 01 févr. 2020 20:31
Localisation : Rome - Italy

Re: THOMSON MO6 SOUND CARD

Message par dinoprodest »

Benntoc, i played the wrong file.
In fact It was miscellaneus of melody and random noise.
Today i'll test the last file you have posted.
Thank you.
Have a good day.
Bentoc
Messages : 178
Inscription : 14 sept. 2019 13:35
Localisation : Var - France

Re: THOMSON MO6 SOUND CARD

Message par Bentoc »

For the (second) sample I send to you, there is no loop and no compression. So all you have to do is :

read and send data until you have :
$00 : end of data
$38-$3f : end of frame, wait 0-7 additional frames
dinoprodest
Messages : 312
Inscription : 01 févr. 2020 20:31
Localisation : Rome - Italy

Re: THOMSON MO6 SOUND CARD

Message par dinoprodest »

Sorry Bentoc, but i don't understand the timing protocol.
1cctdddd is the latch command
01dddddd is the additional data to latched channell.

is the timing control on the 3th parameter ?
00nnnnnn
dinoprodest
Messages : 312
Inscription : 01 févr. 2020 20:31
Localisation : Rome - Italy

Re: THOMSON MO6 SOUND CARD

Message par dinoprodest »

ok i think i have understand.
The frames are separated and delayed by 38-3f values.
0 - 7 adds n frame waits.
Répondre