mirror of
https://github.com/yourtion/30dayMakeOS.git
synced 2026-02-03 10:03:20 +08:00
21 lines
809 B
C
21 lines
809 B
C
void api_putchar(int c);
|
|
void api_putstr0(char *s);
|
|
void api_putstr1(char *s, int l);
|
|
void api_end(void);
|
|
int api_openwin(char *buf, int xsiz, int ysiz, int col_inv, char *title);
|
|
void api_putstrwin(int win, int x, int y, int col, int len, char *str);
|
|
void api_boxfilwin(int win, int x0, int y0, int x1, int y1, int col);
|
|
void api_initmalloc(void);
|
|
char *api_malloc(int size);
|
|
void api_free(char *addr, int size);
|
|
void api_point(int win, int x, int y, int col);
|
|
void api_refreshwin(int win, int x0, int y0, int x1, int y1);
|
|
void api_linewin(int win, int x0, int y0, int x1, int y1, int col);
|
|
void api_closewin(int win);
|
|
int api_getkey(int mode);
|
|
int api_alloctimer(void);
|
|
void api_inittimer(int timer, int data);
|
|
void api_settimer(int timer, int time);
|
|
void api_freetimer(int timer);
|
|
void api_beep(int tone);
|