Go to the documentation of this file.
7 #ifndef __PZ80emu__display__
8 #define __PZ80emu__display__
23 void display_bus(
struct bus *);
void display_registers(struct z80 *)
display the current register state to STDOUT
Definition: display.c:177
word sp
Definition: z80.h:65
#define CARRY
bit position of CARRY flag
Definition: z80.h:72
WINDOW * create_newwin(int, int, int, int)
creates a new curses window
Definition: display.c:104
void create_newscreen(int main_row, int main_col)
creates a new curses screen
Definition: display.c:123
z80 memory class
Definition: memory.h:19
word pc
Definition: z80.h:53
word ix
Definition: z80.h:58
word _bc
Definition: z80.h:62
#define ZERO
bit position of ZERO flag
Definition: z80.h:78
word ir
Definition: z80.h:60
#define PARITY_OVERFLOW
bit position of OVERFLOW flag
Definition: z80.h:74
void display_mem(uint8_t *)
display the current memory contents to STDOUT
Definition: display.c:144
#define HALF_CARRY
bit position of HALF CARRY flag
Definition: z80.h:76
z80 CPU data structure and functions
#define SIGN
bit position of SIGN flag
Definition: z80.h:79
void display_mem(uint8_t *memory)
display the current memory contents to STDOUT
Definition: display.c:144
void curses_display_mem(WINDOW *win, uint8_t *memory)
display the contents of a block of memory to a curses window
Definition: display.c:24
word _af
Definition: z80.h:61
word bc
Definition: z80.h:55
uint8_t l
low order byte
Definition: z80.h:31
__BEGIN_DECLS void curses_display_mem(WINDOW *, uint8_t *)
display the contents of a block of memory to a curses window
Definition: display.c:24
uint8_t h
high order byte
Definition: z80.h:32
z80 bus class
Definition: bus.h:15
struct word::@0 B
Combination of High and Low bytes in correct order for endianness.
uint8_t data
Definition: bus.h:19
void curses_display_registers(WINDOW *win, struct z80 *cpu)
display the current register state to a curses window
Definition: display.c:58
word af
Definition: z80.h:54
uint16_t address
Definition: bus.h:20
WINDOW * create_newwin(int height, int width, int starty, int startx)
creates a new curses window
Definition: display.c:104
word _hl
Definition: z80.h:64
void curses_display_registers(WINDOW *, struct z80 *)
display the current register state to a curses window
Definition: display.c:58
void display_registers(struct z80 *cpu)
display the current register state to STDOUT
Definition: display.c:177
void create_newscreen(int, int)
creates a new curses screen
Definition: display.c:123
uint16_t W
16-bit pair
Definition: z80.h:22
word iy
Definition: z80.h:59
#define SUBTRACT
bit position of SUBTRACT flag
Definition: z80.h:73
word de
Definition: z80.h:56
#define IS_SET(val, bit)
Determines if a bit is set or not.
Definition: utils.h:17
word hl
Definition: z80.h:57
word _de
Definition: z80.h:63