Emulation Documentation -- PAFDAO Project [PDF]
Total Page:16
File Type:pdf, Size:1020Kb
Emulation Documentation|PAFDAO Project Dianne Dietrich Contents 1 Overview4 2 Emulator Selection 11 2.1 Examples of determining compatible emulators................. 14 3 General Emulator Configuration and Setup 18 4 Emulating Apple/Macintosh systems with Basilisk II and SheepShaver 19 4.1 Settings...................................... 20 4.2 ROMs for Apple/Macintosh Emulation..................... 21 4.3 Disk Image File with installed Operating System............... 22 4.4 Running the emulators and loading an artwork................. 23 5 Emulating PC-compatible systems with QEMU 46 5.1 Settings...................................... 47 5.2 Disk Image File with installed Operating System............... 48 5.3 Running the emulator and loading an artwork................. 49 5.4 Process-level emulation|WineHQ and QEMU user mode........... 56 Appendix A Compiling notes for Basilisk II and Sheepshaver executables 58 1 Appendix B Creating a new disk image file for Basilisk II and SheepShaver and installing an operating system 62 Appendix C Installation of QEMU 94 Appendix D Creating a disk image file for the hard disk for QEMU from scratch 95 2 List of Tables 1.1 Recommended emulators for access........................5 1.2 Emulators tested by project team.........................6 2.1 Recommended starting points for emulators based on system requirements and creation year of work............................. 12 4.1 Apple ROMs used by project team for testing and access............ 21 4.2 Disk image files and corresponding installed Macintosh operating systems for Basilisk II and Sheepshaver............................ 22 5.1 Disk image files and corresponding installed Windows operating systems for QEMU....................................... 48 3 1| Overview The PAFDAO project team explored emulation as a strategy to provide \best feasible access" to works whose system requirements specify now-obsolete hardware and software. Various emulators were tested to determine their suitability for providing access to the materials in the Goldsen collection on contemporary hardware. Emulation requirements were drawn from an analysis of the stated system requirements of individual items in the collection; the project team found that the selected emulators and virtual machines supported the majority of the system requirements indicated by individual artworks in the testbed collection. This document will describe the emulators chosen by the project team to provide the \best feasible access" to the majority of artworks in the collection. The specific emulators the project recommends for access are listed in Table 1.1. For each em- ulator listed in the table, this document will provide a description of any auxiliary files needed to access an artwork using the respective emulator with along with step-by-step instructions on their use. Additional notes and caveats drawn from the project team's experiences will also be included in this documentation. Additional details, such as installation/setup or compiling notes will be included in AppendixA. 4 Emulator Guest System(s) Emulated Basilisk II [1] Macintosh systems with a 68K processor (generally until 1994a) (includes IIci, Quadra); Macintosh System 7.5 through OS 8.1 SheepShaver [2] Macintosh systems with a PowerPC [3] (1994-2006) processor (in- cludes Power Macintosh); Macintosh System 7.5 through OS 9.0.4 QEMU [4,5] b PC systems with x86 processorsc Table 1.1: Recommended emulators for access. It is important to note here additional emulator software that the project team investigated or tested throughout the course of the project. The list of software below includes some projects that appeared, in 2013-2014, to be abandoned or no longer in use. Some software is actively developed, and may be considered as part of a future access strategy, given appropriate resources. Project team notes are included in Table 1.2. Emulators are listed in alphabetical order. In Computer Science, there is a distinction between \virtualization" and \emulation" soft- ware; the project team investigated software that fell under both of these categories and did not limit by one or the other. The project team uses the term \emulation" and \emulator" to connote any strategy of accessing an artwork on a contemporary system using a program that allows one to run an guest operating system, including guest operating systems that may be originally compatible with another hardware platform than the host machine. aA review of consumer Apple computers (on Wikipedia) suggests that Macintoshes produced up until 1993/1994 would have 68K processors. bWhile QEMU has the capability to emulate multiple systems, the project team used it primarily for emulating PC systems. cThe project team also tested WineHQ for running individual processes without emulating an entire guest operating system; details are provided in section 5.4. 5 Table 1.2: Emulators tested by project team. Emulator Guest System(s) Emulated Project Team Notes bochs [6] x86 PC emulator (and can be The project team did test out this compiled to include x86-64). software, but found it difficult to run; therefore, the project team did not test it with any of the Goldsen artworks. As it is cur- rently actively developed [7], it may be explored as a future op- tion for access. DOSBox [8] Intel x86 PC. This is mostly geared towards running DOS-based programs, as it emulates a x86 PC with a \DOS-like command prompt." [9] Its main goal is to get DOS- based games running on current systems. Since the Goldsen art- works require some version of Mi- crosoft Windows, it may not be the ideal method for access. JMESS Same as MESS; below. This is a browser-based port of (Javascript MESS (see entry for MESS). It MESS) [10] appears to be a standalone sys- tem built to interact with a suite of pre-selected games on specific consoles. The project team could not test this with the Goldsen art- works. (Table 1.2 { Continues on next page.) 6 Emulator Guest System(s) Emulated Project Team Notes MESS (Multi Many guest systems; see Sup- The project team tested this soft- Emulator Super ported Systems [12] in documen- ware out in 2013 and found it dif- System) [11] tation. Part of MAME project, ficult to get a guest system run- and as of 2014, under active de- ning (and thus, could not test velopment. [13, 14] it with a Goldsen artwork). It may be worth future investiga- tion, as it comes highly recom- mended by an advisor on the grant and it may include CRT emulation. At the time of testing, MESS may not support the Mac- intosh PowerPC architecture; ad- ditional possible limitations were found on a Macintosh emulation site. [15] Mini vMac [16] Early Macintosh systems (from While this seems to still be un- 1984-1996) running 68K proces- der active development as of 2014 sors. [17], the project team noted that its focus appeared to be much earlier Macintosh computers than those indicated in the system re- quirements of the Goldsen collec- tion. This software was not tested by the project team. PearPC [18] PowerPC architecture. Development appears to have stalled since 2011. [19] While this does emulate a PowerPC Macintosh, it only supports OS 10.1 through 10.4. The ma- jority of the Goldsen artworks require older Macintosh systems than this. The project team did not test PearPC for this reason, but notes it could be useful for future work in this area. (Table 1.2 { Continues on next page.) 7 Emulator Guest System(s) Emulated Project Team Notes VirtualBox [20] Virtualizing x86 and The project team did use and AMD64/Intel64. test this software for accessing Windows-based works. Specif- ically, a guest system running Windows2000 was used as a demo (with VirtualBox) because it was rather straightforward to run on the department's current Macin- tosh laptop. It can be consid- ered a viable alternative to using QEMU to access Windows-based artworks. It is important to note that VirtualBox isn't technically \emulation" as other software is. [21] 8 References [1] The Official Basilisk II Home Page. url: http://basilisk.cebix.net/. [2] The Official SheepShaver Home Page. url: http://sheepshaver.cebix.net/. [3] PowerPC - Wikipedia, the free encyclopedia. url: http://en.wikipedia.org/w/ index.php?title=PowerPC&oldid=637595599. [4] QEMU. url: http://wiki.qemu.org/Main_Page. [5] QEMU Emulator User Documentation. url: http://wiki.qemu.org/download/ qemu-doc.html. [6] bochs: The Open Source IA-32 Emulation Project (Home Page). url: http://bochs. sourceforge.net/. [7] bochs 2.6.7 Release notes. bochs 2.6.7 Release notes. url: http://svn.code.sf.net/ p/bochs/code/tags/REL_2_6_7_FINAL/bochs/CHANGES. [8] DOSBox, an x86 emulator with DOS. url: http://www.dosbox.com/. [9] DOSBoxWiki. url: http://www.dosbox.com/wiki/Main_Page. [10] The Javascript MESS. url: http://jsmess.textfiles.com. [11] Welcome to the MESS Wiki! [MESS]. url: http://www.mess.org/. [12] Supported systems. url: http://www.progettoemma.net/mess/sysset.php. [13] Previous MAME Releases. url: http://www.mamedev.org/oldrel.html (visited on 03/23/2013). [14] Previous MAME Versions - MAMEDEV Wiki. url: http://wiki.mamedev.org/ index.php/Previous_MAME_Versions. [15] MESS [E-Maculation wiki]. url: http://www.emaculation.com/doku.php/mess. [16] Mini vMac - early Macintosh emulator. url: http://www.gryphel.com/c/minivmac/. [17] Gryphel Project News. url: http://www.gryphel.com/c/news/index.html. [18] PearPC - PowerPC Architecture Emulator. url: http://pearpc.sourceforge.net/. [19] PearPC - PowerPC Architecture Emulator - Downloads. url: http://pearpc.sourceforge. net/downloads. [20] Oracle VM VirtualBox. url: https://www.virtualbox.org/. 9 [21] Virtualization { Oracle VM VirtualBox. url: https://www.virtualbox.org/wiki/ Virtualization. 10 2| Emulator Selection The following should be taken into consideration when selecting an appropriate emulator for an artwork: the work's original stated system requirements, including any included readme files and onscreen help and the year of publication of the work.