X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=m68k.h;fp=m68k.h;h=b3a56877e80f768be5e22eac63f800ba4b91a9f8;hb=d06400230faba867eed3e18c8f16742a4403964f;hp=bb8e68614bdd874426998eeea9977f558d8b05b5;hpb=6d74804193233a5fe5c57a2eb776219e6e1a31c1;p=pistorm diff --git a/m68k.h b/m68k.h index bb8e686..b3a5687 100644 --- a/m68k.h +++ b/m68k.h @@ -191,13 +191,13 @@ unsigned int m68k_read_memory_16(unsigned int address); unsigned int m68k_read_memory_32(unsigned int address); /* Read data immediately following the PC */ -unsigned int m68k_read_immediate_16(unsigned int address); -unsigned int m68k_read_immediate_32(unsigned int address); +unsigned int m68k_read_immediate_16(struct m68ki_cpu_core *state, unsigned int address); +unsigned int m68k_read_immediate_32(struct m68ki_cpu_core *state, unsigned int address); /* Read data relative to the PC */ -unsigned int m68k_read_pcrelative_8(unsigned int address); -unsigned int m68k_read_pcrelative_16(unsigned int address); -unsigned int m68k_read_pcrelative_32(unsigned int address); +unsigned int m68k_read_pcrelative_8(struct m68ki_cpu_core *state, unsigned int address); +unsigned int m68k_read_pcrelative_16(struct m68ki_cpu_core *state, unsigned int address); +unsigned int m68k_read_pcrelative_32(struct m68ki_cpu_core *state, unsigned int address); /* Memory access for the disassembler */ unsigned int m68k_read_disassembler_8 (unsigned int address); @@ -362,7 +362,7 @@ void m68k_pulse_halt(void); /* Trigger a bus error exception */ -void m68k_pulse_bus_error(void); +void m68k_pulse_bus_error(struct m68ki_cpu_core *state); /* Context switching to allow multiple CPUs */