Archivio

Archivio per la categoria ‘Hardware’

SidPlayer+ – An standalone Psid player

SidPlayer+ – An standalone Psid player.

Ciao a tutti,

Ho voluto provare questo simpatico SID Player di Edu Arana dal design molto carino.

Edu Arana ha utilizzato il codice opensource di Bakisha per il player dei SID (solo Psid), il codice inoltre ha una mia piccola implementazione per il Vu-Meter con tre LED (grazie Edu per averlo scritto sullo stampato).

Conosco discretamente bene il SID Player di Bakisha, qui di seguito troverete diversi LINK al mio blog dove ci sono alcuni esperimenti e implementazioni che ho fatto diversi anni fa.

Non mi sto a dilunguare troppo sulla fedelta’ di questo SID Player, che come ho gia’ detto conosco bene, tutto sommato funziona bene ma siamo lontani anni luce dalla perfezione, almeno per come la intendo io, difatti ho iniziato un’altro progetto che probabilmente conoscerete tutti: The Return of the Hybrid SID Player che oltre ad una ‘quasi’ perfetta emulazione della CPU compensiva di Illegal Opcodes utilizza i SID “originali” o “cloni” per la riproduzione dei brani musicali ed altre simpatiche e utili caratteristiche.

La versione ‘plus’ del SID Player di Edu differisce dalla precedente per l’implementazione del modulo bluetooth, che pero’ non viene fornito.

Come si puo’ osservare dalle foto e dal video ho installato il modulo BlueTooth e la Batteria per renderlo totalmente portatile, la ricarica della batteria avviene tramite USB come un normale cellulare.

AGGIORNAMENTO:

Scrivo questo aggionamento perche’ a qualcuno ha dato fastidio alcune cose che ho scritto.

Con la frase  “Non mi sto a dilunguare … funziona bene ma…” volevo solo dire che l’emulazione del SID , parliamo di EMULAZIONE, non e’ perfetta, io sono purista dei brani SID , dunque per me un brano musicale SID suona perfettamente solo e unicamente utilizzando il chip originale, comunque per il prezzo che viene venduto questo player e’ perfetto e anche molto carino!

Comunque siete sempre i benvenuti a rompermi i coglioni, vi rispondero’ sempre.

Gallery:

Video:

Link:

Digital Display Voltage Meter Bug

Digital Display Voltage Meter Rear

Osservando questi due display a prima vista non si notano grosse differenze.

Errato! il Display dove si legge V2.0 (versione aggiornata del precedente) funziona perfettamente anche se inserito molto vicino al PCB di un’alimentatore Switching, l’altro invece a Random si resetta visualizzando 888 basta allontanarlo di 10 CM dal PCB dell’alimentatore Switching e funziona perfettamente.

Ho voluto condividere questa notizia perche’ non sono l’unico a cui e’ successo questo bizzarro difetto.

Gallery:

Music LED Spectrum Analyzer (Vu-Meter)

Mi sono tolto anche questo sfizio e ho acquistato un’analizzatore di spettro a LED (Vu-Meter), molto carino e di grande effetto ma sicuramente non adatto per applicazioni professionali, ma chi se ne frega!.

Le caratteristiche tecniche sono tante e non molto intuitive per essere modificate con due soli pulsanti posti sul retro.

Comunque le riassumo molto brevemente:

  • Rilevazione automatica Microfono o Ingresso Audio (Jack 3.5mm).
  • Possibilita di disabilitare l’orologio.
  • 12 modalità di visualizzazione.
  • 7 modalità colore.
  • Combinazione di 84 effetti di visualizzazione.
  • 8 modalità di luminosità.
  • Regolazione orologio.
  • 4 modalità di visualizzazione dell’ora.
  • Funzione sveglia.
  • Colore RGB Personalizzato.
  • Alimentazione USB 5v.

Di seguito alcune foto dell’interno.

Molto curioso il pulsante, presumo di reset che non e’ raggiungibile dall’esterno (manca il foro nella scocca) e una spina Micro USB anch’essa non raggiungibile dall’esterno.

Allego i datasheet degli integrati che vengono utilizzati e il manuale in lingua Inglese che mi e’ stato inoltrato via mail, quello disponibile scannando il QR Code del prodotto e’ solo cinese :-D

Gallery:

Download:

source: aliexpress.co

Test dell’OSSC con uscita component Video del TI-99/4A

Testing OSSC through the component Video of the TI-99/4A

Test dell’OSSC con uscita component Video del TI-99/4A

L’ODV-II sebbene e’ posto sopra l’OSSC non viene utilizzato, non lo potuto rimuovere perche’ e’ attaccato con il bioadesivo :D

Gallery:

Qui di seguito i miei presets in formato binario dell’OSSC con firmware v0.90.

  • 0: Amiga RGB
  • 1: Amiga Overscan RGB
  • 2: Commodore 64 Svideo through ODV-II
  • 3: SupaBoy RGB
  • 4: TI-99 YPbPr
  • 5: Apple II+ Composite through ODV-II

Download: OSSC Binary Presets (197)

Greaseweazle V4 & Disc Disk Revolution 64 v0.99B3

Un po’ acerbo ma comunque interessante questo software scritto da SLC che permette di Scrivere e Leggere i formati file C64 (D64/G64) utilizzando un normale Floppy Drive da 360k con l’interfaccia Greaseweazle.

Per capire bene come funziona questo programma bisognerebbe inanzitutto leggere il README che si trova nell’archivio del programma.

Lo provato personalmente e funziona discretamente bene, l’unico problema e’ la gestione doppia faccia dei Floppy Disk per Commodore 64, non mi sto a dilungare troppo su questa questione ma in parole povere i Floppy Drive PC non permettono di girare il floppy disk per utilizzare anche l’altra faccia del Floppy Disk, il sensore ottico e’ presente solo sul lato sinistro del lettore (il Floppy Drive del Commodore 64 non ha questo sensore).

Esistono delle MOD per raggirare questo irritante problema, mod non proprio immediate e non per tutti i Lettori.

Dunque diciamolo senza peli sulla lingua, se volete leggere e scrivere Floppy Disk per Commodore 64 quello che consiglio io e’ il software OPENCBM + Hardware XUM (ZoomFloppy) o simili e un drive nativo del Commodore 64 (1541/1541-II). :-D … e va tutto alla grande.

Download: Disc Disk Revolution 64 v0.99B3

Testing Greaseweazle V4

Testing Greaseweazle V4

Il dispositivo USB Greaseweazle consente di collegare una vecchia unità floppy drive al tuo computer per leggere/scrivere floppy disk (Amiga, Atari, Commodore, Amstrad, Sinclair, PC, macchine CNC, strumenti musicali, ecc. ).

Greaseweazle ti consente il controllo completo dell’unità floppy tramite USB ed è possibile acquisire e analizzare qualsiasi formato del disco: PC, Amiga, Amstrad, PDP-11, strumenti musicali, apparecchiature industriali e altro ancora.

Greaseweazle supporta anche la scrittura di immagini su floppy disk, inclusi quelli comunemente usati per la conservazione online (ADF, IPF, DSK, IMG, HFE, …).

Gallery:

Greaseweazle GITHub Repository: https://github.com/keirf/greaseweazle
GreaseweazleGUI: https://desertsagesolutions.com/greaseweazlegui/
FluxMyFluffyFloppy: https://github.com/FrankieTheFluff/FluxMyFluffyFloppy

Puoi acquistare Greaseweazle V4 su amigastore.eu

ODV-II (CVBS-SVideo to YPbPr) + OSSC (Open Source Scan Converter)

ODV-II (CVBS-SVideo to YPbPr) + OSSC (Open Source Scan Converter)

Ho voluto provare anche il convertitore ODV-II per poter utilizzare l’OSSC anche con ingressi CVBS e S-VIDEO (OSSC non supporta nativamente questo tipo di ingressi video).

Ho scelto questo prodotto e non altri per tre motivi:

  • Il costo.
  • La qualita’ video, non era importante la perfezione assoluta.
  • Uscita segnale convertito in YPbPr.

Il risultato è andato al di sopra delle aspettative, funziona bene , l’uscita dell’ODV-II e’ in component (YPbPr) cosi’ restano liberi gli ingressi SCART-RGB e VGA sull’OSSC , inoltre l’ODV-II ha un terzo ingresso YPbPr.

L’ODV-II ha anche la possibilita’ tramite pulsantino di selezionare alcuni filtri Video che trovo assolutamente imbarazzanti difatti lo configurato in modalita’ pass-through e un’altro pulsantino per selezionare gli ingressi video.

Di seguito le foto di alcuni test con il Commodore 64 dove ho utilizzato l’uscita S-Video e inoltre anche le foto del PCB perche’ non le ho trovate in rete, allego anche i datasheet degli integrati che vengono utilizzati.

Gallery:

Download:

ODV-II PDF Datasheet (219)

Nuovo firmware per The return of the Hybrid Sid Player v1.22

24 February 2023 1 commento

The return of the Hybrid Sid Player by xAD/Nightfall & Gianluca Renzi (RetroBit Lab)

Basato sul progetto di Markus Gritsch pubblicato negli anni 2011-2015 sul forum dangerousprotypes. Grazie Markus.

Changelog:

v1.22 – 6/2/2023

Note:

  • From this release the new versions will be developed and tested on the v2 prototype PCB and no longer on the Breadboard prototype.

Added:

  • Software implementation of the new audio Switcher.
  • Added a new value (0: Nothing) to the DEFAULT_SID_SOCKET in the configuration file (config.ini).

  # Choose the default SID Socket on bootup (0: Nothing – 1:Socket #1 – 2:Socket #2) – default: 1
  DEFAULT_SID_SOCKET=1

  • Added control via MCU of the power-up led. It might come in handy for future implementations.

Updated:

  • Updated label on the oled display for the “sid switch” mode, now “sidSet” is written and not just “sid”
  • Updated boot screen with the text “sorting files…” if the folder contains too many files (max 800).

Fixed:

  • The encoder cannot be used for manual SID SWITCH mode in case the SID tune played is multitunes because the encoder is used to select the songs, so although the “sidset” option will be displayed on the display in this  specific case the selection of the sid socket will not working.
  • Logic for the switch of the Socket SID with which to play the song and the consequent LED.
  • Default SID Socket if nothing is specified in the config file (config.ini)
  • Manual “sid switch” mode, the SID that was played with this mode would stop after 2 minutes and start over.

Nuovo firmware per The return of the Hybrid Sid Player v1.21

29 September 2022 1 commento

The return of the Hybrid Sid Player by xAD/Nightfall & Gianluca Renzi (RetroBit Lab)

Basato sul progetto di Markus Gritsch pubblicato negli anni 2011-2015 sul forum dangerousprotypes. Grazie Markus.

Changelog:

v1.21 – 29/9/2022

Added:

  • A new MODE has been added and can be used with the MODE key while you are in TUNEINFO screen.

This mode allows to change the SID model in realtime while the music is playing.

Example:

If a SID music is played with the SID 8580 positioned on SOCKET #1 by choosing the ‘sid’ mode you can with the encoder turning it to the Right or Left choose the SOCKET #2 where for example where is installed a SID 6581. The led placed under the Socket will show the sid you have chosen.
 
An apparently useless option which, however, can be used to experiment the differences in reproduction of the piece of music with two different SID models or choose the most appropriate sid model if the SID not specified the SID to be used.
 
So in summary we have these choice with the mode key while you are in TUNEINFO screen.

- Single Play
- Sequential Play
- Random Play
- Intro Play
- Sid Switch

Updated:

  • Source code description.

Fixed:

  • Missing the default value of the startSong in the SID Header if this value is missing. The SidPlayer sets 255 and try to play it.

I only found one SID with this strange configuration : Hammer Down by Sean Connoly.  Fixed by setting it to the default value : 1.

  • The player freezes while browsing file system folders with many *.sid files.

This happens when the driver scan the file system and immediately after is done the bubble sort routine that takes about 700ms for 512 entries and more for the max entries (800) in one single directory and during this time the sid player freezes.
 
To avoid hearing the annoying last note played repeatedly for this amount of time, i have forced the player to pause and remove it as soon as the contents of the new directory will be displayed.
 
Obviously if you had chosen to pause the song voluntarily with the appropriate button, it will not resume playing after the new directory is displayed.

Nuovo firmware per The return of the Hybrid Sid Player v1.20

The return of the Hybrid Sid Player by xAD/Nightfall & Gianluca Renzi (RetroBit Lab)

Basato sul progetto di Markus Gritsch pubblicato negli anni 2011-2015 sul forum dangerousprotypes. Grazie Markus.

Changelog:

v1.20 – 30/7/2022

Added:

  • Combo buttons to go up of one directory.

The new feature working when you are in FILE BROWSING display mode and by holding down the button MODE and at the same time press the button of the ENCODER you can go up of one directory.

This mode is very useful if you have a list of many files or directory and would like to easily go up of one directory, currently you should scroll at the beginning or at the end of the list and then click on the double dot to go back, really boring.

Updated:

  • Modified the way for the horizontal scroll of the sid filenames list.

I was not very convinced by the system that i have made for scroll the filenames horizontally, so i changed the mode, in my opinion much nicer.

By holding down the MODE key when you are in FILE BROWSING display mode you can move the entire screen with the filenames list left and right using the same encoder that is used to scroll the filenames list up and down.

Moreover the horizontal screen position is maintained also after the switching of the display mode or if you go up of one or more directory.

Nuovo firmware per The return of the Hybrid Sid Player v1.19

The return of the Hybrid Sid Player by xAD/Nightfall & Gianluca Renzi (RetroBit Lab)

Basato sul progetto di Markus Gritsch pubblicato negli anni 2011-2015 sul forum dangerousprotypes. Grazie Markus.

Changelog:

v1.19 – 22/5/2022

Added:

  • Added the horizontal scroll of the sid filenames list.
    • The maximum allowed length of the sid file including extension is 48 characters, the small oled can display a maximum of 20 characters, so this feature is useful with very long file names. The function is activated with the MODE key when you are in browsing files mode, once the 48 characters are reached, the scroll resets and repositions the display of the file from the beginning until the next pressing of the MODE key.

Updated:

  • Added a new parameter to the configuration file (config.ini).
    • Choose the default SID Socket on bootup. This configuration is not mandatory.

Below is an excerpt from the “config.ini” file.

# Choose the default SID Socket on bootup (1:Socket #1 – 2:Socket #2) – default: 1
DEFAULT_SID_SOCKET=1

Fixed:

  • Wrong emulation for the NOP opcode. %-)
    • I noticed this problem with a SID made by Hermit of Samar Productions, SIDRIP Alliance, Singular that uses a SID Player written by him. SID Tune: MSK Cover-XF End (https://csdb.dk/release/?id=214247) This SID Player uses several illegal opcodes and i immediately thought of an emulation problem of these illegal opcodes, instead it was the NOP opcode that had problems. I point out that i listen at random 7XX favorite songs at least 1 hour a day and i never noticed any problems. :-D Anyway, Fixed.
  • Max entries per directory.

The Return of the HybridSID Player PCB rev v2.0

18 February 2022 Nessun commento

The Return of the HybridSID Player PCB rev v2.0 by Xad/Nightfall & Gianluca Renzi (RetroBit Lab). Basato sul progetto di Markus Gritsch pubblicato negli anni 2011-2015 sul forum dangerousprotypes. Grazie Markus.

Dopo la prima revisione dello stampato ci siamo accorti che c’erano alcuni problemi di progettazione e di conseguenza di un corretto funzionamento.

Qui di seguito una breve descrizione dei fix e miglioramenti che sono stati fatti per la nuova versione dello stampato del SID Player.

PCB rev v2.0 St.Valentine’s day version:

  • OLED non si spegneva con l’interuttore di power on/off.
  • Pinout errato dello switch ALPS e di conseguenza non si poteva alimentare lo stampato tramite alimentatore/power bank USB.
  • Rimosso diodo Zener.
  • Aggiunti due nuovi ponticelli per selezionare (AB – BA) per l’encoder rotativo.
  • Encoder Rotativo 20 passi, il precedente era errato.
  • Rimosso circuito per lo switch dei due LED per segnalare che SID viene utilizzato per la riproduzione del brano.
  • Rimappati i due LED switch SID su due piedini MCU (RB15 – LED SOCKET #1, RB12 – LED SOCKET #2)
  • Rimossa la possibilita’ di utilizzare OLED 0.96″
  • Allineato OLED 1.3″ sulla linea del ZIF Socket.
  • Spostato segnale di reset che veniva utilizzato dall’OLED 0.96 sul connettore free pins.
  • Sistemati i fori per fissaggio OLED 1.3″
  • Rimappati i seguenti pins (RD5 – SID_RW, RD6 – SID2_CS, RB9 – KEY_FFWD, RB10 – KEY_PAUSE) per liberare piedini 5v tolerant.
  • Aggiunte due nuove resistenze di pull-up per tasto PAUSA e FFWD.
  • Riprogettato tutto lo stadio amplificazione per l’uscita cuffia utilizzando TPA6111A2 e NE5532.
  • Ottimizzazione PCB tracks.
  • Facilitato il DEBUG della CPU creando una “cornice” dove ogni PAD corrisponde ad un piedino della MCU.

Nuovo firmware per The return of the Hybrid Sid Player v1.18

The return of the Hybrid Sid Player by xAD/Nightfall & Gianluca Renzi (RetroBit Lab)

Basato sul progetto di Markus Gritsch pubblicato negli anni 2011-2015 sul forum dangerousprotypes. Grazie Markus.

Changelog:

v1.18 – 28/1/2022

Fixed:

  • When you are in Manual mode of playing SID the timeout timer wrongly are also increased into a variable but this timer works only for the modes: auto/random/intro.
  • Wrong STATIC variable for the debug via serial. the serial debug don’t works correctly in some part of the code. %-)
  • Wrong variable for the Timeout check if the time is longer then 99 seconds. %-)

Updated:

  • Freed and remapped to another destination the MCU pins of PAUSE and FFWD buttons to use them with the CS for the SID #2 and R/W because we needed 2 MCU pins 5v tolerant and there aren’t many left :/
  • Described some parts of the source code.
  • Added new parameters to the configuration file (config.ini).
    • Playback timeout in seconds of the .SID files for AUTO/RANDOM and INTRO modes.
    • Configure the best baudrate for the debug via Serial.
    • Disable or Enable the visualization of the VU-METER for the 3 sid voices.

Below is an excerpt from the “config.ini” file.

# Serial Debug Baudrate – default: 115200
SERIAL_BAUDRATE=115200
# Set the Timeout in Seconds for the AUTO/RANDOM playing mode – default: 2 minutes
AUTORND_TIMEOUT=120
# Set the Timeout in Seconds for the INTRO playing mode – default: 15 seconds
INTRO_TIMEOUT=15
# Write 0 if you want to disable the visualization of the vu-meter for the 3 x sid voices.
# Default: 1
SID_VUMETER=1

Nuovo firmware per The return of the Hybrid Sid Player v1.17

The return of the Hybrid Sid Player by xAD/Nightfall & Gianluca Renzi (RetroBit Lab)

Basato sul progetto di Markus Gritsch pubblicato negli anni 2011-2015 sul forum dangerousprotypes. Grazie Markus.

Changelog:

v1.17 – 31/12/2021

Added:

  • Change visualization status of the LED for Socket #1 and Socket #2 available on the Olimex Development Board and the SID Player PCB.
  • A configuration file (config.ini) for some important settings of the SID Player. The file will be loaded during the boot and must be present in the ROOT of the filesystem of the USB key.If the file is not found, the player will configure itself with the default values. Thanks to Gianluca Renzi (RetroBit Lab) for his lite INI file parser.

Below is an excerpt from the “config.ini” file.

# Select the Sid model for the Tune played by the SID Player on the Socket #1 or Socket #2.
# Specify the socket which you want to play the sid tunes (example for SID_8580_SOCKET write
# the number 2 if you want it to be played with the SID 8580 installed on socket #2)
# This configuration makes the use very dynamic for everyone. – default: socket #1,#1,#2,#2
TUNE_UNKNOWN_SOCKET=1
TUNE_6581_SOCKET=1
TUNE_8580_SOCKET=2
TUNE_BOTH_SOCKET=2
# Use Armsid with Auto Switching (0:Disabled – 1:Socket #1 – 2:Socket #2) – default: 0
# Note: When you use the auto detection and switching of the SID model with the ARMSID this can be
# used only in one of the two sockets, the other socket is completely ignored and can remain empty.
ARMSID_SOCKET=0
# Brightness of the OLED. (0 … 255) – default: 127
OLED_BRIGHTNESS=127
# Brightness of the OLED in IDLE mode. (0 … 255) – default: 10
OLED_BRIGHTNESS_IDLE=10
# Enable the serial DEBUG. (1 Enable | 0 Disabled) – default: 0
SERIAL_DEBUG=0

Nuovo firmware per The return of the Hybrid Sid Player v1.16

29 November 2021 Nessun commento

The return of the Hybrid Sid Player by xAD/Nightfall & Gianluca Renzi (RetroBit Lab)

Basato sul progetto di Markus Gritsch pubblicato negli anni 2011-2015 sul forum dangerousprotypes. Grazie Markus.

Changelog:

v1.16 – 29/11/2021

Updated:

  • Illegal/undocumented opcodes to the CPU Emulator:
    • LAE (LAS/LAR) Combinations of STA/TXS and LDA/TSX.
    • ANE (XAA) Combination of an immediate and an implied command.
    • All 6502/6510 instructions have been implemented.
  • Increased the maximum number of files per directory from 512 max to 800 max.
  • Improved delay routine for read/write eeprom via I2c bitbang, it should now be compatible with all levels of the XC32 compiler code optimization.
  • Replaced and splitted the Splash Screen Logo during the boot. Thanks to Federico di dato for the Retrobit LAB logo.

Fixed:

  • The BRK opcode, opcode that will probably will never used in our case.
  • Missing +2 Machine Cycle Times for the opcodes: BPL,BMI,BVC,BVS,BCC,BCS,BNE,BEQ due to some previous performance improvment of the 6502/6510 emulator code, i was probably drunk, indeed, i’m sure. %-)
  • The clock “|CIA|” was displayed mistakenly when you choose to play a file in DMP format but this is wrong because the DMP file format doesn’t support the information of clock used (VBI/CIA) in the file header.
  • The previous and next button did not work if there are only two files (SID or DMP) available to play in the folder.
  • Incorrect Machine Cycle Times for the NOP opcode, four times instead of two. %-)
  • Sometimes the version number displayed during boot would pop outside from the right side of the oled screen.
  • Wrong Machine Cycle Times for the SLO, SRE(LSE), DCP, RLA, ISC(ISB) Illegal/undocumented opcodes with Indexed-indirect addressing of X,Y-Registers.