Emaculation.com

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
ppc-osx-on-qemu-for-windows [2018/02/17 14:30] – [Networking] cat_7ppc-osx-on-qemu-for-windows [2019/03/04 07:09] – [Qemu installation] cat_7
Line 25: Line 25:
  
   * Open your favorite text editor and create a file called qemu.bat in your qemu folder. (If one is contained in the download, edit that one).   * Open your favorite text editor and create a file called qemu.bat in your qemu folder. (If one is contained in the download, edit that one).
-  * Paste the code below into the file (all on one line!):+  * Paste the code below into the file:
  
-  qemu-system-ppc.exe -L pc-bios -boot d -m 512 -M mac99 -prom-env "auto-boot?=true-prom-env  +   
-  "boot-args=-v-prom-env "vga-ndrv?=true-drive file=MacOS9.2.iso,format=raw,media=cdrom -drive file=MacOS9.2.img,format=raw,media=disk -device usb-mouse -device usb-kbd -sdl -netdev user,id=network01 -device sungem,netdev=network01 +  qemu-system-ppc.exe -L pc-bios -boot d -M mac99,via=pmu -m 512 ^ 
 +  -prom-env 'auto-boot?=true-prom-env 'boot-args=-v-prom-env 'vga-ndrv?=true' ^ 
 +  -drive file=MacOS9.2.iso,format=raw,media=cdrom 
 +  -drive file=MacOS9.2.img,format=raw,media=disk 
 +  -sdl 
 +  -netdev user,id=network01 -device sungem,netdev=network01 ^
  
   * Save qemu.bat    * Save qemu.bat 
Line 37: Line 42:
 -L pc-bios defines the location of bios files to be used.\\ -L pc-bios defines the location of bios files to be used.\\
 -boot d defines to boot from a drive entry marked as a cdrom, “-boot c” would define to boot from a drive entry marked as disk.\\ -boot d defines to boot from a drive entry marked as a cdrom, “-boot c” would define to boot from a drive entry marked as disk.\\
--M mac99 defines the mac model used.\\+-M mac99 defines the mac model used(*).\\
 -m 512 defines the amount of memory (in Mb) for OS9/OSX.\\ -m 512 defines the amount of memory (in Mb) for OS9/OSX.\\
 -prom-env "auto-boot?=true" -prom-env "boot-args=-v" define boot parameters for openbios and Mac OSX. The “-v” makes the boot process verbose\\ -prom-env "auto-boot?=true" -prom-env "boot-args=-v" define boot parameters for openbios and Mac OSX. The “-v” makes the boot process verbose\\
Line 43: Line 48:
 -drive file=MacOS9.2.iso,format=raw,media=cdrom defines the name, location, format, and type of a cdrom (or dvd) image file to be used\\ -drive file=MacOS9.2.iso,format=raw,media=cdrom defines the name, location, format, and type of a cdrom (or dvd) image file to be used\\
 -drive file=MacOS9.2.img,format=raw,media=disk defines the name, location, format, and type of a hard disk image file to be used\\ -drive file=MacOS9.2.img,format=raw,media=disk defines the name, location, format, and type of a hard disk image file to be used\\
--device usb-mouse -device usb-kbd make Qemu present a usb-mouse and keyboard to the emulated system\\ 
 -sdl instructs Qemu to use SDL for the graphical display\\ -sdl instructs Qemu to use SDL for the graphical display\\
 -netdev user,id=network01 -device sungem,netdev=network01  tell qemu to use the sungem network device on a qemu-internal DHCP server\\ -netdev user,id=network01 -device sungem,netdev=network01  tell qemu to use the sungem network device on a qemu-internal DHCP server\\
 +
 +(*)The mac model entry accepts 3 options for the via parameter: \\
 +mac99,via=pmu (with PMU, supporting usb mouse and keyboard) \\
 +mac99,via=pmu-adb (this allows some older Mac OS/Mac OS server builds to use a keyboard and mouse through the adb bus) \\
 +mac99,via=cuda (default, this allows use of the older, now less supported cuda) \\
  
   * Double-click qemu.bat. This starts Qemu and boots the MacOS9.2.iso installation CD image.   * Double-click qemu.bat. This starts Qemu and boots the MacOS9.2.iso installation CD image.
Line 104: Line 113:
 and make sure you add a different mac address to the second instance: and make sure you add a different mac address to the second instance:
   * -netdev user,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:66   * -netdev user,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:66
-Please note that adding a mac address other then the default to the network device leads to the discovery of a new network card in OSX. You need to configure that card through the network preferences.\\+Please note that adding a mac address other than the default to the network device leads to the discovery of a new network card in OSX. You need to configure that card through the network preferences.\\
  
 To allow two qemu instances to "see" eachother on the network, you can e.g. install a second tap device and bridge both tap devices with the default network connection. You must then also use different mac addresses for each connection: To allow two qemu instances to "see" eachother on the network, you can e.g. install a second tap device and bridge both tap devices with the default network connection. You must then also use different mac addresses for each connection:
Line 110: Line 119:
   * -netdev tap,ifname=TapEthernet1,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:56   * -netdev tap,ifname=TapEthernet1,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:56
   * -netdev tap,ifname=TapEthernet2,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:66   * -netdev tap,ifname=TapEthernet2,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:66
 +
 +
 +=== Accessing a Windows 10 share from Mac OS 9.2 running in Qemu, using Dave 6.2.1 ===
 +
 +In Windows: \\
 +-Make sure you have some folder shared \\
 +-Bridge your tap device with your default network interface (see above)\\
 +-Start Mac OS 9 through Qemu with tap networking \\
 +-Use DHCP on the Mac side. \\
 +
 +In Mac OS 9: \\
 +-Install DAVE 6.2.1 (find it at Macintoshrepository.org) \\
 +-Shut down and start Mac OS \\
 +Follow the setup assistant. \\
 +-name, company, serial number \\
 +-Netbios name: (f.i., QemuOS92) \\
 +-Workgroup: WORKGROUP (should be found automatically) \\
 +-Description: (f.i., QemuOS92) \\
 +-Login at startup: unchecked \\
 +Overview: \\
 +Computer Name: QEMUOS92 \\
 +Workgroup Name: WORKGROUP \\
 +Description: QemuOS92 \\
 +Use DHCP to make additional settings \\
 +-Sharing local files: check I don’t want to share my local files \\
 +
 +(if "Use DHCP to make additional settings" is not shown, check DHCP in the NetBIOS Control Panel) \\
 +
 +-Start the Chooser, select your host as server. Enter username, password, leave domain as is. \\
 +-You will get an unknown error…. \\
 +-In the SERVER box, click Add Share.  At Share enter a share name on your host. Click OK, and OK. \\
 +
 +The share appears on your desktop, you can now exchange files through the share.
 +
  
  
Line 128: Line 171:
  
 Open the Qemu Monitor by pressing Ctrl-Alt-2 \\ Open the Qemu Monitor by pressing Ctrl-Alt-2 \\
-Type "info block" to find the name of the CD (most likely: ide1-cd0) \\+Type "info block" to find the name of the CD drive in Qemu (most likely: ide1-cd0) \\
 Type "eject ide1-cd0" \\ Type "eject ide1-cd0" \\
 Type "change ide1-cd0 Driveletter:/path/name-of-cd-image.iso" (note the forward slashes!) \\ Type "change ide1-cd0 Driveletter:/path/name-of-cd-image.iso" (note the forward slashes!) \\
 Close the Qemu Monitor by pressing Ctrl-Alt-2 again (do **not** close the window by clicking the close button)\\ Close the Qemu Monitor by pressing Ctrl-Alt-2 again (do **not** close the window by clicking the close button)\\
  
 +==== Mounting a real cd ====
 +NOTE: you cannot mount Mac formatted CD's, but other formats work \\
  
 +Open the Qemu Monitor by pressing Ctrl-Alt-2 \\
 +Type "info block" to find the name of the CD drive in Qemu (most likely: ide1-cd0) \\
 +Type "change ide1-cd0 /dev/cdrom" (note the forward slashes!) \\
 +Close the Qemu Monitor by pressing Ctrl-Alt-2 again (do **not** close the window by clicking the close button)\\
 ===== Experimental builds ===== ===== Experimental builds =====
  
Line 140: Line 189:
  
 -Sound support\\ -Sound support\\
--Support for a PMU (power management unit)\\ 
  
 You can download some of these experimental builds for our forum under **Experimental builds** : http://www.emaculation.com/forum/viewtopic.php?f=34&t=9028 You can download some of these experimental builds for our forum under **Experimental builds** : http://www.emaculation.com/forum/viewtopic.php?f=34&t=9028