console.h (619B)
1 /* 2 Copyright (c) 2021 Devine Lu Linvega, Andrew Alderwick 3 4 Permission to use, copy, modify, and distribute this software for any 5 purpose with or without fee is hereby granted, provided that the above 6 copyright notice and this permission notice appear in all copies. 7 8 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 WITH REGARD TO THIS SOFTWARE. 10 */ 11 12 #define CONSOLE_STD 0x1 13 #define CONSOLE_ARG 0x2 14 #define CONSOLE_EOA 0x3 15 #define CONSOLE_END 0x4 16 17 int console_input(int c, int type); 18 void console_listen(int i, int argc, char **argv); 19 Uint8 console_dei(Uint8 addr); 20 void console_deo(Uint8 addr);