gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/examples/msxdos/hello/test.c
1 #include <gbdk/platform.h>
2 #include <stdio.h>
3 #include <stdint.h>
4
5 int a = 100, b = 200;
6 void main(int argc, char * argv[]) {
7 printf("Hello, world!\r\nargc: %d\r\n", argc);
8
9 for (int i = 0; i != argc; i++)
10 printf("argv%d = '%s'\r\n", i, argv[i]);
11
12 printf("a = %d b = %d\r\n&a == 0x%x", a, b, &a);
13 }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.