diff options
author | 2017-05-16 09:52:31 +0200 | |
---|---|---|
committer | 2017-05-16 09:52:31 +0200 | |
commit | e2b9e11da092a28c9a26940659e148c61aaa4822 (patch) | |
tree | 401e09eeb6bbdd3bcad84c44a54360a1ab2d252f /src/devices/bus/ieee488 | |
parent | dc1dcd260b8209b006e7958cf2226438ced490c2 (diff) |
Hp9845: Support for HPI floppy format (#2310)
hp9845: Support for HPI floppy format [F. Ulivi, A.Kückes]
Diffstat (limited to 'src/devices/bus/ieee488')
-rw-r--r-- | src/devices/bus/ieee488/hp9895.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/devices/bus/ieee488/hp9895.cpp b/src/devices/bus/ieee488/hp9895.cpp index 6e5e62d6e53..73ab69a5e00 100644 --- a/src/devices/bus/ieee488/hp9895.cpp +++ b/src/devices/bus/ieee488/hp9895.cpp @@ -56,6 +56,7 @@ #include "emu.h" #include "hp9895.h" +#include "formats/hpi_dsk.h" // Debugging #define VERBOSE 1 @@ -866,6 +867,12 @@ static SLOT_INTERFACE_START(hp9895_floppies) SLOT_INTERFACE("8dsdd" , FLOPPY_8_DSDD) SLOT_INTERFACE_END +static const floppy_format_type hp9895_floppy_formats[] = { + FLOPPY_MFI_FORMAT, + FLOPPY_HPI_FORMAT, + nullptr +}; + static MACHINE_CONFIG_FRAGMENT(hp9895) MCFG_CPU_ADD("cpu" , Z80 , 4000000) MCFG_CPU_PROGRAM_MAP(z80_program_map) @@ -884,9 +891,9 @@ static MACHINE_CONFIG_FRAGMENT(hp9895) MCFG_PHI_DIO_READWRITE_CB(READ8(hp9895_device , phi_dio_r) , WRITE8(hp9895_device , phi_dio_w)) MCFG_PHI_INT_WRITE_CB(WRITELINE(hp9895_device , phi_int_w)) - MCFG_FLOPPY_DRIVE_ADD("floppy0" , hp9895_floppies , "8dsdd" , floppy_image_device::default_floppy_formats) + MCFG_FLOPPY_DRIVE_ADD("floppy0" , hp9895_floppies , "8dsdd" , hp9895_floppy_formats) MCFG_SLOT_FIXED(true) - MCFG_FLOPPY_DRIVE_ADD("floppy1" , hp9895_floppies , "8dsdd" , floppy_image_device::default_floppy_formats) + MCFG_FLOPPY_DRIVE_ADD("floppy1" , hp9895_floppies , "8dsdd" , hp9895_floppy_formats) MCFG_SLOT_FIXED(true) MACHINE_CONFIG_END |