Browse Source

virtual-machines: split up MacEmu configs and use a script for launching them

master
Alison Watson 2 years ago
parent
commit
977397ad00
7 changed files with 62 additions and 60 deletions
  1. +0
    -36
      applications/basilisk_ii
  2. +24
    -0
      scripts/fish/macemu
  3. +1
    -0
      virtual-machines/MacEmu-OS7
  4. +1
    -0
      virtual-machines/MacEmu-OS9
  5. +14
    -24
      virtual-machines/MacEmu-common
  6. +14
    -0
      virtual-machines/MacEmu-common-m68k
  7. +8
    -0
      virtual-machines/MacEmu-common-ppc

+ 0
- 36
applications/basilisk_ii View File

@@ -1,36 +0,0 @@
displaycolordepth 0
disk /mnt/s/vm/MacEmu/OS7
extfs
screen win/800/600
seriala /dev/ttyS0
serialb /dev/ttyS1
ether enp1s0
udptunnel false
udpport 6066
rom /mnt/s/osmedia/Apple MacOS/ROMs OldWorld/512KB ROMs/1989-09 - 368CADFE - Mac IIci.ROM
bootdrive 0
bootdriver 0
ramsize 67108864
frameskip 1
modelid 5
cpu 4
fpu true
nocdrom false
nosound true
noclipconversion false
nogui false
jit true
jitfpu true
jitdebug false
jitcachesize 8192
jitlazyflush true
jitinline true
keyboardtype 5
keycodes true
keycodefile /usr/share/BasiliskII/keycodes
mousewheelmode 1
mousewheellines 3
dsp /dev/dsp
mixer /dev/mixer
ignoresegv false
idlewait false

+ 24
- 0
scripts/fish/macemu View File

@@ -0,0 +1,24 @@
# vim: syntax=fish:

function macemu -d "Frontend to SheepShaver and BasiliskII" -a arch cfg
switch "$arch"
case m68k
set config ~/.basilisk_ii_prefs
set executable BasiliskII
case ppc
set config ~/.sheepshaver_prefs
set executable SheepShaver
end

chmod u+w $config

cat $_agw_dir_rc/virtual-machines/MacEmu-common > $config
cat $_agw_dir_rc/virtual-machines/MacEmu-common-$arch >> $config
cat $_agw_dir_rc/virtual-machines/MacEmu-$cfg >> $config

chmod -w $config

$executable
end

## EOF

+ 1
- 0
virtual-machines/MacEmu-OS7 View File

@@ -0,0 +1 @@
disk /mnt/s/vm/MacEmu/OS7

+ 1
- 0
virtual-machines/MacEmu-OS9 View File

@@ -0,0 +1 @@
disk /mnt/s/vm/MacEmu/OS9

applications/sheepshaver → virtual-machines/MacEmu-common View File

@@ -1,32 +1,22 @@
disk /mnt/s/vm/MacEmu/OS9
extfs /mnt/s/vm/MacEmu/Share
screen win/800/600
windowmodes 0
screenmodes 0
seriala /dev/ttyS0
serialb /dev/ttyS1
rom /mnt/s/osmedia/Apple MacOS/ROMs NewWorld/1999-05-14 - Mac OS ROM 1.6.rom
bootdrive 0
bootdriver 0
ramsize 1073741824
dsp /dev/dsp
ether enp1s0
extfs /mnt/s/vm/MacEmu/Share
frameskip 1
gfxaccel true
nocdrom false
nonet false
nosound false
nogui false
noclipconversion false
ignoresegv false
ignoreillegal false
jit true
jit68k false
keyboardtype 5
ether slirp
keycodes true
keycodefile /usr/share/BasiliskII/keycodes
mousewheelmode 1
mousewheellines 3
dsp /dev/dsp
keycodes true
mixer /dev/mixer
ignoresegv false
idlewait true
mousewheellines 3
mousewheelmode 1
nocdrom false
noclipconversion false
nogui false
nonet false
nosound false
screen win/800/600
seriala /dev/ttyS0
serialb /dev/ttyS1

+ 14
- 0
virtual-machines/MacEmu-common-m68k View File

@@ -0,0 +1,14 @@
cpu 4
displaycolordepth 0
fpu true
idlewait false
jitcachesize 16384
jitdebug false
jitfpu true
jitinline true
jitlazyflush true
modelid 5
ramsize 67108864
rom /mnt/s/osmedia/Apple MacOS/ROMs OldWorld/512KB ROMs/1989-09 - 368CADFE - Mac IIci.ROM
udpport 6066
udptunnel false

+ 8
- 0
virtual-machines/MacEmu-common-ppc View File

@@ -0,0 +1,8 @@
gfxaccel true
idlewait true
ignoreillegal false
jit68k false
ramsize 1073741824
rom /mnt/s/osmedia/Apple MacOS/ROMs NewWorld/1999-05-14 - Mac OS ROM 1.6.rom
screenmodes 0
windowmodes 0

Loading…
Cancel
Save