TrustedUser
574
edits
(Update second draft of HOWTO on Debugging Endian Issues.) |
(Update third draft of HOWTO on Debugging Endian Issues.) |
||
Line 21: | Line 21: | ||
** For all other systems, source code be downloaded from [http://www.qemu.org here]. Refer to your system and QEMU's documentation for help on compiling and installing this. | ** For all other systems, source code be downloaded from [http://www.qemu.org here]. Refer to your system and QEMU's documentation for help on compiling and installing this. | ||
* Configure QEMU to emulate a PPC machine. | * Configure QEMU to emulate a PPC machine. | ||
** This should just be using the right binary i.e. qemu-system-ppc(.exe, .app), with some extra options to select an emulated sound device. Consult the QEMU documentation on your machine for full instructions. | |||
** QEMU may exit with an application crash/DLL error on Win32. This generally indicates bad parameter settings, rather than an executable/dependency problem. | |||
** For reference, the following Win32 batch file may be useful as a basis:<br> | |||
@ECHO OFF | |||
SET SDL_VIDEODRIVER=directx | |||
SET QEMU_AUDIO_DRV=dsound | |||
SET SDL_AUDIODRIVER=dsound | |||
SET QEMU_AUDIO_LOG_TO_MONITOR=1 | |||
START qemu-system-ppcw.exe ^ | |||
-name debianPPC ^ | |||
-L Bios -vga std -soundhw ac97 ^ | |||
-m 512M ^ | |||
-boot menu=on,splash=./bootsplash.bmp,splash-time=3000 ^ | |||
-rtc base=localtime,clock=host ^ | |||
-hda debian_squeeze_powerpc_desktop.qcow2 ^ | |||
-cdrom GAME.iso ^ | |||
-net nic,model=ne2k_pci -net user ^ | |||
-no-reboot | |||
pause | |||
* Install a PPC Linux distribution onto the QEMU PPC VM. | * Install a PPC Linux distribution onto the QEMU PPC VM. | ||
** [http://people.debian.org/~aurel32/qemu/powerpc/ Prebuild Debian PPC QEMU Images] | ** [http://people.debian.org/~aurel32/qemu/powerpc/ Prebuild Debian PPC QEMU Images] | ||
* Enable VM network access proxied via the host system. | |||
** QEMU should be providing a virtual ethernet network adapter to the VM, which will provide access to the internet via the host's internet connection. This can be checked by the normal methods such as ICMP ping. If this is not working, check on your host machine, then refer to the QEMU documentation for any missing configuration setting and to see if the hosted OS requires any device driver to allow this virtual device to work. | |||
* Install the ScummVM source code, required libraries and compile a debug build. | * Install the ScummVM source code, required libraries and compile a debug build. | ||
* Within the VM, this now be done as per a normal Linux machine: | |||
** Getting ScummVM source tree: <pre>git clone git://github.com/scummvm/scummvm.git</pre> | |||
*** Refer to [[Developer_Central#Getting_started here]] for more help. | |||
** Install any required libraries: <pre>apt-get install libsdl12dev</pre> | |||
** Compiling ScummVM: <pre>cd scummvm && ./configure && make clean && make</pre> | |||
*** Refer to [[Compiling_ScummVM/GCC here]] for more help. | |||
* Provide game data. | |||
* Install debugging tools. | * Install debugging tools. | ||