https://github.com/euhmeuh/virtual-mpu
Universal Emulator & Assembler for Old Microprocessors
https://github.com/euhmeuh/virtual-mpu
assembler emulator motorola racket
Last synced: 10 months ago
JSON representation
Universal Emulator & Assembler for Old Microprocessors
- Host: GitHub
- URL: https://github.com/euhmeuh/virtual-mpu
- Owner: euhmeuh
- License: gpl-3.0
- Created: 2018-05-19T21:45:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-10T14:30:33.000Z (almost 8 years ago)
- Last Synced: 2025-04-09T14:08:41.399Z (about 1 year ago)
- Topics: assembler, emulator, motorola, racket
- Language: Racket
- Homepage:
- Size: 120 KB
- Stars: 16
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-racket - virtual-mpu - Universal Emulator & Assembler for Old Microprocessors. (Emulators)
README
# virtual-mpu
Old Microprocessor Emulator and Assembler
### Installation
`raco pkg install virtual-mpu`
### Assembler Usage
#### Generate a [S-Record file](https://en.wikipedia.org/wiki/SREC_(file_format)) (Motorola format):
`virtual-mpu assemble to-s-record myfile.asm > myfile.srec`
#### Display result in hexadecimal in the terminal (useful for debugging):
`virtual-mpu assemble to-hex myfile.asm`
#### Put result into a program binary:
`virtual-mpu assemble to-binary myfile.asm > myfile.bin`
### Emulator usage
#### Start the emulator (WIP)
*(this does not work yet)*
`virtual-mpu emulate machines/mymachine.rkt mykernel.bin`
### Supported MPUs:
- Motorola 6802 (used mostly in pinball machines)
### Planned:
- MOS 6502 (used in 8bit Atari models, Apple II, NES, Commodore 64...)
- Motorola 68000, aka. m68k (used in Apple Lisa, Macintosh, Amiga, Neo Geo, Mega Drive, Atari Jaguar, Saturn...)
- Zilog Z80 (used in ZX Spectrum, Amstrad CPC, Sega Master System, Nintendo Game Boy, GBC, GBA)
- Intel 8080 (used in Altair 8800, Space Invaders)