# File lib/DSK.rb, line 225 def dump_sector(track,sector) require 'DumpUtilities' start_byte=track.to_i*16*256+sector.to_i*256 s=hline s<<sprintf("TRACK: $%02X SECTOR $%02X\ OFFSET $%04X\n",track,sector,start_byte) sector_data=get_sector(track,sector) s<< DumpUtilities.hex_dump(sector_data) s end