예제 #1
0
 def check_size(self, size):
     AtrHeader.check_size(self, size)
     if size != 143360:
         raise InvalidDiskImage("Incorrect size for DOS 3.3 image")
예제 #2
0
 def __init__(self):
     AtrHeader.__init__(self, None, 256, 0)
     self.starting_sector_label = 0
     self.header_offset = 0
     self.sector_order = range(16)
     self.vtoc_sector = 17 * 16