MC6800 MPU, MC6821 PIA, and APF MP1000 Emulators

Aperta
#124 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
c
Ambito
embedded-iot

Direzione di ricerca

The issue points to the author's forks, hakanrw/chips and hakanrw/chips-test, rather than naming files or tests in this repository. First read the existing emulator components and unit-test framework, then compare them with the forked implementations and their TODOs. Done would require deciding whether these components fit the project, integrating and testing them, and resolving the remaining PIA functionality.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi Andre,

Roughly a year and a half ago, I forked your repository and worked on implementing an emulator for the Motorola MC6800.

At the time, I was being taught 6800 assembly in the systems programming class of my university. I did not like the available emulators for the 6800 and I wanted to implement a cycle-stepped implementation for it myself.

In the span of a few months, I was able to develop emulators for:

  • MC6800 MPU
  • MC6821 PIA
  • APF-MP1000 Home Console

Of course, they were only possible thanks to the infrastructure provided by this project. I enjoyed working on this codebase a lot.

Anyway, life happened, I got busy with school and work, and I never got to polish my implementation. I also had custom, shell script unit tests, but they were not integrated to the existing unit test framework this repo normally uses. Thus, I could not send a PR.

My fork is available at: hakanrw/chips, hakanrw/chips-test

Every MC6800 instruction (except illegal ones) is implemented. The MC6821 is roughly finished but lacks some functionality.
The same chips are used to power the MP1000 emulator, which is able to run Rocket Patrol or BASIC interpreter without issues.

I wanted to leave this here in case someone stumbles upon it and is interested in MC6800 or the MP1000. My changes are licensed under the same zlib license, so anyone is welcome to fork or use it freely.

What do you think? If there is any interest in this, I would be willing to dust it off, write proper unit tests, address the remaining TODOs and eventually send a PR. If not, that's also fine though. New components introduce new maintenance costs, after all.

Some screenshots:

Image Image Image Image
Lingua principale
C
Stelle
1.3k
Fork
101
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di floooh/chips

Tutte le issue di floooh/chips

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.