//ARMv3 (ARM6) struct ArmDSP : Processor::ARM, Coprocessor { uint8* programROM; uint8* dataROM; uint8* programRAM; #include "registers.hpp" static void Enter(); void enter(); void step(unsigned clocks); void bus_idle(uint32 addr); uint32 bus_read(uint32 addr, uint32 size, bool mode); uint32 bus_load(uint32 addr, uint32 size, bool mode); void bus_write(uint32 addr, uint32 size, bool mode, uint32 word); void bus_store(uint32 addr, uint32 size, bool mode, uint32 word); uint8 mmio_read(unsigned addr); void mmio_write(unsigned addr, uint8 data); void init(); void load(); void unload(); void power(); void reset(); void arm_reset(); nall::vector firmware(); void serialize(serializer&); ArmDSP(); ~ArmDSP(); }; extern ArmDSP armdsp;