Game Boy >> C/C++
Font
參考資訊:
1. bgb
2. doc
3. gbdk_playground
Font Functions
extern UINT8 font_ibm[]; extern UINT8 font_min[]; extern UINT8 font_spect[]; extern UINT8 font_italic[]; void font_init(void) NONBANKED; font_t font_load(void *font) NONBANKED; font_t font_set(font_t font_handle) NONBANKED;
main.c
#include <stdio.h> #include <gb/gb.h> #include <gb/font.h> void main(void) { font_init(); font_set(font_load(font_spect)); printf("New font!"); }
完成