Class: Zx81PFile

Inherits:
ImageFormat show all
Defined in:
lib/image_formats/Zx81PFile.rb

Overview

from groups.google.com.au/group/comp.sys.sinclair/browse_frm/thread/4b7506eaafc6cdab/6897525650982909?#6897525650982909 A .p file is really just a dump of the memory from address 16393 to the address that the contents of address 16404 point to web.ukonline.co.uk/sinclair.zx81/chap28.html

Instance Attribute Summary

Attributes inherited from ImageFormat

#file_bytes

Class Method Summary collapse

Methods inherited from ImageFormat

all_image_formats, all_possible_extensions, code_for_tests, #compatability_score, #end_track, #get_sector, #host_system, #initialize, is_valid_image_if, 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

Class Method Details

.host_systemObject

~ }



24
25
26
# File 'lib/image_formats/Zx81PFile.rb', line 24

def self.host_system
    Zx81
end

.possible_extensionsObject



16
17
18
# File 'lib/image_formats/Zx81PFile.rb', line 16

def self.possible_extensions
    ['.p']
end