extern const struct cputbl op_smalltbl_5_ff[]; /* 68000 slow but compatible. */
// Externs, supplied by the user...
-extern int irq_ack_handler(int);
+//extern int irq_ack_handler(int);
// Function prototypes...
STATIC_INLINE void m68ki_check_interrupts(void);
#endif
#define CPU_DEBUG
+
+
void Dasm(uint32_t offset, uint32_t qt)
{
#ifdef CPU_DEBUG
#endif
}
+
#ifdef CPU_DEBUG
void DumpRegisters(void)
{
{
}
+
// Pulse the RESET line on the CPU
void m68k_pulse_reset(void)
{
#endif
}
+
int m68k_execute(int num_cycles)
{
#if 0
#endif
}
+
/* ASG: rewrote so that the int_level is a mask of the IPL0/IPL1/IPL2 bits */
void m68k_set_irq(unsigned int intLevel)
{
#endif
}
+
// Check for interrupts
STATIC_INLINE void m68ki_check_interrupts(void)
{
#endif
}
+
// Service an interrupt request and start exception processing
void m68ki_exception_interrupt(uint32_t intLevel)
{
#endif
}
+
// Initiate exception processing
STATIC_INLINE uint32_t m68ki_init_exception(void)
{
#endif
}
+
// 3 word stack frame (68000 only)
STATIC_INLINE void m68ki_stack_frame_3word(uint32_t pc, uint32_t sr)
{
#endif
}
+
unsigned int m68k_get_reg(void * context, m68k_register_t reg)
{
if (reg <= M68K_REG_A7)
return 0;
}
+
void m68k_set_reg(m68k_register_t reg, unsigned int value)
{
if (reg <= M68K_REG_A7)
regs.regs[15] = value;
}
+
//
// Check if the instruction is a valid one
//
return 1;
}
+
// Dummy functions, for now, until we prove the concept here. :-)
// Temp, while we're using the Musashi disassembler...
void m68k_modify_timeslice(int cycles) {} /* Modify cycles left */
//void m68k_end_timeslice(void) {} /* End timeslice now */
+
void m68k_end_timeslice(void)
{
#if 0