Add qemu scripts

This commit is contained in:
daleclack 2023-10-24 09:17:57 +08:00
parent ed234b9cd1
commit e89a9b584d
86 changed files with 72 additions and 17 deletions

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

@ -0,0 +1,24 @@
# 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 qemu
qemu-system-x86_64 \
-m 768 \
-cpu max \
-M pc \
-accel tcg,thread=multi \
-drive file=Pagefile.vhd,media=disk \
-drive file=Cpp.vhd,media=disk \
-drive file=wimPE15.iso,media=cdrom \
-drive file=music_disc.iso,media=cdrom \
-boot d \
-vnc :1
# -usb -device usb-tablet

View File

@ -0,0 +1,24 @@
# 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 qemu
qemu-system-x86_64 \
-m 768 \
-cpu max \
-M pc \
-accel tcg,thread=multi \
-drive file=Pagefile.vhd,media=disk \
-drive file=Cpp.vhd,media=disk \
-drive file=wimPE17.iso,media=cdrom \
-drive file=music_disc.iso,media=cdrom \
-boot d \
-vnc :1
# -usb -device usb-tablet

View File

@ -0,0 +1,24 @@
# 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 qemu
qemu-system-x86_64 \
-m 768 \
-cpu max \
-M pc \
-accel tcg,thread=multi \
-drive file=Pagefile.vhd,media=disk \
-drive file=Cpp.vhd,media=disk \
-drive file=wimPE21.iso,media=cdrom \
-drive file=music_disc.iso,media=cdrom \
-boot d \
-vnc :1
# -usb -device usb-tablet

View File

@ -1,2 +0,0 @@
rm .\AppData\Local\Microsoft\vscode-cpptools\ipch\*
rm .\AppData\Roaming\Code\User\workspaceStorage\*

View File

@ -1,15 +0,0 @@
# Put it at your home dir
# Visual Studio Code Caches
rm -rf .config/Code/User/workspaceStorage
rm -rf .cache/vscode-cpptools/ipch
# yay caches
rm -rf .cache/yay/*
rm -rf .local/share/flatpak/*
rm -rf .cache/yarn
rm -rf .cache/electron
rm -rf .cache/pip
# cache generated by wine QQ
rm -rf '文档/Tencent Files'