Giter VIP home page Giter VIP logo

chip8c's Introduction

chip8c

A semi-functional Chip8 emulator in C.

Synopsis

A Chip8 emulator in C that doesn't quite work yet. Written on Windows 10.

Motivation

I wanted to learn some basic SDL so I made this as a practice project.

Installation

Compile (for windows):

gcc chip8.c test.c display.c main.c -IPath\To\SDL2\Includes -w -Wl,-subsystem,windows -LPath\To\Libs -lmingw32 -lSDL2main -lSDL2 -o chip8c.exe 

Linux compilation will be slightly different but shouldn't be hard to figure out.

Run:

.\chip8c.exe path\to\rom

Warnings

  • It still doesn't work well enough to use due to some bug(s), presumably in chip8.c
  • test.c is very basic and finds only the most obvious errors in the instructions

Future improvements

  • Fix the bug that makes it not work properly
  • Add a debugger
  • Add more options for controlling the IPS, button mapping, etc

chip8c's People

Contributors

katas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.