Giter Site home page Giter Site logo

gamegirl's Introduction

GameGirl

GameGirl is a Nintendo Gameboy emulator written in C++.

It was written as a project in the course "Object Oriented Programming (C++) " in 2019.

Build

Building the emulator requires SDL2 and cmake on Windows. (Note: CmakeList.txt needs 2 environment variables: SDL_PATH: path to sdl CMKE_MODULE_PATH: path to findSDL2.cmake ) For test, it has been tested on Windows 10 and Arch Linux. To complie the project on Windows (need MinGW environment):

MINGW64 $ cmake .

To complie the project on Linux:

$ g++ ./Catridges/* ./*.cpp ./*.h -o gamegirl.out -O3 --std=c++17 -march=corei7-avx -lSDL2 -lSDL2main

(Note:It uses the avx--Advanced Vector Extensions)

Test

The emulators is using the roms from Blargg's test ROMs and bgbTest.gb to test the hardware accurency.

Here are some screenshot of the test. image
image

Play

Using terminal to boot, format: gamegirl path_to_gb_rom \[-c v] [-z v] \[-f v] \[-x v] \[-y v] \[-b] \[-S ]

code function
path_to_gb_rom rom file path
-z zoomTime
-c colorMode
-f fps
-x window display position x
-y window display position y
-b use boot (display the logo)
-S disable sprites

Input

The key bindings are: Direction: , , , Selection: X for B, Z for A, Enter for START , Backspace for SELECT.

Game Screensho

Mairo Mario
Tetris Tetris


###3. Zelda Zelda

gamegirl's People

Contributors

arcticsaltedfish avatar mrcopytuo avatar rand1925 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.