Skip to content

Dorin130/Pych8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pych8

This is a simple Chip-8 interpreter written in Python3.

screen

Usage

Make sure install to numpy and pygame:
sudo pip install numpy
sudo pip install pygame

Running: python main.py [-h] rom.ch8

Controls:

- Enter - Reload rom
- Default keybinds: 
        Chip-8            Keyboard
    1   2   3   C       6   7   8   9
    4   5   6   D  -->  y   u   i   o
    7   8   9   E       h   j   k   l
    A   0   B   F       n   m   ,   .

Settings (in settings.py):
SCALE - By how much to scale the display (64x32 px).
STEP_PERIOD - Inverse of de CPU Clock frequency.
CLOCK_PERIOD - Inverse of the Timer Clock frequency.
KEYS - Keybinds.
SAMPLERATE - Sample rate of the beeps
sound_wave - The wave defining the beep, currently a 440Hz sign wave.

Resources used

Wikipedia

Cowgod's Chip-8 Technical Reference v1.0

About

A CHIP-8 interpreter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages