aboutsummaryrefslogtreecommitdiff
path: root/scripts/enable.sh
blob: 3ba42a5e23e3423148319261d9c4953af8023590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -ex

vm="$1"

# Adlib
VBoxManage setextradata "$vm" VBoxInternal/Devices/adlib/0/Trusted 1
VBoxManage setextradata "$vm" VBoxInternal/Devices/adlib/0/Config/MirrorPort "0x220"

# MPU-401
VBoxManage setextradata "$vm" VBoxInternal/Devices/mpu401/0/Trusted 1

# EMU8000
awe32_romfile=~/.pcem/roms/awe32.raw # Mandatory!
VBoxManage setextradata "$vm" VBoxInternal/Devices/emu8000/0/Config/RomFile "$awe32_romfile"