lib/DSK.rb in dsktool-0.4.1 vs lib/DSK.rb in dsktool-0.4.2
- old
+ new
@@ -9,14 +9,14 @@
# used by many Apple 2 emulators.
#
class DSK
FILE_SYSTEMS=[:prodos,:dos33,:nadol,:pascal,:unknown,:none]
- SECTOR_ORDERS=[:physical,:prodos_from_dos]
+ SECTOR_ORDERS=[:physical,:dos]
DSK_IMAGE_EXTENSIONS=[".dsk",".po",".do",".hdv"]
INTERLEAVES={
:physical=> [0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F],
- :prodos_from_dos=>[0x00,0x0E,0x0D,0x0C,0x0B,0x0A,0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x0F]
+ :dos=>[0x00,0x0E,0x0D,0x0C,0x0B,0x0A,0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x0F]
}
#does this filename have a suitable extension?
def DSK.is_dsk_file?(filename)
extension=File.extname(File.basename(filename,".gz")).downcase