From 294e3ef23d45111c34fd16481d043c82231c7e62 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 18 Oct 2019 15:37:12 +0100 Subject: [PATCH] Add four levels of QEMU emulation Intel 486 Intel Pentium 1 Intel Pentium 3 Intel Core2 Duo --- roles/home/files/shrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/home/files/shrc b/roles/home/files/shrc index 73eeda3..e52f73e 100644 --- a/roles/home/files/shrc +++ b/roles/home/files/shrc @@ -84,12 +84,17 @@ alias ll="/bin/ls -l" alias ls="/bin/ls $LSOPTIONS" alias now="date +%Y%m%dT%H%M%S%z" alias nowu="date -u +%Y%m%dT%H%M%SZ" -alias qemu-legacy="qemu-system-i386 -cpu pentium3 -m 1024 -vga cirrus -net none -usb -soundhw sb16" alias ta="$HOME/opt/textadept/textadept" alias tm="tmux -2 attach-session || tmux -2 new-session" alias wg="wordgrinder" alias ytmp3="youtube-dl -q -x --audio-format=mp3" +# QEMU aliases +alias qemu-486="qemu-system-i386 -machine isapc,accel=kvm -cpu 486 -m 16 -vga cirrus -soundhw sb16 -nic none" # -nic user,model=ne2k_isa +alias qemu-p1="qemu-system-i386 -machine pc,accel=tcg -cpu pentium -m 64 -vga cirrus -soundhw sb16 -nic none" # -nic user,model=ne2k_isa +alias qemu-p3="qemu-system-i386 -machine pc,accel=kvm -cpu pentium3 -m 256 -vga cirrus -usb -soundhw sb16 -nic none" # -nic user,model=rtl8139 +alias qemu-core2="qemu-system-x86_64 -machine q35,accel=kvm -cpu core2duo -m 2048 -vga qxl -usb -soundhw hda -nic none" # -nic user,model=e1000 + if [ ! -d "$HOME/.local/bin" ]; then /bin/mkdir -p "$HOME/.local/bin" fi