From caed2e183e6d6ced53f4328a9bd3f3cec270c58e Mon Sep 17 00:00:00 2001 From: daleclack Date: Tue, 16 Apr 2024 00:32:20 +0800 Subject: [PATCH] Add termux qemu scripts --- termux/termux-qemu/winfs6b.sh | 27 +++++++++++++++++++++++++++ termux/termux-qemu/winfs6c.sh | 27 +++++++++++++++++++++++++++ termux/termux-qemu/winfs6d.sh | 27 +++++++++++++++++++++++++++ termux/termux-qemu/winfs6e.sh | 27 +++++++++++++++++++++++++++ 4 files changed, 108 insertions(+) create mode 100644 termux/termux-qemu/winfs6b.sh create mode 100644 termux/termux-qemu/winfs6c.sh create mode 100644 termux/termux-qemu/winfs6d.sh create mode 100644 termux/termux-qemu/winfs6e.sh diff --git a/termux/termux-qemu/winfs6b.sh b/termux/termux-qemu/winfs6b.sh new file mode 100644 index 0000000..5d656c5 --- /dev/null +++ b/termux/termux-qemu/winfs6b.sh @@ -0,0 +1,27 @@ +# Options: +# -m Random Access Memory +# -cpu for cpu type +# -smp for core count +# -M q35 for sata bus +# -accel for acceleration +# -drive for disk/cdrom +# -boot for boot device:a-floppy,c-disk,fd-cdrom +# -vnc for vnc display +# -usb -device usb-tablet for fix mouse +cd /sdcard/0 +# start pulseaudio service +pulseaudio -D +export PULSE_SERVER=tcp:127.0.0.1:4713 +# start qemu +qemu-system-x86_64 \ +-m 672 \ +-M pc \ +-accel tcg,thread=multi \ +-drive file=Pagefile.vhd,media=disk \ +-drive file=Cpp.vhd,media=disk \ +-drive file=winfs6b.iso,media=cdrom \ +-drive file=music_disc.iso,media=cdrom \ +-boot d \ +-vnc :1 \ +-device ac97 +# -usb -device usb-tablet diff --git a/termux/termux-qemu/winfs6c.sh b/termux/termux-qemu/winfs6c.sh new file mode 100644 index 0000000..e525738 --- /dev/null +++ b/termux/termux-qemu/winfs6c.sh @@ -0,0 +1,27 @@ +# Options: +# -m Random Access Memory +# -cpu for cpu type +# -smp for core count +# -M q35 for sata bus +# -accel for acceleration +# -drive for disk/cdrom +# -boot for boot device:a-floppy,c-disk,fd-cdrom +# -vnc for vnc display +# -usb -device usb-tablet for fix mouse +cd /sdcard/0 +# start pulseaudio service +pulseaudio -D +export PULSE_SERVER=tcp:127.0.0.1:4713 +# start qemu +qemu-system-x86_64 \ +-m 672 \ +-M pc \ +-accel tcg,thread=multi \ +-drive file=Pagefile.vhd,media=disk \ +-drive file=Cpp.vhd,media=disk \ +-drive file=winfs6c.iso,media=cdrom \ +-drive file=music_disc.iso,media=cdrom \ +-boot d \ +-vnc :1 \ +-device ac97 +# -usb -device usb-tablet diff --git a/termux/termux-qemu/winfs6d.sh b/termux/termux-qemu/winfs6d.sh new file mode 100644 index 0000000..c720714 --- /dev/null +++ b/termux/termux-qemu/winfs6d.sh @@ -0,0 +1,27 @@ +# Options: +# -m Random Access Memory +# -cpu for cpu type +# -smp for core count +# -M q35 for sata bus +# -accel for acceleration +# -drive for disk/cdrom +# -boot for boot device:a-floppy,c-disk,fd-cdrom +# -vnc for vnc display +# -usb -device usb-tablet for fix mouse +cd /sdcard/0 +# start pulseaudio service +pulseaudio -D +export PULSE_SERVER=tcp:127.0.0.1:4713 +# start qemu +qemu-system-x86_64 \ +-m 672 \ +-M pc \ +-accel tcg,thread=multi \ +-drive file=Pagefile.vhd,media=disk \ +-drive file=Cpp.vhd,media=disk \ +-drive file=winfs6d.iso,media=cdrom \ +-drive file=music_disc.iso,media=cdrom \ +-boot d \ +-vnc :1 \ +-device ac97 +# -usb -device usb-tablet diff --git a/termux/termux-qemu/winfs6e.sh b/termux/termux-qemu/winfs6e.sh new file mode 100644 index 0000000..59136dc --- /dev/null +++ b/termux/termux-qemu/winfs6e.sh @@ -0,0 +1,27 @@ +# Options: +# -m Random Access Memory +# -cpu for cpu type +# -smp for core count +# -M q35 for sata bus +# -accel for acceleration +# -drive for disk/cdrom +# -boot for boot device:a-floppy,c-disk,fd-cdrom +# -vnc for vnc display +# -usb -device usb-tablet for fix mouse +cd /sdcard/0 +# start pulseaudio service +pulseaudio -D +export PULSE_SERVER=tcp:127.0.0.1:4713 +# start qemu +qemu-system-x86_64 \ +-m 672 \ +-M pc \ +-accel tcg,thread=multi \ +-drive file=Pagefile.vhd,media=disk \ +-drive file=Cpp.vhd,media=disk \ +-drive file=winfs6e.iso,media=cdrom \ +-drive file=music_disc.iso,media=cdrom \ +-boot d \ +-vnc :1 \ +-device ac97 +# -usb -device usb-tablet