Volker Ruppert
7cf7ee8293
Block device detection fixes for Linux.
...
- now using macro S_ISBLK() to detect block device (cdrom/hdimage).
- re-implemented recently removed check for block device in concat mode.
2015-10-25 17:02:12 +00:00
Volker Ruppert
506dd623f6
Using "read toc" to get the media size doesn't work correctly for DVDs on Linux.
...
Now using BLKGETSIZE64 ioctl seems to fix the reported capacity.
2015-04-26 15:59:08 +00:00
Volker Ruppert
b1d4a96983
Rewrite of the lowlevel cdrom code
...
- class cdrom_base_c now provides portable ISO image access methods
- platform specific classes implement access to cdrom/dvd devices
2013-11-06 11:15:22 +00:00
Volker Ruppert
b452803be5
Preparing lowlevel cdrom rewrite
...
- use #if BX_SUPPORT_CDROM instead of #ifdef LOWLEVEL_CDROM
- devices with cdrom support now use the base class cdrom_base_c
- cdrom count variable moved to cdrom.cc
- cdrom_misc.cc: don't use ioctl's for ISO files
2013-11-05 18:06:39 +00:00
Stanislav Shwartsman
01c0f07e4e
fixed compilation error under cygwin which defines WIN32
2013-09-26 19:51:30 +00:00
Volker Ruppert
90168f5dcd
- moved the lowlevel cdrom and disk image stuff to the new subdirectory iodev/hdimage
...
- TODO: update MSVC workspace files
2012-08-05 18:13:38 +00:00