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/cross-platform/sram_banks/src/sram_bank0.c

      1 #include <gbdk/platform.h>
      2 #include <stdint.h>
      3 #include <stdio.h>
      4 
      5 #pragma dataseg DATA_0  // Sets Cart SRAM bank to 0
      6 
      7 int sram_bank_var_0;  /* In Cart SRAM bank 0 */

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