|
Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
Go to the documentation of this file.
55 static int cpu_cycles_for_dave_sync = 0;
56 static double balancer;
58 static int sram_ready = 0;
65 static void shutdown_callback(
void)
71 #ifdef CONFIG_EPNET_SUPPORT
74 #ifdef CONFIG_EXDOS_SUPPORT
105 OSD(-1, -1,
"CPU speed: %.2f MHz", hz / 1000000.0);
111 static int emu_one_frame_rasters = -1;
112 static int emu_one_frame_frameskip = 0;
116 emu_one_frame_rasters = rasters;
121 static void __emu_one_frame(
int rasters,
int frameskip)
125 #ifdef XEMU_FILES_SCREENSHOT_SUPPORT
140 static void xep128_emulation (
void )
149 __emu_one_frame(312, 0);
163 DEBUG(
"CPU: int and accepted = %d" NL, t);
168 cpu_cycles_for_dave_sync += t;
174 balancer += t * SCALER;
176 while (balancer >= 0.5) {
181 emu_one_frame_rasters,
182 emu_one_frame_frameskip
184 emu_one_frame_rasters = -1;
193 int main (
int argc,
char *argv[])
223 #ifdef XEMU_ARCH_HTML
248 #ifdef CONFIG_SDEXT_SUPPORT
252 #ifdef CONFIG_EXDOS_SUPPORT
256 #ifdef CONFIG_EPNET_SUPPORT
267 OSD(-1, -1,
"Primo Emulator Mode");
269 ERROR_WINDOW(
"Primo mode was requested, but PRIMO ROM was not loaded.\nRefusing Primo mode");
int wd_attach_disk_image(const char *fn)
#define USE_LOCKED_TEXTURE
int main(int argc, char *argv[])
void ep128snap_set_cpu_and_io(void)
void clear_emu_events(void)
void wd_exdos_reset(void)
void set_ep_cpu(int type)
int register_screenshot_request
int set_cpu_clock_with_osd(int hz)
void monitor_process_queued(void)
#define NICK_SLOTS_PER_SEC
int osd_init_with_defaults(void)
int set_cpu_clock(int hz)
void kbd_matrix_reset(void)
void nick_render_slot(void)
void configdb_define_emulator_options(void)
#define VIRTUAL_SHIFT_POS
#define ERROR_WINDOW(...)
void fileio_init(const char *dir, const char *subdir)
int ep128snap_load(const char *fn)
struct configdb_st configdb
void wd_detach_disk_image(void)
void audio_init(int enable)
char emulator_speed_title[]
void primo_emulator_execute(void)
int primo_search_rom(void)
void dave_set_clock(void)
void emu_one_frame(int rasters, int frameskip)
int cpu_cycles_per_dave_tick
int ep_set_ram_config(const char *spec)
int sram_save_all_segments(void)