Drive options precedence: Difference between revisions

From vice-emu
Jump to navigation Jump to search
(Created page with "Disk drive emulation has the fallback order * true drive emulation (TDE) * disk image emulation ** file system access, or ** raw /dev/fd0 device access, or ** real IEC device ...")
 
No edit summary
Line 2: Line 2:
* true drive emulation (TDE)
* true drive emulation (TDE)
* disk image emulation
* disk image emulation
** file system access, or
** file system access, ''or''
** raw /dev/fd0 device access, or
** raw /dev/fd0 device access, ''or''
** real IEC device access via OpenCBM.
** real IEC device access via OpenCBM.


In detail:
In detail:


# Drive #. model must not be None. (None = no drive)
# Drive #. model must not be None. (''None'' = no drive)
# If TDE is enabled, this is used. No image attached = empty drive.
# If TDE is enabled, this is used. No image attached = empty drive.
:  These options are relevant:
#:  These options are relevant:
::    Drive sound emulation
#*      Drive sound emulation
:: Drive #. model / * (must not be None)
#* Drive #. model / * (must not be None)
:: Drive #. options / Read only access
#* Drive #. options / Read only access
:: Drive #. expansion / *
#* Drive #. expansion / *
:: Drive #. 40-track image support / *
#* Drive #. 40-track image support / *
:: Drive #. idle method / *
#* Drive #. idle method / *
:  Otherwise (if no TDE)...
#:  Otherwise (if no TDE)...
# ``Enable Virtual devices'' must be enabled (otherwise there is no drive).
# ''Enable Virtual devices'' must be enabled (otherwise there is no drive).
#  If a disk image is attached to the drive, this disk image is used,
#  If a disk image is attached to the drive, this disk image is used, regardless of the selection in ''Drive #. device type''.
regardless of the selection in ``Drive #. device type''.
#:  These options are relevant:
:  These options are relevant:
#* Drive #. options / Read only access
:: Drive #. options / Read only access
#* Drive #. 40-track image support / *
:: Drive #. 40-track image support / *
#:  and this action:
:  and this action:
#* Attach disk image / Unit #....
:: Attach disk image / Unit #....
#:  Otherwise...
:  Otherwise...
# Drive #. device type = None -> no drive
# Drive #. device type = None -> no drive
:  Otherwise...
#:  Otherwise... (no disk image is attached)
# If no disk image is attached:
# Drive #. device type = File system access -> directory is accessed
Drive #. device type = File system access -> directory is accessed
#:                          sets resource ''FileSystemDevice8'' to ''ATTACH_DEVICE_FS''
:                          sets resource FileSystemDevice8 to ATTACH_DEVICE_FS
#:  These options are relevant:
:  These options are relevant:
#* Drive #. options / Read only access
: Drive #. options / Read only access
#* Drive #. options / File system directory...
:                   File system directory...
#* Drive #. options / Convert P00 file names
:   Convert P00 file names
#* Drive #. options / Create P00 files on save
:   Create P00 files on save
#* Drive #. options / Hide non-P00 files
:   Hide non-P00 files
#:  Otherwise...
:  Otherwise...
# Drive #. device type = Raw device access -> use a real host OS floppy drive
# Drive #. device type = Raw device access -> use a real host OS floppy drive
:                          sets resource FileSystemDevice8 to ATTACH_DEVICE_RAW
#:                          sets resource ''FileSystemDevice8'' to ''ATTACH_DEVICE_RAW''
:  These options are relevant:
#:  These options are relevant:
: RAW block device name...
#* RAW block device name...
:  Otherwise...
#:  Otherwise...
# Drive #. device type = Real device access -> access device via OpenCBM
# Drive #. device type = Real device access -> access device via OpenCBM
:                          sets resource FileSystemDevice8 to ATTACH_DEVICE_REAL
#:                          sets resource ''FileSystemDevice8'' to ''ATTACH_DEVICE_REAL''
:  These options are relevant:
#:  These options are relevant:
: Drive #. options / Enable IEC device
#* Drive #. options / Enable IEC device
:                   It sets resource IECDevice8
#*:                   It sets resource IECDevice8
:    Having these 2 things for IEC devices seems unneeded?
#:    Having these 2 things for IEC devices seems unneeded?
:    What happens if one of the options is selected but not the other?
#:    What happens if one of the options is selected but not the other?

Revision as of 23:40, 10 January 2013

Disk drive emulation has the fallback order

  • true drive emulation (TDE)
  • disk image emulation
    • file system access, or
    • raw /dev/fd0 device access, or
    • real IEC device access via OpenCBM.

In detail:

  1. Drive #. model must not be None. (None = no drive)
  2. If TDE is enabled, this is used. No image attached = empty drive.
    These options are relevant:
    • Drive sound emulation
    • Drive #. model / * (must not be None)
    • Drive #. options / Read only access
    • Drive #. expansion / *
    • Drive #. 40-track image support / *
    • Drive #. idle method / *
    Otherwise (if no TDE)...
  3. Enable Virtual devices must be enabled (otherwise there is no drive).
  4. If a disk image is attached to the drive, this disk image is used, regardless of the selection in Drive #. device type.
    These options are relevant:
    • Drive #. options / Read only access
    • Drive #. 40-track image support / *
    and this action:
    • Attach disk image / Unit #....
    Otherwise...
  5. Drive #. device type = None -> no drive
    Otherwise... (no disk image is attached)
  6. Drive #. device type = File system access -> directory is accessed
    sets resource FileSystemDevice8 to ATTACH_DEVICE_FS
    These options are relevant:
    • Drive #. options / Read only access
    • Drive #. options / File system directory...
    • Drive #. options / Convert P00 file names
    • Drive #. options / Create P00 files on save
    • Drive #. options / Hide non-P00 files
    Otherwise...
  7. Drive #. device type = Raw device access -> use a real host OS floppy drive
    sets resource FileSystemDevice8 to ATTACH_DEVICE_RAW
    These options are relevant:
    • RAW block device name...
    Otherwise...
  8. Drive #. device type = Real device access -> access device via OpenCBM
    sets resource FileSystemDevice8 to ATTACH_DEVICE_REAL
    These options are relevant:
    • Drive #. options / Enable IEC device
      It sets resource IECDevice8
    Having these 2 things for IEC devices seems unneeded?
    What happens if one of the options is selected but not the other?