Class: Pc99SD

Inherits:
Pc99Dsk show all
Defined in:
lib/image_formats/Ti99Dsk.rb

Overview

Single Density PC99 image

Instance Attribute Summary

Attributes inherited from ImageFormat

#file_bytes

Instance Method Summary collapse

Methods inherited from Ti99Dsk

#get_sector, host_system, possible_extensions, #sector_size, #sectors_in_track, #sectors_per_track, #track_count, #tracks_per_side

Methods inherited from ImageFormat

all_image_formats, all_possible_extensions, code_for_tests, #compatability_score, #end_track, #get_sector, #host_system, host_system, #initialize, is_valid_image_if, possible_extensions, possible_file_systems, #sectors_in_track, #start_track, #to_s, #track_count, #track_list

Methods included from SubclassTracking

extended

Constructor Details

This class inherits a constructor from ImageFormat

Instance Method Details

#end_of_track_gap_lengthObject



142
143
144
# File 'lib/image_formats/Ti99Dsk.rb', line 142

def  end_of_track_gap_length
  231
end

#initial_header_lengthObject



127
128
129
# File 'lib/image_formats/Ti99Dsk.rb', line 127

def initial_header_length
  47
end

#sector_after_data_gap_lengthObject



138
139
140
# File 'lib/image_formats/Ti99Dsk.rb', line 138

def  sector_after_data_gap_length
  47
end

#sector_header_lengthObject



135
136
137
# File 'lib/image_formats/Ti99Dsk.rb', line 135

def sector_header_length
  31
end

#sector_id_offsetObject



152
153
154
# File 'lib/image_formats/Ti99Dsk.rb', line 152

def sector_id_offset
  9
end

#side_id_offsetObject



149
150
151
# File 'lib/image_formats/Ti99Dsk.rb', line 149

def side_id_offset
  8
end

#start_of_track_gap_lengthObject



131
132
133
# File 'lib/image_formats/Ti99Dsk.rb', line 131

def start_of_track_gap_length
  16
end

#track_id_offsetObject



146
147
148
# File 'lib/image_formats/Ti99Dsk.rb', line 146

def track_id_offset
  7
end