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

simobj RawDiskImage(DiskImage):
    type = 'RawDiskImage'

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