//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by resource.rc
//
#define IDC_STATIC                      (-1)
#define IDR_MENU1                       101
#define IDI_ICON1                       102
#define IDR_ACCELERATOR1                103
#define ID_ACCEL_SCREEN                 104
#define ID_ACCEL_MOUSE                  105
#define ID_BITMAP1                      106
#define ID_UPDATE_SCREEN                110
#define ID_UPDATE_TITLE                 111
#define ID_BUTTON                       1000
#define ID_HELP_ABOUT                   1001

#define ID_ENABLE_MOUSE_TEMP            1012
#define ID_DISABLE_MOUSE_TEMP           1013

#define ID_RESET                        20000
#define ID_SPECIAL_RESET                20001
#define ID_CPU_POWER0                   20002
#define ID_CPU_POWER1                   20003
#define ID_CPU_POWER2                   20004
#define ID_CPU_POWER3                   20005
#define ID_CPU_POWER4                   20006
#define ID_CPU_POWER5                   20007
#define ID_CPU_POWER6                   20008
#define ID_EXIT                         20009
#define ID_WARM_RESET                   20010	// [original]
#define ID_SYNC_IRQ                     20011	// [original]

#define ID_AUTOKEY_START                20012
#define ID_AUTOKEY_STOP                 20013
#define ID_AUTOKEY_OPEN                 20014	// [original]
#define ID_PAUSE                        20015	// [original]
#define ID_LOAD_STATE                   20016	// [original]
#define ID_SAVE_STATE                   20017	// [original]
#define ID_RECKEY_PLAY                  20018	// [original]
#define ID_RECKEY_REC                   20019	// [original]
#define ID_RECKEY_STOP_PLAY             20020	// [original]
#define ID_RECKEY_STOP_REC              20021	// [original]

#define ID_DIPSWITCH1                   20022
#define ID_DIPSWITCH2                   20023
#define ID_DIPSWITCH3                   20024
#define ID_DIPSWITCH4                   20025
#define ID_DIPSWITCH5                   20026
#define ID_DIPSWITCH6                   20027
#define ID_DIPSWITCH7                   20028
#define ID_DIPSWITCH8                   20029
#define ID_SYSTEM_MODE_A                20030	// [original]
#define ID_SYSTEM_MODE_1                20031	// [original]
#define ID_SYSTEM_MODE_2                20032	// [original]
#define ID_MEMORY_NOWAIT                20033	// [original]

#define ID_FDD_TYPE_1                   20041	// [original]
#define ID_FDD_TYPE_2                   20042	// [original]
#define ID_FDD_TYPE_3                   20043	// [original]
#define ID_FDD_TYPE_4                   20044	// [original]

#define ID_HC80_RAMDISK0                20031
#define ID_HC80_RAMDISK1                20032
#define ID_HC80_RAMDISK2                20033

#define ID_MZ800_BOOT_MODE_MZ800        20031
#define ID_MZ800_BOOT_MODE_MZ700        20032

#define ID_PC98DO_BOOT_MODE_PC98        20031
#define ID_PC8801_BOOT_MODE_V1S         20032
#define ID_PC8801_BOOT_MODE_V1H         20033
#define ID_PC8801_BOOT_MODE_V2          20034
#define ID_PC8801_BOOT_MODE_N           20035

#define ID_PC9801_CPU_CLOCK_HIGH        20041
#define ID_PC9801_CPU_CLOCK_LOW         20042

#define ID_OPEN_DEBUGGER0               20051
#define ID_OPEN_DEBUGGER1               20052
#define ID_OPEN_DEBUGGER2               20053
#define ID_OPEN_DEBUGGER3               20054
#define ID_CLOSE_DEBUGGER               20055

#define ID_RECENT_STATE                 20061	// [original] 20061-20080

#define ID_OPEN_FD1                     20101
#define ID_CLOSE_FD1                    20102
#define ID_CHANGE_FD1                   20103	// [original]
#define ID_WRITEPROTECT_FD1             20104	// [original]
#define ID_OPEN_BLANK_2D_FD1			20105
#define ID_OPEN_BLANK_2DD_FD1			20106
#define ID_OPEN_BLANK_2HD_FD1			20107
#define ID_RECENT_FD1                   20111 // 20111-20130
#define ID_SELECT_D88_BANK1             20131 // 20131-20200

#define ID_OPEN_FD2                     20201
#define ID_CLOSE_FD2                    20202
#define ID_CHANGE_FD2                   20203	// [original]
#define ID_WRITEPROTECT_FD2             20204	// [original]
#define ID_OPEN_BLANK_2D_FD2			20205
#define ID_OPEN_BLANK_2DD_FD2			20206
#define ID_OPEN_BLANK_2HD_FD2			20207
#define ID_RECENT_FD2                   20211 // 20211-20230
#define ID_SELECT_D88_BANK2             20231 // 20131-20300

#define ID_OPEN_FD3                     20301
#define ID_CLOSE_FD3                    20302
#define ID_CHANGE_FD3                   20303	// [original]
#define ID_WRITEPROTECT_FD3             20304	// [original]
#define ID_OPEN_BLANK_2D_FD3			20305
#define ID_OPEN_BLANK_2DD_FD3			20306
#define ID_OPEN_BLANK_2HD_FD3			20307
#define ID_RECENT_FD3                   20311 // 20311-20330
#define ID_SELECT_D88_BANK3             20331 // 20131-20400

#define ID_OPEN_FD4                     20401
#define ID_CLOSE_FD4                    20402
#define ID_CHANGE_FD4                   20403	// [original]
#define ID_WRITEPROTECT_FD4             20404	// [original]
#define ID_OPEN_BLANK_2D_FD4			20405
#define ID_OPEN_BLANK_2DD_FD4			20406
#define ID_OPEN_BLANK_2HD_FD4			20407
#define ID_RECENT_FD4                   20411 // 20411-20430
#define ID_SELECT_D88_BANK4             20431 // 20131-20500

#define ID_OPEN_FD5                     20501
#define ID_CLOSE_FD5                    20502
#define ID_CHANGE_FD5                   20503	// [original]
#define ID_WRITEPROTECT_FD5             20504	// [original]
#define ID_OPEN_BLANK_2D_FD5			20505
#define ID_OPEN_BLANK_2DD_FD5			20506
#define ID_OPEN_BLANK_2HD_FD5			20507
#define ID_RECENT_FD5                   20511 // 20511-20530
#define ID_SELECT_D88_BANK5             20531 // 20531-20600

#define ID_OPEN_FD6                     20601
#define ID_CLOSE_FD6                    20602
#define ID_CHANGE_FD6                   20603	// [original]
#define ID_WRITEPROTECT_FD6             20604	// [original]
#define ID_OPEN_BLANK_2D_FD6			20605
#define ID_OPEN_BLANK_2DD_FD6			20606
#define ID_OPEN_BLANK_2HD_FD6			20607
#define ID_RECENT_FD6                   20611 // 20611-20630
#define ID_SELECT_D88_BANK6             20631 // 20631-20700

#define ID_OPEN_CART                    20901
#define ID_CLOSE_CART                   20902
#define ID_RECENT_CART                  20911 // 20911-20918

#define ID_PLAY_DATAREC                 20921
#define ID_REC_DATAREC                  20922
#define ID_CLOSE_DATAREC                20923
#define ID_PLAY_BUTTON                  20924
#define ID_REC_BUTTON                   20925
#define ID_REWIND_DATAREC               20926	// [original]
#define ID_FAST_FORWARD_DATAREC         20927	// [original]
#define ID_REAL_DATAREC                 20928	// [original]
#define ID_STOP_DATAREC                 20929	// [original]
#define ID_RECENT_DATAREC               20931 // 20931-20950

//#define ID_OPEN_QD1                   20941
//#define ID_CLOSE_QD1                  20942
//#define ID_RECENT_QD1                 20951 // 20951-20958

#define ID_OPEN_MEDIA                   20961
#define ID_CLOSE_MEDIA                  20962
#define ID_RECENT_MEDIA                 20971 // 20971-20978

#define ID_LOAD_RAM                     20981
#define ID_SAVE_RAM                     20982
#define ID_RECENT_RAM                   20991 // 20991-20998

#define ID_SCREEN_REC60                 21001
#define ID_SCREEN_REC30                 21002
#define ID_SCREEN_REC20                 21003
#define ID_SCREEN_REC15                 21004
#define ID_SCREEN_REC12                 21005
#define ID_SCREEN_REC10                 21006
#define ID_SCREEN_STOP                  21007
#define ID_SCREEN_CAPTURE               21008
#define ID_SCREEN_REC_SIZE1             21009	// [original]
#define ID_SCREEN_REC_SIZE2             21010	// [original]
#define ID_SCREEN_WINDOW1               21011
#define ID_SCREEN_WINDOW2               21012
#define ID_SCREEN_WINDOW3               21013
#define ID_SCREEN_WINDOW4               21014
#define ID_SCREEN_WINDOW5               21015
#define ID_SCREEN_WINDOW6               21016
#define ID_SCREEN_WINDOW7               21017
#define ID_SCREEN_WINDOW8               21018
#define ID_SCREEN_WINDOW_A              21019
#define ID_SCREEN_BOTTOM                21020
#define ID_SCREEN_DISPLAY0              21021	// 21022-21044
#define ID_SCREEN_DISPLAY_A             21045
#define ID_SCREEN_STRETCH               21046
//#define ID_SCREEN_WAIT_VSYNC            21047
#define ID_SCREEN_CUTOUT				21047	// [original]
#define ID_SCREEN_STRETCH_A             21048	// [original]

#define ID_SCREEN_MONITOR_TYPE0         21049
#define ID_SCREEN_MONITOR_TYPE1         21050
#define ID_SCREEN_MONITOR_TYPE2         21051
#define ID_SCREEN_MONITOR_TYPE3         21052
#define ID_SCREEN_SCANLINE0             21053	// [original]
#define ID_SCREEN_SCANLINE1             21054	// [original]
#define ID_SCREEN_SCANLINE2             21055	// [original]
#define ID_SCREEN_SCANLINE3             21056	// [original]
#define ID_SCREEN_SCANLINE_A            21057	// [original]
#define ID_SCREEN_AFTERIMAGE1			21058	// [original]
#define ID_SCREEN_AFTERIMAGE2			21059	// [original]
#define ID_SCREEN_AFTERIMAGE_A			21060	// [original]
#define ID_SCREEN_KEEPIMAGE1			21061	// [original]
#define ID_SCREEN_KEEPIMAGE2			21062	// [original]
#define ID_SCREEN_KEEPIMAGE_A			21063	// [original]
#define ID_SCREEN_DIGITAL               21064	// [original]
#define ID_SCREEN_ANALOG                21065	// [original]
#define ID_SCREEN_PIXEL_ASPECT0         21066	// [original]
#define ID_SCREEN_PIXEL_ASPECT1         21067	// [original]
#define ID_SCREEN_PIXEL_ASPECT2         21068	// [original]
#define ID_SCREEN_PIXEL_ASPECT3         21069	// [original]
#define ID_SCREEN_PIXEL_ASPECT4         21070	// [original]
#define ID_SCREEN_PIXEL_ASPECT_A        21071	// [original]
#define ID_SCREEN_DEFAULT_DRAW_S		21072	// [original]
#define ID_SCREEN_DEFAULT_DRAW_AS		21073	// [original]
#define ID_SCREEN_DEFAULT_DRAW_SDB		21074	// [original]
#define ID_SCREEN_DEFAULT_DRAW_ASDB		21075	// [original]
#define ID_SCREEN_D2D_SYNC				21076	// [original]
#define ID_SCREEN_D2D_ASYNC				21077	// [original]
#define ID_SCREEN_D2D_SYNC_DB			21078	// [original]
#define ID_SCREEN_D2D_ASYNC_DB			21079	// [original]
#define ID_SCREEN_D3D_SYNC				21080	// [original]
#define ID_SCREEN_D3D_ASYNC				21081	// [original]
#define ID_SCREEN_OPENGL_SYNC			21082	// [original]
#define ID_SCREEN_OPENGL_ASYNC			21083	// [original]
#define ID_SCREEN_DRAWING_METHOD_A 		21084	// [original]

#define ID_SCREEN_FILTER0               21086	// [original]
#define ID_SCREEN_FILTER1               21087	// [original]
#define ID_SCREEN_FILTER2               21088	// [original]
#define ID_SCREEN_FILTER_A              21089	// [original]

#define ID_SCREEN_VFRAME                21093	// [original]
#define ID_SCREEN_FPS60                 21094	// [original]
#define ID_SCREEN_FPS30                 21095	// [original]
#define ID_SCREEN_FPS20                 21096	// [original]
#define ID_SCREEN_FPS15                 21097	// [original]
#define ID_SCREEN_FPS12                 21098	// [original]
#define ID_SCREEN_FPS10                 21099	// [original]

#define ID_SOUND_REC                    21101
#define ID_SOUND_STOP                   21102
#define ID_SOUND_VOLUME                 21110
#define ID_SOUND_FREQ0                  21111
#define ID_SOUND_FREQ1                  21112
#define ID_SOUND_FREQ2                  21113
#define ID_SOUND_FREQ3                  21114
#define ID_SOUND_FREQ4                  21115
#define ID_SOUND_FREQ5                  21116
#define ID_SOUND_FREQ6                  21117
#define ID_SOUND_FREQ7                  21118
#define ID_SOUND_LATE0                  21121
#define ID_SOUND_LATE1                  21122
#define ID_SOUND_LATE2                  21123
#define ID_SOUND_LATE3                  21124
#define ID_SOUND_LATE4                  21125
#define ID_SOUND_LATE5                  21126
#define ID_SOUND_FILTER                 21129

#define ID_SOUND_DEVICE_TYPE0           21131
#define ID_SOUND_DEVICE_TYPE1           21132
#define ID_SOUND_DEVICE_TYPE2           21133
#define ID_SOUND_DEVICE_TYPE3           21134

// [original]
#define ID_OPTIONS_FDD_TYPE_A           21135
#define ID_OPTIONS_LEDBOX_POS_A         21136
#define ID_OPTIONS_LEDBOX_A             21137
#define ID_OPTIONS_LEDBOX_INSIDE        21138
#define ID_OPTIONS_LEDBOX_SHOW          21139
#define ID_OPTIONS_MSGBOARD				21140
#define ID_OPTIONS_CONFIG               21141
#define ID_OPTIONS_KEYBIND              21142
#define ID_OPTIONS_JOYPAD0              21143
#define ID_OPTIONS_JOYPAD1              21144
#define ID_OPTIONS_JOYPAD2              21145
#define ID_OPTIONS_JOYPAD_A             21146
#define ID_OPTIONS_LIGHTPEN             21147
#define ID_OPTIONS_MOUSE                21148
#define ID_OPTIONS_VKEYBOARD            21149
#define ID_OPTIONS_USE_DINPUT           21150
#define ID_OPTIONS_LOOSEN_KEY           21151
#define ID_OPTIONS_KEY2JOYPAD0          21152
#define ID_OPTIONS_KEY2JOYPAD1          21153
#define ID_OPTIONS_KEY2JOYPAD2          21154
#define ID_OPTIONS_JOYSETTING           21155
#define ID_OPTIONS_PMETER				21156
#define ID_OPTIONS_LOGGING              21157

#define ID_PRINTER0_SAVE                21170
#define ID_PRINTER0_PRINT               21171
#define ID_PRINTER0_CLEAR               21172
#define ID_PRINTER0_DIRECT              21173
#define ID_PRINTER0_ONLINE              21174
#define ID_PRINTER1_SAVE                21175
#define ID_PRINTER1_PRINT               21176
#define ID_PRINTER1_CLEAR               21177
#define ID_PRINTER1_DIRECT              21178
#define ID_PRINTER1_ONLINE              21179
#define ID_PRINTER2_SAVE                21180
#define ID_PRINTER2_PRINT               21181
#define ID_PRINTER2_CLEAR               21182
#define ID_PRINTER2_DIRECT              21183
#define ID_PRINTER2_ONLINE              21184

#define ID_COMM0_SERVER                 21190
#define ID_COMM0_CONNECT                21191
#define ID_COMM0_THROUGH                21192
#define ID_COMM0_WILLECHO               21193
#define ID_COMM0_BINARY                 21194
#define ID_COMM1_SERVER                 21195
#define ID_COMM1_CONNECT                21196
#define ID_COMM1_THROUGH                21197
#define ID_COMM1_WILLECHO               21198
#define ID_COMM1_BINARY                 21199

#define ID_COMM0_PORT1                  21201
#define ID_COMM0_PORT_BOTTOM            21210
#define ID_COMM1_PORT1                  21211
#define ID_COMM1_PORT_BOTTOM            21220

#define ID_SCREEN_FULLSCREEN0_01        21221	// 21221-21240
#define ID_SCREEN_FULLSCREEN1_01        21241
#define ID_SCREEN_FULLSCREEN2_01        21261
#define ID_SCREEN_FULLSCREEN3_01        21281
#define ID_SCREEN_FULLSCREEN4_01        21301
#define ID_SCREEN_FULLSCREEN5_01        21321	// 21321-21340

#define ID_WINDOW_SIZE1                 21951
#define ID_WINDOW_SIZE2                 21952
#define ID_WINDOW_SIZE3                 21953
#define ID_WINDOW_SIZE4                 21954
#define ID_WINDOW_SIZE5                 21955

#define IDC_STATIC_0                    21960
#define IDC_STATIC_1                    21961
#define IDC_STATIC_2                    21962
#define IDC_STATIC_3                    21963
#define IDC_STATIC_4                    21964
#define IDC_STATIC_5                    21965
#define IDC_STATIC_6                    21966
#define IDC_STATIC_7                    21967
#define IDC_STATIC_8                    21968
#define IDC_STATIC_9                    21969
#define IDC_STATIC_10                   21970
#define IDC_STATIC_11                   21971
#define IDC_STATIC_12                   21972
#define IDC_STATIC_13                   21973
#define IDC_STATIC_14                   21974
#define IDC_STATIC_15                   21975
#define IDC_STATIC_16                   21976
#define IDC_STATIC_17                   21977
#define IDC_STATIC_18                   21978
#define IDC_STATIC_19                   21979
#define IDC_STATIC_20                   21980
#define IDC_STATIC_21                   21981
#define IDC_STATIC_22                   21982
#define IDC_STATIC_23                   21983
#define IDC_STATIC_24                   21984
#define IDC_STATIC_25                   21985
#define IDC_STATIC_26                   21986
#define IDC_STATIC_27                   21987
#define IDC_STATIC_28                   21988
#define IDC_STATIC_29                   21989
#define IDC_STATIC_30                   21990
#define IDC_STATIC_31                   21991
#define IDC_STATIC_32                   21992
#define IDC_STATIC_33                   21993
#define IDC_STATIC_34                   21994
#define IDC_STATIC_35                   21995
#define IDC_STATIC_36                   21996
#define IDC_STATIC_37                   21997
#define IDC_STATIC_38                   21998
#define IDC_STATIC_39                   21999

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        121
#define _APS_NEXT_COMMAND_VALUE         21150
#define _APS_NEXT_CONTROL_VALUE         1002
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

// menu positions

// GIJUTSU-HYORON-SHA Babbase-2nd
#ifdef _BABBAGE2ND
#define MENU_POS_CONTROL                0
#define MENU_POS_RAM                    1
#endif

// Nintendo Family BASIC
#ifdef _FAMILYBASIC
#define MENU_POS_CONTROL                0
#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// FUJITSU FM16pi
#ifdef _FM16PI
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// FUJITSU FMR-30
#ifdef _FMR30
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// FUJITSU FMR-50
// FUJITSU FMR-CARD
#ifdef _FMR50
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// FUJITSU FMR-60
#ifdef _FMR60
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// CASIO FP-1100
#ifdef _FP1100
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_DATAREC                3
#define MENU_POS_SCREEN                 4
#define MENU_POS_SOUND                  5
#endif

// EPSON HC-20
#ifdef _HC20
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_DATAREC                3
#define MENU_POS_SCREEN                 4
#define MENU_POS_SOUND                  5
#endif

// EPSON HC-40
#ifdef _HC40
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_DATAREC                5
#define MENU_POS_SCREEN                 6
#define MENU_POS_SOUND                  7
#endif

// EPSON HC-80
#ifdef _HC80
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// TOSHIBA J-3100GT
#ifdef _J3100GT
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// TOSHIBA J-3100SL
#ifdef _J3100SL
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// IBM Japan Ltd PC/JX
#ifdef _JX
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// SORD m5
#ifdef _M5
#define MENU_POS_CONTROL                0
#define MENU_POS_CART1                  1
#define MENU_POS_DATAREC                2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// SEIKO MAP-1010
#ifdef _MAP1010
#define MENU_POS_CONTROL                0
#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// MITSUBISHI Elec. MULTI8
#ifdef _MULTI8
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_DATAREC                3
#define MENU_POS_SCREEN                 4
#define MENU_POS_SOUND                  5
#endif

// Japan Electronics College MYCOMZ-80A
#ifdef _MYCOMZ80A
#define MENU_POS_CONTROL                0
#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// SHARP MZ-80K
#ifdef _MZ80K
#define MENU_POS_CONTROL                0
#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// SHARP MZ-700
#ifdef _MZ700
#define MENU_POS_CONTROL                0
#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// SHARP MZ-800
#ifdef _MZ800
#define MENU_POS_CONTROL                0
#define MENU_POS_QD1                    1
#define MENU_POS_DATAREC                2
#define MENU_POS_FD1                    3
#define MENU_POS_FD2                    4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// SHARP MZ-1200
#ifdef _MZ1200
#define MENU_POS_CONTROL                0
#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// SHARP MZ-1500
#ifdef _MZ1500
#define MENU_POS_CONTROL                0
#define MENU_POS_QD1                    1
#define MENU_POS_DATAREC                2
#define MENU_POS_FD1                    3
#define MENU_POS_FD2                    4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// SHARP MZ-2500
#ifdef _MZ2500
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_MEDIA                  5
#define MENU_POS_SCREEN                 6
#define MENU_POS_SOUND                  7
#endif

// SHARP MZ-2800
#ifdef _MZ2800
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// SHARP MZ-3500
#ifdef _MZ3500
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// SHARP MZ-5500
#ifdef _MZ5500
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// SHARP MZ-6500
#ifdef _MZ6500
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// SHARP MZ-6550
#ifdef _MZ6550
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// NEC N5200
#ifdef _N5200
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// TOSHIBA PASOPIA
#ifdef _PASOPIA
#define MENU_POS_CONTROL                0
#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// TOSHIBA PASOPIA7
#ifdef _PASOPIA7
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_DATAREC                3
#define MENU_POS_SCREEN                 4
#define MENU_POS_SOUND                  5
#endif

// NEC PC-8201
#ifdef _PC8201
#define MENU_POS_CONTROL                0
//#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 1
#define MENU_POS_SOUND                  2
#endif

// NEC PC-8201A
#ifdef _PC8201A
#define MENU_POS_CONTROL                0
//#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 1
#define MENU_POS_SOUND                  2
#endif

// NEC PC-8801MA
#ifdef _PC8801MA
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// NEC PC-9801
#ifdef _PC9801
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_FD5                    5
#define MENU_POS_FD6                    6
#define MENU_POS_DATAREC                7
#define MENU_POS_SCREEN                 8
#define MENU_POS_SOUND                  9
#endif

// NEC PC-9801E/F/M
#ifdef _PC9801E
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_FD5                    5
#define MENU_POS_FD6                    6
#define MENU_POS_DATAREC                7
#define MENU_POS_SCREEN                 8
#define MENU_POS_SOUND                  9
#endif

// NEC PC-9801VM
#ifdef _PC9801VM
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// NEC PC-98DO
#ifdef _PC98DO
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_FD3                    3
#define MENU_POS_FD4                    4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// NEC PC-98HA
#ifdef _PC98HA
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// NEC PC-98LT
#ifdef _PC98LT
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// NEC PC-100
#ifdef _PC100
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// SANYO PHC-20
#ifdef _PHC20
#define MENU_POS_CONTROL                0
#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// SANYO PHC-25
#ifdef _PHC25
#define MENU_POS_CONTROL                0
#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// CASIO PV-1000
#ifdef _PV1000
#define MENU_POS_CONTROL                0
#define MENU_POS_CART1                  1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// CASIO PV-2000
#ifdef _PV2000
#define MENU_POS_CONTROL                0
#define MENU_POS_CART1                  1
#define MENU_POS_DATAREC                2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// TOMY PYUTA
#ifdef _PYUTA
#define MENU_POS_CONTROL                0
#define MENU_POS_CART1                  1
#define MENU_POS_DATAREC                2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// EPSON QC-10
#ifdef _QC10
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// BANDAI RX-78
#ifdef _RX78
#define MENU_POS_CONTROL                0
#define MENU_POS_CART1                  1
#define MENU_POS_DATAREC                2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// SEGA SC-3000
#ifdef _SC3000
#define MENU_POS_CONTROL                0
#define MENU_POS_CART1                  1
#define MENU_POS_FD1                    2
#define MENU_POS_DATAREC                3
#define MENU_POS_SCREEN                 4
#define MENU_POS_SOUND                  5
#endif

// EPOCH Super Cassette Vision
#ifdef _SCV
#define MENU_POS_CONTROL                0
#define MENU_POS_CART1                  1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// NEC TK-80BS (COMPO BS/80)
#ifdef _TK80BS
#define MENU_POS_CONTROL                0
#define MENU_POS_RAM                    1
#define MENU_POS_DATAREC                2
#define MENU_POS_SCREEN                 3
#define MENU_POS_SOUND                  4
#endif

// CANON X-07
#ifdef _X07
#define MENU_POS_CONTROL                0
#define MENU_POS_DATAREC                1
#define MENU_POS_SCREEN                 2
#define MENU_POS_SOUND                  3
#endif

// SHARP X1twin
#ifdef _X1TWIN
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_DATAREC                3
#define MENU_POS_CART1                  4
#define MENU_POS_SCREEN                 5
#define MENU_POS_SOUND                  6
#endif

// SHARP X1turbo
#ifdef _X1TURBO
#define MENU_POS_CONTROL                0
#define MENU_POS_FD1                    1
#define MENU_POS_FD2                    2
#define MENU_POS_DATAREC                3
#define MENU_POS_SCREEN                 4
#define MENU_POS_SOUND                  5
#endif

// SHINKO SANGYO YS-6464A
#ifdef _YS6464A
#define MENU_POS_CONTROL                0
#define MENU_POS_RAM                    1
#endif

// HITACHI BASIC MASTER LEVEL3 Mark5 / MB-S1
#if defined(_BML3MK5) || defined(_MBS1)
#define MENU_POS_CONTROL                0
#define MENU_POS_DATAREC                1
#define MENU_POS_FD1                    2
#define MENU_POS_FD2                    3
#define MENU_POS_FD3                    4
#define MENU_POS_FD4                    5
#define MENU_POS_SCREEN                 6
#define MENU_POS_SOUND                  7
#define MENU_POS_DEVICE                 8
#define MENU_POS_OPTIONS                9
#define MENU_POS_HELP                   10
#endif

#define IDD_ABOUTBOX                            110
#define IDD_KBLEDBOX                            112
#define IDB_LED_PARTS                           22001
#define IDB_LED_R_H_RED                         22002
#define IDB_LED_R_H_GREEN                       22003
#define IDB_LED_RV_H_RED                        22004
#define IDB_LED_RV_H_GREEN                      22005
#define IDB_LED_RR_H_GREEN                      22006
#define IDB_LED_C_H_RED                         22007
#define IDB_DIGIT_10                            22008
#define IDB_LCD_H_TAPE                          22009
#define IDB_LCD_H_FDD0                          22010
#define IDB_LCD_H_FDD1                          22011
#define IDB_LCD_H_FDD2                          22012
#define IDB_LCD_H_FDD3                          22013
#define IDB_LCD_H3_FDD35                        22014
#define IDB_LCD_H5_FDD35                        22015
#define IDB_LCD_AB_A                            22016
#define IDB_LCD_AB_B                            22017
#define IDB_LCD_12M_1                           22018
#define IDB_LCD_12M_2                           22019
#define IDB_KBLEDBOX                            22020
#define IDD_CONFIGURE                           113
#define IDC_STATIC_RESTART                      22011
#define IDC_STATIC_RESTART_2                    22012
#define IDC_STATIC_RESTART_3                    22013
#define IDC_STATIC_RESTART_4                    22014
#define IDC_CHK_POWEROFF                        22015
#define IDC_STATIC_MODE_SW                      22016
#define IDC_RADIO_NOFDD                         22017
#define IDC_RADIO_3FDD                          22018
#define IDC_RADIO_5FDD                          22019
#define IDC_RADIO_5_8FDD                        22020
#define IDC_STATIC_ALLOW                        22021
#define IDC_CHK_REVERSE                         22022
#define IDC_CHK_HALFWAVE                        22023
#define IDC_RADIO_NOCORR                        22024
#define IDC_RADIO_COSW                          22025
#define IDC_RADIO_SINW                          22026
#define IDC_COMBO_SRATE                         22027
#define IDC_COMBO_SBITS                         22028
#define IDC_CHK_FDD_MOUNT0                      22029
#define IDC_CHK_FDD_MOUNT1                      22030
#define IDC_CHK_FDD_MOUNT2                      22031
#define IDC_CHK_FDD_MOUNT3                      22032
#define IDC_COMBO_POWER_STATE                   22033

#define IDC_CHK_IOPORT1                         22041
#define IDC_CHK_IOPORT2                         22042
#define IDC_CHK_IOPORT3                         22043
#define IDC_CHK_IOPORT4                         22044
#define IDC_CHK_IOPORT5                         22045
#define IDC_CHK_IOPORT6                         22046
#define IDC_CHK_IOPORT7                         22047
#define IDC_CHK_IOPORT8                         22048
#define IDC_CHK_IOPORT9                         22049
#define IDC_CHK_IOPORT10                        22050
#define IDC_CHK_IOPORT11                        22051
#define IDC_CHK_IOPORT12                        22052
#define IDC_CHK_IOPORT13                        22053
#define IDC_CHK_IOPORT14                        22054
#define IDC_CHK_IOPORT15                        22055
#define IDC_CHK_IOPORT16                        22056
#define IDC_CHK_IOPORT17                        22057
#define IDC_CHK_IOPORT18                        22058
#define IDC_CHK_IOPORT19                        22059

#define IDC_STATIC_IOPORT1                      22061
#define IDC_STATIC_IOPORT2                      22062
#define IDC_STATIC_IOPORT3                      22063
#define IDC_STATIC_IOPORT4                      22064
#define IDC_STATIC_IOPORT5                      22065
#define IDC_STATIC_IOPORT6                      22066
#define IDC_STATIC_IOPORT7                      22067
#define IDC_STATIC_IOPORT8                      22068
#define IDC_STATIC_IOPORT9                      22069
#define IDC_STATIC_IOPORT10                     22070
#define IDC_STATIC_IOPORT11                     22071
#define IDC_STATIC_IOPORT12                     22072
#define IDC_STATIC_IOPORT13                     22073
#define IDC_STATIC_IOPORT14                     22074
#define IDC_STATIC_IOPORT15                     22075
#define IDC_STATIC_IOPORT16                     22076
#define IDC_STATIC_IOPORT17                     22077
#define IDC_STATIC_IOPORT18                     22078
#define IDC_STATIC_IOPORT19                     22079

#define IDC_COMBO_DISPTMG                       22081
#define IDC_COMBO_CURDISP                       22082
#define IDC_COMBO_LED_POS                       22083
#define IDC_COMBO_SCREEN_FILTER                 22084
#define IDC_SNAP_PATH                           22085
#define IDC_FONT_FILE                           22086
#define IDC_BTN_SNAP_PATH                       22087
#define IDC_BTN_FONT_FILE                       22088
#define IDC_HOSTNAME_NET0                       22089
#define IDC_HOSTNAME_LPT0                       22090
#define IDC_HOSTNAME_LPT1                       22091
#define IDC_HOSTNAME_LPT2                       22092
#define IDC_HOSTNAME_COM0                       22093
#define IDC_HOSTNAME_COM1                       22094
#define IDC_HOSTNAME_DBGR                       22095
#define IDC_PORT_NET0                           22096
#define IDC_PORT_LPT0                           22097
#define IDC_PORT_LPT1                           22098
#define IDC_PORT_LPT2                           22099
#define IDC_PORT_COM0                           22100
#define IDC_PORT_COM1                           22101
#define IDC_PORT_DBGR                           22102
#define IDC_DELAY_LPT0                          22103
#define IDC_DELAY_LPT1                          22104
#define IDC_DELAY_LPT2                          22105
#define IDC_COMBO_COM0                          22106
#define IDC_COMBO_COM1                          22107
#define IDC_COMBO_UART_BAUDRATE                 22108
#define IDC_COMBO_UART_DATABIT                  22109
#define IDC_COMBO_UART_PARITY                   22110
#define IDC_COMBO_UART_STOPBIT                  22111
#define IDC_COMBO_UART_FLOWCTRL                 22112

#define IDC_ROM_PATH                            22122
#define IDC_BTN_ROM_PATH                        22123
#define IDC_COMBO_DRAWING                       22124
#define IDC_CHK_EXMEM							22125
#define IDC_COMBO_EXMEM                         22126
#define IDC_MSG_FONT_NAME_L                     22127
#define IDC_MSG_FONT_SIZE_L                     22128
#define IDC_BTN_FONT_NAME_L                     22129
#define IDC_MSG_FONT_NAME_S                     22130
#define IDC_MSG_FONT_SIZE_S                     22131
#define IDC_BTN_FONT_NAME_S                     22132
#define IDC_COMBO_LED_SHOW                      22133
#define IDC_COMBO_CAPTURE_TYPE                  22134
#define IDC_CHK_MEMNOWAIT                       22135
#define IDC_CHK_UNDEFOP                         22136
#define IDC_CHK_DELAYFD1                        22137
#define IDC_CHK_DELAYFD2                        22138
#define IDC_CHK_DELAYFD3                        22139
#define IDC_CHK_FDDENSITY                       22140
#define IDC_CHK_FDMEDIA                         22141
#define IDC_CHK_SAVE_FDPLAIN                    22142
#define IDC_STATIC_CORRECT                      22143
#define IDC_STATIC_CORRAMP0                     22144
#define IDC_STATIC_CORRAMP1                     22145
#define IDC_TXT_CORRAMP0                        22146
#define IDC_TXT_CORRAMP1                        22147
#define IDC_COMBO_LANGUAGE                      22148
#define IDC_CHK_EN_FMOPN                        22149
#define IDC_COMBO_FMOPN                         22150
#define IDC_COMBO_FMOPN_IRQ                     22151
#define IDC_COMBO_CHIP_FMOPN                    22152
#define IDC_CHK_EN_EXPSG                        22153
#define IDC_COMBO_USE_EXPSG                     22154
#define IDC_COMBO_Z80BCARD_IRQ                  22155
#define IDC_CHK_ADDRERR                         22156
#define IDC_CHK_CLEAR_CPUREG                    22157
#define IDC_CHK_DOUBLE_BUFFERING                22158
#define IDD_KEYBIND                             114
#define IDC_TAB1                                22001
#define IDC_CUSTOM0                             22002
#define IDC_CUSTOM1                             22003
#define IDC_CUSTOM2                             22004
#define IDC_CUSTOM3                             22005
#define IDC_CUSTOM4                             22006
#define IDC_CUSTOM5                             22007
#define IDC_CUSTOM6                             22008
#define IDC_BTN_LOAD_DEFAULT                    22009
#define IDC_BTN_LOAD_PRESET1                    22010
#define IDC_BTN_LOAD_PRESET2                    22011
#define IDC_BTN_LOAD_PRESET3                    22012
#define IDC_BTN_LOAD_PRESET4                    22013
#define IDC_BTN_SAVE_PRESET1                    22014
#define IDC_BTN_SAVE_PRESET2                    22015
#define IDC_BTN_SAVE_PRESET3                    22016
#define IDC_BTN_SAVE_PRESET4                    22017
#define IDC_CHK_COMBI1                          22018
#define IDC_CHK_COMBI2                          22019
#define IDC_CHK_COMBI3                          22020
#define IDC_CHK_AXIS1                           22021
#define IDC_CHK_AXIS2                           22022
#define IDC_CHK_AXIS3                           22023
#define IDC_CHK_AXIS4                           22024
#define IDC_CHK_AXIS5                           22025
#define IDC_CHK_AXIS6                           22026
#define IDC_CHK_AXIS7                           22027
#define IDC_CHK_AXIS8                           22028
#define IDC_CHK_AXIS9                           22029
#define IDC_CHK_AXIS10                          22030
#define IDC_CHK_AXIS11                          22031
#define IDC_CHK_AXIS12                          22032
#define IDC_CHK_PIAJOY_NEGATIVE                 22033
#define IDC_COMBO_PIAJOY_CONNTO                 22034
#define IDC_COMBO_PIAJOY_CONNT1                 22035
#define IDC_CHK_PIAJOY_NOIRQ                    22036
#define IDC_CHK_PSGJOY_NEGATIVE                 22037
#define IDD_VOLUME                              115
#define IDC_SLIDER_VOL1                         22045
#define IDC_SLIDER_VOL2                         22046
#define IDC_SLIDER_VOL3                         22047
#define IDC_SLIDER_VOL4                         22048
#define IDC_SLIDER_VOL5                         22049
#define IDC_SLIDER_VOL6                         22050
#define IDC_SLIDER_VOL7                         22051
#define IDC_SLIDER_VOL8                         22052
#define IDC_SLIDER_VOL9                         22053
#define IDC_SLIDER_VOL10                        22054
#define IDC_SLIDER_VOL11                        22055
#define IDC_SLIDER_VOL12                        22056
#define IDC_SLIDER_VOL13                        22057
#define IDC_SLIDER_VOL14                        22058
#define IDC_SLIDER_VOL15                        22059
#define IDC_SLIDER_VOL16                        22060
#define IDC_CHK_MUTE1                           22065
#define IDC_CHK_MUTE2                           22066
#define IDC_CHK_MUTE3                           22067
#define IDC_CHK_MUTE4                           22068
#define IDC_CHK_MUTE5                           22069
#define IDC_CHK_MUTE6                           22070
#define IDC_CHK_MUTE7                           22071
#define IDC_CHK_MUTE8                           22072
#define IDC_CHK_MUTE9                           22073
#define IDC_CHK_MUTE10                          22074
#define IDC_CHK_MUTE11                          22075
#define IDC_CHK_MUTE12                          22076
#define IDC_CHK_MUTE13                          22077
#define IDC_CHK_MUTE14                          22078
#define IDC_CHK_MUTE15                          22079
#define IDC_CHK_MUTE16                          22080
#define IDD_RECVIDEOBOX                         116
#define IDD_RECAUDIOBOX                         117
#define IDD_SELDRVBOX                           118
#define IDD_SNDFILTERBOX                        119
#define IDD_VKEYBOARD	                      	120
#define IDB_VKEYBOARD		                    22080
#define IDB_VKEY_MODE		                    22082
#define IDB_VKEY_BREAK		                    22083
#define IDB_VKEY_POWER		                    22084
#define IDB_VKEY_RESET		                    22085
#define IDD_JOYSETTING                          121
#define IDC_COMBO_JOY1                          22101
#define IDC_SLIDER_JOY1                         22201
#define IDC_SLIDER_AXIS1                        22301
#define IDC_STATIC_AUTO                         23000
#define IDD_LOGGING                             122
#define IDC_TEXT_LOGPATH                        22197
#define IDC_TEXT_LOG                            22198
#define IDC_BTN_UPDATE                          22199
