gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-support/romusage/src/cdb_file.h
1 // This is free and unencumbered software released into the public domain.
2 // For more information, please refer to <https://unlicense.org>
3 // bbbbbr 2020
4
5 #define CDB_MAX_STR_LEN 4096
6 // #define CDB_MAX_STR_AREALEN 100
7 #define CDB_MAX_SPLIT_WORDS 12
8
9 #define CDB_REC_L_COUNT_MATCH 6
10 #define CDB_REC_S_COUNT_MATCH 12
11
12 #define ERR_NO_AREAS_LEFT -1
13 #define AREA_VAL_UNSET 0xFFFFFFFF
14
15 #define CDB_REC_START_LEN 2 // length of "DEF l__"
16 #define CDB_REC_L 'L' // Linker (address) Record
17 #define CDB_REC_S 'S' // Symbol (size) Record
18
19
20 int cdb_file_process_symbols(char * filename_in);
21
22 void cdb_init(void);
23 void cdb_cleanup(void);
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.