Python Chip 8 emulator
PyChip8 is a CHIP-8 computer interpreter written in Python, which allows you to run programs prepared for this machine directly on your computer. Includes a thesis written in Polish
- Linux/Unix based OS
- Python 3.7 🐍
- Pipenv (optional)
- Using Pipenv:
- Open termianl install pipenv and go to project directory
- In bash terminal write
pipenv installand thenpipenv shell - To run project use
python pychipcommand - Use
deactivatecommand to kill pipenv shell 💀
- Using pip:
- Open termianl and go to project directory
- Use
pip3 install -r requirements.txtto install all dependencies - To run project use
python3 pyChip8command
- Using pip with virtualenv:
- Type in project directory
virtualenv venv - Activate virtual environment by
source venv/bin/activatecommand - Use
pip3 install -r requirements.txtto install all dependencies - To run project use
python3 pyChip8command - Use
deactivatecommand to kill virtualenv 💀
- To run project use
python3 pychip
usage: pychip [-h] [-f ROMS] [-d] [-r RES] [-t DLY] [-s SND]
Chip8 emulator
optional arguments:
-h, --help show this help message and exit
-f ROMS, --file ROMS use to provide roms file
-d, --disassembler run disassembler for given roms file
-r RES, --res RES set CHIP-8 screen resolution
-t DLY, --time DLY set emulation delay time
-s SND, --sound SND set sound on/off
- Install pytest
pip install pytest - Run
pytestin root directory
App tested on linux, macOS
