1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-11-06 06:06:31 +00:00
millfork/docs/api/gb-programming-guide.md
2019-07-15 13:52:05 +02:00

464 B

< back to index

Game Boy programming guide

This guide is incomplete. Support for Game Boy targets is experimental and all information in this document may become obsolete.

Program lifecycle

The default Game Boy vectors are defined as following:

The minimal Game Boy program thus looks like this:

void main() {
    // initialize things
    while(true) { }
}

void on_vblank() {
    // do things
}