/contrib/other/8086tiny/8086tiny.c |
---|
276,7 → 276,7 |
} |
#endif |
#include <sys/kos_LoadConsole.h> |
#include <conio.h> |
#define kbhit con_kbhit |
#define getch con_getch |
283,9 → 283,7 |
// Emulator entry point |
int main(int argc, char **argv) |
{ |
load_console(); |
con_set_title("8086tiny"); |
//freopen("OUT", "w" ,stdout); |
#ifndef NO_GRAPHICS |
// Initialise SDL |
/contrib/other/uarm/main_pc.c |
---|
11,8 → 11,9 |
//#include <sys/select.h> |
#include <signal.h> |
//#include <termios.h> |
#include <sys/kos_LoadConsole.h> |
#include <conio.h> |
#define getch2 con_getch |
#define cprintf printf |
95,8 → 96,6 |
if (ret==0xD) {ret=0xA;} |
} |
return ret; |
} |
165,8 → 164,8 |
SoC soc; |
int main(int argc, char** argv){ |
load_console(); |
con_set_title("uARM"); |
//CONSOLE_INIT("CONSOLE"); |
/* |
/contrib/other/udcli/udcli.c |
---|
6,7 → 6,6 |
* See (LICENSE) |
* ----------------------------------------------------------------------------- |
*/ |
#include <sys/kos_LoadConsole.h> |
#include <stdlib.h> |
#include <stdio.h> |
#include <string.h> |
14,6 → 13,8 |
#include "udis86.h" |
#include "config.h" |
#include <conio.h> |
#if defined(__amd64__) || defined(__x86_64__) |
# define FMT "l" |
#else |
71,8 → 72,8 |
int main(int argc, char **argv) |
{ |
load_console(); |
con_set_title("udi disassembler"); |
FILE *stream; |
stream = fopen( "disasm.out", "w" ); |