diff options
author | Patrick Mackinlay <pmackinlay@hotmail.com> | 2018-07-06 20:31:29 +0700 |
---|---|---|
committer | ajrhacker <ajrhacker@users.noreply.github.com> | 2018-07-06 09:31:29 -0400 |
commit | 5d9e33b786d7ef452317439359f3cbd8cc920513 (patch) | |
tree | 0e40ae3cb7fc20d56dd6e854f318d83eeb7f6d08 /src/mame/drivers | |
parent | ab0f99373d41efc7b74df1e66fcbe70d8c6f025c (diff) |
nscsi: add support for CD-ROMs with 512-byte blocks (#3727)
* nscsi: add support for CD-ROMs with 512-byte blocks
Older UNIX workstations used SCSI CD-ROM drives with 512-byte logical blocks instead of the now standard 2048. This change makes the block size configurable, and adds logic to translate logical blocks to/from the underlying 2048 byte sectors as needed.
* add support for 512-byte logical blocks
* logmacro.h logging (turned on by default to retain current behaviour)
* added stub for "prevent/allow medium removal" command
* removed some unnecessary state
* minor fix for nscsi_hd "inquiry" command
* minor changes (nw)
* doh (nw)
* this too (nw)
Diffstat (limited to 'src/mame/drivers')
-rw-r--r-- | src/mame/drivers/interpro.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/interpro.cpp b/src/mame/drivers/interpro.cpp index 43ff097bf93..fdc8d961d88 100644 --- a/src/mame/drivers/interpro.cpp +++ b/src/mame/drivers/interpro.cpp @@ -786,8 +786,7 @@ void interpro_state::interpro_scsi_adapter(device_t *device) void interpro_state::interpro_cdrom(device_t *device) { - // FIXME: enable when dependent code is committed - //downcast<nscsi_cdrom_device &>(*device).set_block_size(512); + downcast<nscsi_cdrom_device &>(*device).set_block_size(512); } MACHINE_CONFIG_START(interpro_state::ioga) |