Ported the cassette emulation from PCE, closes #835.

This commit is contained in:
OBattler
2021-07-27 06:12:09 +02:00
parent f79b11cd9a
commit 827065c0bc
19 changed files with 1274 additions and 75 deletions

View File

@@ -195,6 +195,7 @@
#define IDC_CONFIGURE_SCSI_2 1093
#define IDC_CONFIGURE_SCSI_3 1094
#define IDC_CONFIGURE_SCSI_4 1095
#define IDC_CHECK_CASSETTE 1096
#define IDC_HARD_DISKS 1100 /* hard disks config */
#define IDC_LIST_HARD_DISKS 1101
@@ -379,29 +380,36 @@
* and 5 bits for Removable Disks (5 bits for ID), so we use an
* 8bit (256 entries) space for these devices.
*/
#define IDM_FLOPPY_IMAGE_NEW 0x1200
#define IDM_FLOPPY_IMAGE_EXISTING 0x1300
#define IDM_FLOPPY_IMAGE_EXISTING_WP 0x1400
#define IDM_FLOPPY_EXPORT_TO_86F 0x1500
#define IDM_FLOPPY_EJECT 0x1600
#define IDM_CASSETTE_IMAGE_NEW 0x1200
#define IDM_CASSETTE_IMAGE_EXISTING 0x1300
#define IDM_CASSETTE_IMAGE_EXISTING_WP 0x1400
#define IDM_CASSETTE_REWIND 0x1500
#define IDM_CASSETTE_FAST_FORWARD 0x1600
#define IDM_CASSETTE_EJECT 0x1700
#define IDM_CDROM_MUTE 0x2200
#define IDM_CDROM_EMPTY 0x2300
#define IDM_CDROM_RELOAD 0x2400
#define IDM_CDROM_IMAGE 0x2500
#define IDM_CDROM_HOST_DRIVE 0x2600
#define IDM_FLOPPY_IMAGE_NEW 0x2200
#define IDM_FLOPPY_IMAGE_EXISTING 0x2300
#define IDM_FLOPPY_IMAGE_EXISTING_WP 0x2400
#define IDM_FLOPPY_EXPORT_TO_86F 0x2500
#define IDM_FLOPPY_EJECT 0x2600
#define IDM_ZIP_IMAGE_NEW 0x3200
#define IDM_ZIP_IMAGE_EXISTING 0x3300
#define IDM_ZIP_IMAGE_EXISTING_WP 0x3400
#define IDM_ZIP_EJECT 0x3500
#define IDM_ZIP_RELOAD 0x3600
#define IDM_CDROM_MUTE 0x3200
#define IDM_CDROM_EMPTY 0x3300
#define IDM_CDROM_RELOAD 0x3400
#define IDM_CDROM_IMAGE 0x3500
#define IDM_CDROM_HOST_DRIVE 0x3600
#define IDM_MO_IMAGE_NEW 0x4200
#define IDM_MO_IMAGE_EXISTING 0x4300
#define IDM_MO_IMAGE_EXISTING_WP 0x4400
#define IDM_MO_EJECT 0x4500
#define IDM_MO_RELOAD 0x4600
#define IDM_ZIP_IMAGE_NEW 0x4200
#define IDM_ZIP_IMAGE_EXISTING 0x4300
#define IDM_ZIP_IMAGE_EXISTING_WP 0x4400
#define IDM_ZIP_EJECT 0x4500
#define IDM_ZIP_RELOAD 0x4600
#define IDM_MO_IMAGE_NEW 0x5200
#define IDM_MO_IMAGE_EXISTING 0x5300
#define IDM_MO_IMAGE_EXISTING_WP 0x5400
#define IDM_MO_EJECT 0x5500
#define IDM_MO_RELOAD 0x5600
/* Next default values for new objects */