gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/examples/gb/hram/hram.c
1 #include <gbdk/platform.h>
2 #include <stdint.h>
3 #include <stdio.h>
4
5 #include "hram_data.h"
6
7 void main(void) {
8 my_hram_variable = 5;
9 printf("value is: %hd at %x", (uint8_t)my_hram_variable, (uint16_t)&my_hram_variable);
10 }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.