cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

srcfile_1.h (344B)


      1#include <gbdk/platform.h>
      2
      3#ifndef _srcfile_1_h
      4#define _srcfile_1_h
      5
      6// "BANKREF_EXTERN()" makes a "BANKREF()" reference
      7// from another source file accessible for use with "BANK()"
      8extern const uint8_t some_const_var_1;
      9BANKREF_EXTERN(some_const_var_1)
     10
     11// Reference for a banked function
     12void func_1() BANKED;
     13BANKREF_EXTERN(func_1)
     14
     15#endif