39 lines
574 B
C++
Executable File
39 lines
574 B
C++
Executable File
class sSMP : public SMP {
|
|
public:
|
|
void enter();
|
|
|
|
#include "core/core.hpp"
|
|
#include "memory/memory.hpp"
|
|
#include "timing/timing.hpp"
|
|
|
|
struct {
|
|
uint8 opcode;
|
|
bool in_opcode;
|
|
|
|
//timing
|
|
uint32 clock_counter;
|
|
uint32 dsp_counter;
|
|
|
|
//$00f0
|
|
uint8 clock_speed;
|
|
bool mmio_disabled;
|
|
bool ram_writable;
|
|
|
|
//$00f1
|
|
bool iplrom_enabled;
|
|
|
|
//$00f2
|
|
uint8 dsp_addr;
|
|
|
|
//$00f8,$00f9
|
|
uint8 smp_f8, smp_f9;
|
|
} status;
|
|
|
|
//ssmp.cpp
|
|
void power();
|
|
void reset();
|
|
|
|
sSMP();
|
|
~sSMP();
|
|
};
|