26 | 26 |
name = 'E-UAE/Amiga 500',
|
27 | 27 |
emulator = E_UAE,
|
28 | 28 |
command = 'uae -s cpu_speed=max -s floppy_speed=800 -s "filesystem2=rw,DH0:Funicular:${SYSTEM_IMAGE},1"',
|
|
29 |
dist_command = 'uae -s cpu_speed=max -s floppy_speed=800 -s floppy0=${DIST_IMAGE} -s "filesystem2=rw,DH0:Funicular:${SYSTEM_IMAGE},1"',
|
29 | 30 |
setup_command = 'uae -s cpu_speed=max -s floppy_speed=800 -s "filesystem2=rw,DH0:Funicular:${SYSTEM_IMAGE},1" -s "floppy0=${SETUP_IMAGE}"',
|
30 | 31 |
install_command = 'echo "No install step. Installation will happen during setup."',
|
31 | 32 |
}
|
|
60 | 61 |
execute(funicular, "mkdir -p ${SYSTEM_IMAGE}")
|
61 | 62 |
end,
|
62 | 63 |
create_dist_image = function(funicular, size)
|
63 | |
execute(funicular, "init_adf ${DIST_IMAGE}")
|
|
64 |
-- TODO: this is a little restrictive
|
|
65 |
if size ~= '880' then
|
|
66 |
print "Only supported sizes: 880"
|
|
67 |
os.exit(1)
|
|
68 |
end
|
|
69 |
execute(funicular, "dd if=/dev/zero of=${DIST_IMAGE} bs=1K count=" .. size)
|
64 | 70 |
end
|
65 | 71 |
}
|
66 | 72 |
|
|
71 | 77 |
execute(funicular, "dd if=/dev/zero of=${SYSTEM_IMAGE} bs=1M count=" .. size)
|
72 | 78 |
end,
|
73 | 79 |
create_dist_image = function(funicular, size)
|
|
80 |
-- TODO: this is a little restrictive
|
|
81 |
if size ~= '360' and size ~= '720' and size ~= '1440' then
|
|
82 |
print "Only supported sizes: 360, 720 and 1440"
|
|
83 |
os.exit(1)
|
|
84 |
end
|
74 | 85 |
execute(funicular, "dd if=/dev/zero of=${DIST_IMAGE} bs=1K count=" .. size)
|
75 | 86 |
end
|
76 | 87 |
}
|