|
Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
Go to the documentation of this file.
30 static const char default_rom_fn[] =
"#rc2014.rom";
46 static void emulation_loop (
void )
53 char disasm_buffer[128];
91 static int load_rom (
const char *
fn )
95 if (!strcmp(
fn,
"-")) {
97 DEBUGPRINT(
"ROM: using built-in ROM by request");
105 memset(
memory, 0xFF, 0x8000);
116 static int load_prg (
const char *
fn )
121 FATAL(
"Empty string for loading program.");
122 DEBUGPRINT(
"LOAD: trying to load program \"%s\" to $8000" NL,
fn);
126 memset(
memory + 0x8000, 0xFF, 0x8000);
139 int main (
int argc,
char **argv )
172 (
int)(
configdb.baudcrystal * 1000000.0),
186 DEBUGPRINT(
"ROM: default ROM could not be loaded. Using simple, built-in one." NL);
int z80_custom_disasm(int addr, char *buf, int buf_size)
void use_internal_rom(int yes)
int osd_init_with_defaults(void)
void uart_init(int baud_crystal_hz, int baud_rate, int cpu_hz)
void rc_shutdown_callback(void)
int main(int argc, char **argv)
struct configdb_st configdb
void clear_emu_events(void)
int console_init(int width, int height, int zoom_percent, Uint8 *video_mapped, Uint8 *color_mapped, int sdlrenderquality)
#define RENDER_SCALE_QUALITY
void console_iteration(void)
void console_cursor_blink(int delay)