Skip to content

Emulator for the interpreted CHIP-8 programming language which was used to program video games.

Notifications You must be signed in to change notification settings

julianjumper/Chip8-Emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip8-Emulator - first attempts with emulation

"CHIP-8 is an interpreted programming language, developed by Joseph Weisbecker made on his 1802 Microprocessor."

This project is a CHIP-8 virtual machine that runs CHIP-8 programs. CHIP-8 is an assembler-like language using 2-byte-long opcodes.
This emulator can be thought of as a processor with its own registers, memory, clock etc, designed for running CHIP-8 programs. Originally developed in the 1970s to make video games easier to program, CHIP-8 was later used to run video games on graphing calculators, particularly those made by Texas Instruments.


Installation

Just install the package, unzip the archive and open a program (any .ch8-file) by drag-and-dropping it onto the Chip-8.exe. screenrecording pong This flicker effect you might notice in this example is characteristic of CHIP-8. Pixels that are updated are actually XORed, which causes them to be constantly turned on and off.


Games inside ROM-folder

Pong

  • Move your player with the arrow-keys or 1 (up) and Q (down)

Tron (two-players)

  • restart: C
  • start: X
  • player 1: moves with arrow-keys
  • player 2: moves with i, j, k , l

Space-Invaders

  • left/right: Q/E
  • shoot: W

Tetris

  • rotate: Q
  • left/right: W/E
  • faster: A

More

more can be found at https://github.com/kripod/chip8-roms. The keypad for this emulator has the following layout:
1 2 3 4
Q W E R
A S D F
Y X C V

so it has 16 keys in total.
The up-arrow-key is mapped to 1, left-arrow-key to 3, right-arrow-key to 4, down-arrow-key to Q.
Each game uses its own key-bindings which have to be figured out individually.


Sources that I mainly used

About

Emulator for the interpreted CHIP-8 programming language which was used to program video games.

Resources

Stars

Watchers

Forks

Packages

No packages published