GitXplorerGitXplorer
P

chip8_disassembler_emulator

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
b56f510903c445c7ba3592167de6e96e390a312d

start emu

PPThorpe92 committed 2 years ago
Unverified
eb6e40082887d6a6a7c183a0278b60001e0c1403

md/readme

PPThorpe92 committed 2 years ago
Unverified
6b576978407de8b159f30b3031cd6c13ef3a8b24

remote

PPThorpe92 committed 2 years ago
Verified
8bbfca921816b28f445a9f899e8ab4295be2e7b1

Update README.md

PPThorpe92 committed 2 years ago
Verified
ef2dba77a418aef0480d14ef8f908238a9398e52

Update README.md

PPThorpe92 committed 2 years ago
Unverified
5ba2fe6cbefea274eca703b07aab8fb0620e8fd9

first remote

PPThorpe92 committed 2 years ago

README

The README file for this repository.

Overview

The Chip8 is a programming language and virtual machine created in the 1970s for early microcomputers. It was originally designed to allow easy game development. This project provides YET ANOTHER IMPLEMENTATION of a disassembler and soon to be emulator for Chip8 programs, targeting Intel 8080-based systems.

The disassembler takes a Chip8 ROM file (.ch8) as input and converts the binary instructions into either a hexadecimal file or a file with the assembly language/opcodes. The hexadecimal file can be useful for further analysis or debugging, while the assembly language file provides a human-readable representation of the ROM's instructions.

This is a fantastic resource for anything 8080 related:

https://altairclone.com/downloads/manuals/8080%20Programmers%20Manual.pdf

The emulator allows you to load and execute Chip8 games by emulating the behavior of an Intel 8080 processor. It provides an interactive environment where you can play games using the keyboard as input and see the game output on the screen.\

Usage

./target/debug/chip8_dissasembler -i ./testroms/Space\ Invaders\ \[David\ Winter\].ch8 -f "bin" // creates rom.hex
./target/debug/chip8_disassembler -i ./target/debug/rom.hex -f "hex" // creates rom.asm with CPU instructions

Work in progress....

As of right now, it is not all that useful (who needs assembly language for a 60 year old CPU). When it can run space invaders, more info will be available.