summaryrefslogtreecommitdiff
path: root/objects/DiskImage.mpy
blob: bea2e56a88649f2b6f3315c2cdecd76a640f2bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
simobj DiskImage(SimObject):
    abstract = True
    image_file = Param.String("disk image file")
    read_only = Param.Bool(false, "read only image")

simobj RawDiskImage(DiskImage):
    pass

simobj CowDiskImage(DiskImage):
    child = Param.DiskImage("child image")
    table_size = Param.Int(65536, "initial table size")
    image_file = ''