Multitasking-DOS PC-MOS/386 als Open-Source veröffentlicht
Verfasst: Fr 27. Okt 2017, 09:26
Retro Style Eigenbau Computer mit Parallax Propeller
https://www.hive-project.de/board/
PIC18F2550 hat geschrieben:https://www.heise.de/newsticker/meldung ... 72476.html
Code: Alles auswählen
#!/bin/sh -ex
FDA=PCMOS386-9-user.img
[ -f $FDA ] || wget -c https://github.com/roelandjansen/pcmos386v501/raw/master/IMAGES/PCMOS386-9-user.img
HDA=hda.qcow2
QIMG=$(which /opt/qemu/latest/bin/qemu-img || which qemu-img || errexit no qemu-img found)
[ -f $HDA ] || "$QIMG" create -f qcow2 $HDA 4G
QEMU=$(which /opt/qemu/latest/bin/qemu-system-i386 || which qemu-system-i386 || errexit no qemu found)
"$QEMU" \
-enable-kvm -smp 1 -m 512 \
-fda $FDA \
-hda $HDA \
"$@"
Code: Alles auswählen
#!/bin/sh -ex
FDA=PCMOS386-9-user.img
[ -f $FDA ] || wget -c https://github.com/roelandjansen/pcmos386v501/raw/master/IMAGES/PCMOS386-9-user.img
#FDB=unformatted-hd-floppy.img
#[ -f $FDB ] || dd if=/dev/null of=$FDB bs=1 seek=1474560
FDB=PCMOS386-9-user-copy.img
[ -f $FDB ] || cp $FDA $FDB
HDA=hda.qcow2
QIMG=$(which /opt/qemu/latest/bin/qemu-img || which qemu-img || errexit no qemu-img found)
[ -f $HDA ] || "$QIMG" create -f qcow2 $HDA 16M
QEMU=$(which /opt/qemu/latest/bin/qemu-system-i386 || which qemu-system-i386 || errexit no qemu found)
"$QEMU" \
-enable-kvm -m 512 -smp 1 \
-fda $FDA \
-fdb $FDB \
-drive file=$HDA \
"$@"