Per il Commodore 64 ci sono tantissimi programmi che possiamo utilizzare, oppure ne possiamo creare di nuovi, per caricarli ci sono diverse possibilità tra cartucce e periferiche, ma se vogliamo crearci una nostra cartuccia con il programma che parte in automatico?
Vi farò vedere un sistema semplice che richiede pochi passaggi.
Per prima cosa convertiamo il nostro file .PRG in un formato cartuccia .CRT
Per questo passaggio occorre avere installato Python sul computer, lo trovare sia per Windows ce Mac o Linux.
Scarichiamoci ora lo script chiamato prg2crt scaricabile qui.
Eseguiamo questo script da riga di comando terminale o Python. (presumiamo di convertire il programma mioprog.prg in immagine cartuccia.crt)
python prg2crt.py mioprog.prg cartuccia.crt
Ora abbiamo un file crt che possiamo caricare in un emulatore come il Vice e verificare che tutto funzioni.
Questo file però non può essere scritto su una eprom, dobbiamo prima fare un altro passaggio per rimuovere l’intestazione che ha la cartuccia.
Per questo passaggio abbiamo bisogno dell’emulatore VICE che all’interno dei suoi file ha un tool chiamato cartconv che ci servirà per trasformare il file CRT in un binario da poter scrivere nella eprom.
Di seguito il comando da dare a cartconv (-i file i input) seguito dal nome del nostro crt (-o file di output) seguito dal nome del file .BIN
cartconv -i cartuccia.crt -o mycart.bin
Fatto questo abbiamo il file binario da poter scrivere nella eprom, abbiamo creato una cartuccia!!!
Attenzione! però, non possiamo usare una qualsiasi cartuccia, se il programma è entro gli 8k possiamo usare qualsiasi cartuccia come la Versacart ma se il programma è più grande (non ho mai provato la Versacart fino a 16k) in questo caso dobbiamo usare una magic desk capace di indirizzare tutta la memoria. Questa cartuccia può gestire 2 fino a eprom da 512k.. non vi bastano? 🙂
Biscotto | Durata | Descrizione |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |