OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[VM][PCENGINE][X1] Enable to build.
[csp-qt/common_source_project-fm7.git]
/
source
/
src
/
vm
/
x1
/
floppy.h
diff --git
a/source/src/vm/x1/floppy.h
b/source/src/vm/x1/floppy.h
index
620de34
..
101ab03
100644
(file)
--- a/
source/src/vm/x1/floppy.h
+++ b/
source/src/vm/x1/floppy.h
@@
-2,6
+2,7
@@
SHARP X1 Emulator 'eX1'
SHARP X1twin Emulator 'eX1twin'
SHARP X1turbo Emulator 'eX1turbo'
SHARP X1 Emulator 'eX1'
SHARP X1twin Emulator 'eX1twin'
SHARP X1turbo Emulator 'eX1turbo'
+ SHARP X1turboZ Emulator 'eX1turboZ'
Author : Takeda.Toshiya
Date : 2009.03.14-
Author : Takeda.Toshiya
Date : 2009.03.14-
@@
-30,22
+31,22
@@
private:
int register_id;
public:
int register_id;
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)
{
prev = 0;
motor_on = false;
{
prev = 0;
motor_on = false;
+ set_device_name(_T("Floppy I/F"));
}
~FLOPPY() {}
// common functions
void reset();
}
~FLOPPY() {}
// common functions
void reset();
- void write_io8(uint32
addr, uint32
data);
+ void write_io8(uint32
_t addr, uint32_t
data);
#ifdef _X1TURBO_FEATURE
#ifdef _X1TURBO_FEATURE
- uint32
read_io8(uint32
addr);
+ uint32
_t read_io8(uint32_t
addr);
#endif
void event_callback(int event_id, int err);
#endif
void event_callback(int event_id, int err);
- void save_state(FILEIO* state_fio);
- bool load_state(FILEIO* state_fio);
+ bool process_state(FILEIO* state_fio, bool loading);
// unique functions
void set_context_fdc(MB8877* device)
// unique functions
void set_context_fdc(MB8877* device)