1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-12-23 03:29:39 +00:00
8bitworkshop/presets/zx/bios.h
2020-07-20 11:43:01 -05:00

14 lines
364 B
C

// FONT FUNCTIONS
#define LOCHAR 0x20 // lowest character value in font
#define HICHAR 0x7f // highest character value in font
unsigned char __at(0x3d00) font8x8[HICHAR-LOCHAR+1][8];
void init_stdio(void);
int putchar(int ch);
void beep(int divisor, int duration);
int keyscan(void);
void waitkey(int frames);
void setpixel(unsigned char x, unsigned char y);