OSDN Git Service

[General] Merge upstream 2018-05-24. Still not test to build, will test.
[csp-qt/common_source_project-fm7.git] / source / src / vm / ex80 / ex80.h
index e209ca9..c1efc29 100644 (file)
@@ -27,7 +27,7 @@
 // device informations for win32
 #define ONE_BOARD_MICRO_COMPUTER
 #define MAX_BUTTONS            25
-#define MAX_DRAW_RANGES                9
+//#define MAX_DRAW_RANGES      9
 /*
 SW1    ON = STEP / OFF = AUTO
 SW2    ON = CHAR / OFF = BIT
@@ -38,16 +38,18 @@ SW3-1/2     ON ,ON  = 8000H-81FFH
 */
 #define USE_DIPSWITCH
 #define DIPSWITCH_DEFAULT      0x0e
-#define USE_TAPE
+#define USE_TAPE               1
 #define TAPE_BINARY_ONLY
-#define USE_BINARY_FILE1
+#define USE_BINARY_FILE                1
 #define USE_ALT_F10_KEY
 #define USE_AUTO_KEY           5
 #define USE_AUTO_KEY_RELEASE   6
 #define USE_AUTO_KEY_NO_CAPS
+#define USE_MONITOR_TYPE       2
 #define USE_SOUND_VOLUME       1
 #define USE_DEBUGGER
 #define USE_STATE
+#define USE_CPU_I8080
 
 #include "../../common.h"
 #include "../../fileio.h"
@@ -165,6 +167,7 @@ public:
        
        // draw screen
        void draw_screen();
+       int max_draw_ranges();
        
        // sound generation
        void initialize_sound(int rate, int samples);
@@ -177,10 +180,10 @@ public:
        // user interface
        void load_binary(int drv, const _TCHAR* file_path);
        void save_binary(int drv, const _TCHAR* file_path);
-       void play_tape(const _TCHAR* file_path);
-       void rec_tape(const _TCHAR* file_path);
-       void close_tape();
-       bool is_tape_inserted();
+       void play_tape(int drv, const _TCHAR* file_path);
+       void rec_tape(int drv, const _TCHAR* file_path);
+       void close_tape(int drv);
+       bool is_tape_inserted(int drv);
        bool is_frame_skippable();
        
        void update_config();