Giter Site home page Giter Site logo

eliasfarhan / gbdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gheja/gbdk

0.0 2.0 0.0 2.11 MB

GameBoy Developer's Kit (GBDK) 2.96a from 2002 tuned so it can be compiled on a modern system (Ubuntu 16.04 LTS).

Makefile 2.32% C 70.13% Batchfile 0.02% Assembly 4.35% C++ 9.93% Perl 0.09% HTML 10.20% Shell 0.77% Emacs Lisp 1.01% Objective-C 0.02% TeX 0.09% Roff 0.09% Lex 0.21% Yacc 0.55% Awk 0.01% Python 0.18% NSIS 0.02%

gbdk's Introduction

Build Status

GBDK

"The GameBoy Developer's Kit (GBDK), is a set of tools that enable to develop programs for the Nintendo GameBoy system, either in C or in assembly. GBDK includes a set of libraries for the most common requirements and generates image files for use with a real GameBoy or with an emulator like VGB or no$gmb. [...]

GBDK features:

  • An ANSI C compiler.
  • An assembler that generates relocatable code.
  • A peephole optimiser.
  • A linker that produces GameBoy image files.
  • Support for multiple-bank images.
  • Smart linking.
  • A set of libraries, with source code.
  • Example programs in assembly and in C."

From http://gbdk.sourceforge.net

Quick summary

The base version (2.96a) was downloaded from the official site. Although this is the latest version, it was released quite a while ago (back in April 2002).

The code can be compiled in an up-to-date 64-bit Linux environment (at least it is up-to-date here in 2016).

Original sites:

Building

For the build I recommend an Ubuntu 16.04 LTS (you don't even need to install it, the Live system works just fine).

The environment will need a few packages, all of them can be installed using apt-get:

sudo apt-get -y install make gcc g++ bison flex

After downloading the source you can use the Makefile to compile the binaries:

cd /path/where/you/extracted
make

Installing the compiled binaries can be done via make as well:

sudo make install

Compiling the examples:

cd ./gbdk-lib/examples/gb
make

Note: compiling the examples requires you to install the binaries you just built in the previous steps.

gbdk's People

Contributors

gheja avatar

Watchers

James Cloos avatar  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.