1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-10-31 14:04:58 +00:00
millfork/docs/api/gb-programming-guide.md

23 lines
467 B
Markdown
Raw Normal View History

2019-07-15 12:21:50 +00:00
[< back to index](../doc_index.md)
2019-03-18 22:15:28 +00:00
# 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
}