#define SIG_FLOPPY_DRQ 0
+namespace MZ700 {
+
class FLOPPY : public DEVICE
{
private:
bool irq_enabled;
public:
- FLOPPY(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ FLOPPY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
{
set_device_name(_T("Floppy I/F"));
}
// common functions
void initialize();
void reset();
- void write_io8(uint32_t addr, uint32_t data);
+ void __FASTCALL write_io8(uint32_t addr, uint32_t data);
void event_callback(int event_id, int err);
- void write_signal(int id, uint32_t data, uint32_t mask);
- void decl_state();
- void save_state(FILEIO* state_fio);
- bool load_state(FILEIO* state_fio);
+ void __FASTCALL write_signal(int id, uint32_t data, uint32_t mask);
+ bool process_state(FILEIO* state_fio, bool loading);
// unique functions
void set_context_cpu(DEVICE* device)
}
};
+}
#endif