Atari DOS disks should start from sector 1

This commit is contained in:
Rob McMullen 2017-02-26 15:22:28 -08:00
parent eda250185e
commit 28f2d11be2

View File

@ -320,7 +320,7 @@ class AtrHeader(BaseHeader):
file_format = "ATR" file_format = "ATR"
def __init__(self, bytes=None, sector_size=128, initial_sectors=3, create=False): def __init__(self, bytes=None, sector_size=128, initial_sectors=3, create=False):
BaseHeader.__init__(self, sector_size, initial_sectors, 360) BaseHeader.__init__(self, sector_size, initial_sectors, 360, 1)
if create: if create:
self.header_offset = 16 self.header_offset = 16
self.check_size(0) self.check_size(0)