Inch yet closer.
Chris Pressey
7 years ago
11 | 11 |
DISTREPOS="
|
12 | 12 |
catseye/apple-befunge
|
13 | 13 |
"
|
14 | |
|
15 | |
setup_script() {
|
16 | |
export CWD=`pwd`
|
17 | |
|
18 | |
cat >linapple.conf <<EOF
|
19 | |
Computer Emulation = 1
|
20 | |
Slot 6 Directory = $CWD
|
21 | |
Disk Image 1 = $CWD/system.dsk
|
22 | |
Slot 6 Autoload = 1
|
23 | |
EOF
|
24 | |
}
|
0 | 0 |
# Apple ][+ w/ Linapple w/ certain options
|
1 | 1 |
|
2 | |
DISTFILE_URL='https://github.com/timob/linapple/archive/master.zip'
|
|
2 |
DISTFILE_URL='https://github.com/linappleii/linapple/archive/master.zip'
|
3 | 3 |
|
4 | 4 |
# floppies only, for now
|
5 | 5 |
platform_initsys() {
|
|
15 | 15 |
}
|
16 | 16 |
|
17 | 17 |
platform_start() {
|
18 | |
linapple
|
|
18 |
linapple -d1 "${SYSTEM_IMAGE}" -autoboot
|
19 | 19 |
}
|
20 | 20 |
|
21 | 21 |
platform_setup() {
|
22 | |
linapple
|
|
22 |
echo "Not starting emulator. No setup image required."
|
|
23 |
#linapple -d1 "${SYSTEM_IMAGE}" -autoboot
|
23 | 24 |
}
|
24 | 25 |
|
25 | 26 |
platform_dist() {
|
26 | |
linapple
|
|
27 |
echo "Not starting emulator. No in-architecture dist steps required."
|
27 | 28 |
}
|
28 | 29 |
|
29 | 30 |
platform_distboot() {
|
30 | |
linapple
|
|
31 |
linapple -d1 "${DIST_IMAGE}" -autoboot
|
31 | 32 |
}
|
32 | 33 |
|
33 | 34 |
platform_install() {
|
34 | |
echo "No install step. Installation will happen during setup."
|
|
35 |
cp Master.dsk "${SYSTEM_IMAGE}"
|
35 | 36 |
}
|