2018-06-05 08:45:00 +00:00
|
|
|
#ifndef SIM__HEADER
|
|
|
|
#define SIM__HEADER
|
|
|
|
|
|
|
|
unsigned int cpu_read_byte(unsigned int address);
|
|
|
|
unsigned int cpu_read_word(unsigned int address);
|
|
|
|
unsigned int cpu_read_long(unsigned int address);
|
|
|
|
void cpu_write_byte(unsigned int address, unsigned int value);
|
|
|
|
void cpu_write_word(unsigned int address, unsigned int value);
|
|
|
|
void cpu_write_long(unsigned int address, unsigned int value);
|
|
|
|
void cpu_pulse_reset(void);
|
|
|
|
void cpu_set_fc(unsigned int fc);
|
|
|
|
int cpu_irq_ack(int level);
|
2020-05-28 12:06:08 +00:00
|
|
|
void cpu_instr_callback(int pc);
|
2018-06-05 08:45:00 +00:00
|
|
|
|
|
|
|
#endif /* SIM__HEADER */
|