git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

gbdk-lib/examples/gb/linkerfile/src/main.c

      1 #include <gb/gb.h>
      2 #include <stdint.h>
      3 
      4 
      5 void main(void)
      6 {
      7     // Loop forever
      8     while(1) {
      9 
     10 		// Game main loop processing goes here
     11 
     12 		// Done processing, yield CPU and wait for start of next frame
     13         vsync();
     14     }
     15 }

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.