# File lib/DSK.rb, line 184 def get_sector(track,requested_sector,sector_order=@sector_order) raise "bad sector #{requested_sector}" unless requested_sector.between?(0,0x0F) raise "bad sector_order #{sector_order}" if INTERLEAVES[sector_order].nil? physical_sector=INTERLEAVES[sector_order][requested_sector] start_byte=track*16*256+physical_sector*256 @file_bytes[start_byte..start_byte+255] end