Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
main.c File Reference
#include "xep128.h"
#include "main.h"
#include "dave.h"
#include "nick.h"
#include "configuration.h"
#include "sdext.h"
#include "exdos_wd.h"
#include "roms.h"
#include "screen.h"
#include "input.h"
#include "cpu.h"
#include "primoemu.h"
#include "emu_rom_interface.h"
#include "epnet.h"
#include "zxemu.h"
#include "printer.h"
#include "joystick.h"
#include "console.h"
#include "emu_monitor.h"
#include "rtc.h"
#include "fileio.h"
#include "xemu/z80.h"
#include "gui.h"
#include "snapshot.h"
#include <string.h>
#include <stdlib.h>
#include <SDL.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
Include dependency graph for main.c:

Go to the source code of this file.

Macros

#define __TIMING_METHOD_DESC   "SDL_GetPerformanceCounter"
 
#define __SLEEP_METHOD_DESC   "nanosleep"
 

Functions

void * alloc_xep_aligned_mem (size_t size)
 
void shutdown_sdl (void)
 
void emu_timekeeping_start (void)
 
int set_cpu_clock (int hz)
 
int set_cpu_clock_with_osd (int hz)
 
void emu_one_frame (int rasters, int frameskip)
 
int main (int argc, char *argv[])
 

Variables

int paused = 0
 
time_t unix_time
 
int chatty_xemu = 1
 

Macro Definition Documentation

◆ __SLEEP_METHOD_DESC

#define __SLEEP_METHOD_DESC   "nanosleep"

◆ __TIMING_METHOD_DESC

#define __TIMING_METHOD_DESC   "SDL_GetPerformanceCounter"

Function Documentation

◆ alloc_xep_aligned_mem()

void* alloc_xep_aligned_mem ( size_t  size)

Definition at line 74 of file main.c.

Here is the caller graph for this function:

◆ emu_one_frame()

void emu_one_frame ( int  rasters,
int  frameskip 
)

Definition at line 279 of file main.c.

◆ emu_timekeeping_start()

void emu_timekeeping_start ( void  )

Definition at line 243 of file main.c.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 432 of file main.c.

Here is the call graph for this function:

◆ set_cpu_clock()

int set_cpu_clock ( int  hz)

Definition at line 253 of file main.c.

Here is the caller graph for this function:

◆ set_cpu_clock_with_osd()

int set_cpu_clock_with_osd ( int  hz)

Definition at line 266 of file main.c.

Here is the call graph for this function:

◆ shutdown_sdl()

void shutdown_sdl ( void  )

Definition at line 88 of file main.c.

Here is the caller graph for this function:

Variable Documentation

◆ chatty_xemu

int chatty_xemu = 1

Definition at line 68 of file main.c.

◆ paused

int paused = 0

Definition at line 58 of file main.c.

◆ unix_time

time_t unix_time

Definition at line 66 of file main.c.