GithubHelp home page GithubHelp logo

saxonrah / gb.teensy.tgx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blazer82/gb.teensy

0.0 0.0 0.0 17.52 MB

Gameboy emulator for the Teensy 4.1 microcontroller using tgx

License: GNU General Public License v3.0

Shell 0.53% C++ 98.94% C 0.52%

gb.teensy.tgx's Introduction

Teensy Gameboy

build-badge cpu-instrs-badge

This is a work-in-progress Gameboy emulator for the Teensy platform. It requires some custom hardware and wiring in order to work properly.

Breadboard Gameboy

Features

  • Runs Tetris
  • Passes Blargg's CPU instruction tests
  • Audio output (4 separate channels)

Dependencies

The project uses a Teensy 4.1 as its main processing unit and storage device (SD card).

The FT81x Arduino Driver is used as a display system.

Additional wiring is required for audio output and button input.

Wiring

Display

For display wiring please refer to this guide for the FT81x Arduino Driver.

Buttons

Button wiring is straight forward and doesn't require any pull-up resistors:

Button Wiring

Audio

For proper audio output some filter and amplifier circuitry is required:

Audio Wiring

Tip: Audio output is most authentic with a Gameboy replacement speaker.

Running and Loading a Game

Game ROMs are not included with this repository and have to be provided via SD card! Make sure the SD card is formatted using the FAT32 filesystem using Master Boot Record partitioning style. File names should follow the 8.3 MS-DOS style.

As of now, the ROM to be loaded has to be specified inside src/main.cpp, e.g:

Cartridge::begin("tetris.gb");

Contributing

Any contribution is welcome! Please have a look at open issues and pull requests or create your own.

Credits

Substantial contributions have been made by:

The code builds upon the following libraries:

gb.teensy.tgx's People

Contributors

blazer82 avatar grantbreaksthings 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.