Code Monkey home page Code Monkey logo

gbdk-2020's Introduction

Current release for Windows: WINDOWS Binaries

Current release for MacOS: MacOS Binaries

Current release for Linux: Linux Binaries

You don't need the sources, unless you wish to compile GBDK-2020 yourself. Download the current release binaries using the links above.

Docs

Online documentation is avaliable HERE

A good place to start is the Getting Started Section.

Check the Links and Third-Party Tools Section for a list of recommended emulators, graphics tools, music drivers and more.

gbdk-2020

GBDK A C compiler, assembler, linker and set of libraries for the Z80 like Nintendo Gameboy.

Current status

  • updated CRT and library that suits better for game development
  • the latest nightlies of sdcc (the compiler and toolchain) are used from sourceforge. At the moment of writing this the last stable version is 4.1.0, which is missing features from newer SDCC builds that GBDK-2020 uses. Please use one of the nightlies available here (we used 4.1.6 #12439)
  • The compiler driver lcc supports the latest sdcc toolchain.

For full list of changes see the ChangeLog file

Origin

Over the years people have been complaining about all the issues caused by a very old version of SDCC (the compiler). This is a proper attempt of updating it while also keeping all the old functionallity working, like support for banked code and data and so on

The last version in the OLD repo is 2.96 although releases are available until 2.95-3. Version 2.96 is the starting point of this repo

Usage

Most users will only need to download and unzip the latest release

Then go to the examples folder and build them (with make.bat on windows or running make). They are a good starting point.

Discord servers

  • gbdk/zgb Discord - For help with using GBDK (and ZGB), discussion and development of gbdk-2020
  • gbdev Discord - There is a #gbdk channel and also people with a lot of Game Boy development knowledge

For SDCC you can check its website and the manual

The Game Boy Development Forum is a good place to search for answers.

Build instructions

Unless you are interested on recompiling the sources for some reason (like fixing some bugs) you don't need to build GBDK

  • Windows only: Download and install mingw
  • Clone, download this repo or just get the source form the releases
  • Download and install sdcc nightlies from 4.1.6 #12439 onwards (SDCC is no longer part of GDDK so you need to download it (just the binaries) in the platform you need)
  • On Linux don't use package managers The latest release available won't work, you need to compile or download one of the nightlies
  • Create SDCCDIR environment variable, that points into the folder, where you installed sdcc
  • Open command prompt or a terminal, go to the root directory of the repo and run make

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.