|
Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
Go to the documentation of this file.
57 if (addr < 0 || addr > 0xFFFF)
58 FATAL(
"emu_mem_write(): invalid address %d" NL,
addr);
59 if (data < 0 || data > 0xFF)
67 if (addr < 0 || addr > 0xFFFF)
68 FATAL(
"emu_mem_write(): invalid address %d" NL,
addr);
99 conputs(
"\n\rPress SPACE to exit");
128 int oplen =
z80ex_dasm(o_dasm,
sizeof o_dasm, 0, &t1, &t2, disasm_mreader,
addr & 0xFFFF);
129 char *p = strchr(o_dasm,
' ');
135 for (
int a = 0; a < oplen; a++)
136 sprintf(o_head + a * 3,
"%02X ", disasm_mreader(
addr + a));
138 snprintf(
buf, buf_size,
"%04X %-12s %-4s %s",
addr, o_head, o_dasm, p);
140 snprintf(
buf, buf_size,
"%04X %-12s %s",
addr, o_head, o_dasm);
void z80ex_mwrite_cb(Z80EX_WORD addr, Z80EX_BYTE value)
int z80_custom_disasm(int addr, char *buf, int buf_size)
Z80EX_BYTE z80ex_pread_cb(Z80EX_WORD port16)
int bios_handle(int addr)
void emu_mem_write(int addr, int data)
unsigned short Z80EX_WORD
void z80ex_pwrite_cb(Z80EX_WORD port16, Z80EX_BYTE value)
Z80EX_BYTE z80ex_intread_cb(void)
Z80EX_BYTE z80ex_mread_cb(Z80EX_WORD addr, int m1_state)
int emu_mem_read(int addr)
int bdos_handle(int addr)
int z80ex_dasm(char *output, int output_size, unsigned flags, int *t_states, int *t_states2, z80ex_dasm_readbyte_cb readbyte_cb, Z80EX_WORD addr)
void conputs(const char *s)