Class: ProDosBINFile
Constant Summary
Constants inherited
from ProDosFile
ProDosFile::PRODOS_FILE_TYPES
Instance Attribute Summary
#aux_code, #contents, #file_system_image, #file_type, #filename, #meta_data
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from ProDosFile
#type_description
#<=>, #==, all_native_file_types, best_fit, code_for_tests, compatability_score, #data_without_header, file_type_matches?, #full_filename, #header_length, #initialize, is_valid_file_if, load_address, native_file_types_possible_on_file_system, non_matching_score, #to_hex_dump, #to_info_dump, #type_description
extended
Constructor Details
This class inherits a constructor from NativeFileType
Class Method Details
.file_system_file_types ⇒ Object
89
90
91
92
93
|
# File 'lib/native_file_types/apple2/ProDosFile.rb', line 89
def self.file_system_file_types
{
ProDos=>0x06
}
end
|
.matching_score ⇒ Object
95
96
97
|
# File 'lib/native_file_types/apple2/ProDosFile.rb', line 95
def self.matching_score
ProDosFile.matching_score+0.1
end
|
Instance Method Details
#load_address ⇒ Object
99
100
101
|
# File 'lib/native_file_types/apple2/ProDosFile.rb', line 99
def load_address
aux_code
end
|
#to_disassembly ⇒ Object
103
104
105
|
# File 'lib/native_file_types/apple2/ProDosFile.rb', line 103
def to_disassembly
return Apple2.disassemble(,load_address)
end
|