Skip to main content

CHIPy8

CHIPy8 is a simple python interpreter for CHIP8. It currently lacks most functions from interpreters such as interactive file loading, save states, debugging mode, etc.

To install simply type on the terminal

pip install chipy8

And load and run any .ch8 file with the command

chipy8 file/to/rom.ch8

Alternatively you can download the binary located on the releases tab (only working for GNU/Linux at the moment). To execute first you must give it permission by typing

chmod +x CHIPy8

And then execute either by double-clicking or through the command line. When launched this way you will be greeted by a black screen, drag and drop any .ch8, .chip8 or .c8 romfile to load and run it.

Future development

  • Add simple toolbar for file loading and reseting.
  • Add customization options as well as the ability to save option presets.
  • Support for SUPER-CHIP and XO-CHIP
  • Implement a debugging mode.

Thanks

The interpreter was done following the guide to making a CHIP-8 emulator by Tobias V. Langhoff as well as inspiration from Yet Another (Super) Chip 8 Emulator project by Craig Thomas

Notes

The key mapping to the emulator is

    PAD             KEYBOARD  
1  2  3  C         1  2  3  4
4  5  6  D   -->   q  w  e  r
7  8  9  E   -->   a  s  d  f
A  0  B  F         z  x  c  v

Metadata

Release files for CHIPy8 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CHIPy8 0.1.2
File Size Uploaded
CHIPy8-0.1.2.tar.gz 14.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for CHIPy8 0.1.2
File Interpreter ABI Platform
CHIPy8-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 30.3 kB

Release files / CHIPy8-0.1.2.tar.gz

Download URL CHIPy8-0.1.2.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4c9b3f6b7a0995d4aeabb8ba24f830a8d632384a889930df925236a31432111b
BLAKE2b-256 checksum
How to use checksums
b2c7a5ccbb7b9a9f2fbabd64dbab2d870615c120e6221535681593f78d683648
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.5

Release files / CHIPy8-0.1.2-py3-none-any.whl

Download URL CHIPy8-0.1.2-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1e2d3b38532a10973e4cd180c74f408e8e0dad7c778387531427b0565cf1c4f
BLAKE2b-256 checksum
How to use checksums
4fdec9e23cbd680f6d10fb8beabddee3eeadd9114bd28879efb42fd88168c815
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page