Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
spectrum.c File Reference
#include "xemu/emutools.h"
#include "xemu/emutools_files.h"
#include "xemu/emutools_hid.h"
#include "xemu/emutools_config.h"
#include "xemu/z80.h"
#include "spectrum.h"
Include dependency graph for spectrum.c:

Go to the source code of this file.

Macros

#define VIRTUAL_SHIFT_POS   0x00
 

Functions

void z80ex_tstate_cb (void)
 
Z80EX_BYTE z80ex_mread_cb (Z80EX_WORD addr, int m1_state)
 
void z80ex_mwrite_cb (Z80EX_WORD addr, Z80EX_BYTE value)
 
Z80EX_BYTE z80ex_pread_cb (Z80EX_WORD port16)
 
void z80ex_pwrite_cb (Z80EX_WORD port16, Z80EX_BYTE value)
 
Z80EX_BYTE z80ex_intread_cb (void)
 
void z80ex_reti_cb (void)
 
void clear_emu_events (void)
 
int emu_callback_key (int pos, SDL_Scancode key, int pressed, int handled)
 
int main (int argc, char **argv)
 

Variables

Z80EX_CONTEXT z80ex
 

Macro Definition Documentation

◆ VIRTUAL_SHIFT_POS

#define VIRTUAL_SHIFT_POS   0x00

Definition at line 231 of file spectrum.c.

Function Documentation

◆ clear_emu_events()

void clear_emu_events ( void  )

Definition at line 293 of file spectrum.c.

Here is the call graph for this function:

◆ emu_callback_key()

int emu_callback_key ( int  pos,
SDL_Scancode  key,
int  pressed,
int  handled 
)

Definition at line 301 of file spectrum.c.

Here is the call graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 326 of file spectrum.c.

Here is the call graph for this function:

◆ z80ex_intread_cb()

Z80EX_BYTE z80ex_intread_cb ( void  )

Definition at line 219 of file spectrum.c.

◆ z80ex_mread_cb()

Z80EX_BYTE z80ex_mread_cb ( Z80EX_WORD  addr,
int  m1_state 
)

Definition at line 169 of file spectrum.c.

◆ z80ex_mwrite_cb()

void z80ex_mwrite_cb ( Z80EX_WORD  addr,
Z80EX_BYTE  value 
)

Definition at line 177 of file spectrum.c.

◆ z80ex_pread_cb()

Z80EX_BYTE z80ex_pread_cb ( Z80EX_WORD  port16)

Definition at line 192 of file spectrum.c.

◆ z80ex_pwrite_cb()

void z80ex_pwrite_cb ( Z80EX_WORD  port16,
Z80EX_BYTE  value 
)

Definition at line 210 of file spectrum.c.

◆ z80ex_reti_cb()

void z80ex_reti_cb ( void  )

Definition at line 225 of file spectrum.c.

◆ z80ex_tstate_cb()

void z80ex_tstate_cb ( void  )

Definition at line 113 of file spectrum.c.

Here is the caller graph for this function:

Variable Documentation

◆ fullscreen

int fullscreen

Definition at line 319 of file spectrum.c.

◆ rom

char* rom

Definition at line 320 of file spectrum.c.

◆ sdlrenderquality

int sdlrenderquality

Definition at line 321 of file spectrum.c.

◆ syscon

int syscon

Definition at line 319 of file spectrum.c.

◆ z80ex

Definition at line 29 of file spectrum.c.