Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Data Structures | Macros | Functions
emu_monitor.c File Reference
#include "xep128.h"
#include "emu_monitor.h"
#include "xemu/../rom/ep128/xep_rom_syms.h"
#include "xemu/z80_dasm.h"
#include "cpu.h"
#include "z180.h"
#include "configuration.h"
#include "emu_rom_interface.h"
#include "fileio.h"
#include "screen.h"
#include "console.h"
#include "nick.h"
#include "input.h"
#include "primoemu.h"
#include "dave.h"
#include "sdext.h"
#include "main.h"
#include <SDL.h>
#include <SDL_syswm.h>
#include <dirent.h>
#include <sys/stat.h>
#include <unistd.h>
Include dependency graph for emu_monitor.c:

Go to the source code of this file.

Data Structures

struct  commands_st
 

Macros

#define XEP128_NEED_SDL_WMINFO
 
#define MPRINTF(...)
 
#define ARG_ONE   33
 
#define ARG_SPACE   32
 
#define SEGMENT_OF_Z80_ADDR(n)   ports[0xB0 | (((n) & 0xFFFF) >> 14)]
 
#define OS_KIND   "POSIX"
 

Functions

void monitor_execute (char *in_input_buffer, int in_source, char *in_output_buffer, int in_output_max_size, const char *in_output_nl)
 
void monitor_process_queued (void)
 
int monitor_queue_used (void)
 
int monitor_queue_command (char *buffer)
 

Macro Definition Documentation

◆ ARG_ONE

#define ARG_ONE   33

Definition at line 92 of file emu_monitor.c.

◆ ARG_SPACE

#define ARG_SPACE   32

Definition at line 93 of file emu_monitor.c.

◆ MPRINTF

#define MPRINTF (   ...)
Value:
do { \
char __mprintf__buffer__[0x4000]; \
snprintf(__mprintf__buffer__, sizeof __mprintf__buffer__, __VA_ARGS__); \
__mprintf_append_helper(__mprintf__buffer__); \
} while(0)

Definition at line 86 of file emu_monitor.c.

◆ OS_KIND

#define OS_KIND   "POSIX"

◆ SEGMENT_OF_Z80_ADDR

#define SEGMENT_OF_Z80_ADDR (   n)    ports[0xB0 | (((n) & 0xFFFF) >> 14)]

Definition at line 164 of file emu_monitor.c.

◆ XEP128_NEED_SDL_WMINFO

#define XEP128_NEED_SDL_WMINFO

Definition at line 19 of file emu_monitor.c.

Function Documentation

◆ monitor_execute()

void monitor_execute ( char *  in_input_buffer,
int  in_source,
char *  in_output_buffer,
int  in_output_max_size,
const char *  in_output_nl 
)

Definition at line 736 of file emu_monitor.c.

◆ monitor_process_queued()

void monitor_process_queued ( void  )

Definition at line 772 of file emu_monitor.c.

◆ monitor_queue_command()

int monitor_queue_command ( char *  buffer)

Definition at line 797 of file emu_monitor.c.

◆ monitor_queue_used()

int monitor_queue_used ( void  )

Definition at line 790 of file emu_monitor.c.