aboutsummaryrefslogtreecommitdiff
path: root/scripts/enable.sh
blob: 315f0ac264bb518564d161f211b91b523dfea5b1 (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"