diff --git a/BasiliskII.app/Contents/Info.plist b/BasiliskII.app/Contents/Info.plist new file mode 100755 index 0000000..15fd810 --- /dev/null +++ b/BasiliskII.app/Contents/Info.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + BasiliskII + CFBundleGetInfoString + Basilisk II version 1.0, Copyright © 1997-2006 Christian Bauer et al. Mac OS X port 19 + CFBundleIconFile + BasiliskII.icns + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + BasiliskII + CFBundlePackageType + APPL + CFBundleShortVersionString + Basilisk II 1.0, Mac OS X port 19, build 2014-03-01 + CFBundleSignature + ???? + NSHelpFile + README.txt + NSMainNibFile + MainMenu + NSPrincipalClass + Controller + + diff --git a/BasiliskII.app/Contents/MacOS/BasiliskII b/BasiliskII.app/Contents/MacOS/BasiliskII new file mode 100755 index 0000000..29f4cb5 Binary files /dev/null and b/BasiliskII.app/Contents/MacOS/BasiliskII differ diff --git a/BasiliskII.app/Contents/PkgInfo b/BasiliskII.app/Contents/PkgInfo new file mode 100644 index 0000000..a156b90 --- /dev/null +++ b/BasiliskII.app/Contents/PkgInfo @@ -0,0 +1 @@ +-n APPL???? diff --git a/BasiliskII.app/Contents/Resources/BasiliskII.icns b/BasiliskII.app/Contents/Resources/BasiliskII.icns new file mode 100755 index 0000000..b26870d Binary files /dev/null and b/BasiliskII.app/Contents/Resources/BasiliskII.icns differ diff --git a/BasiliskII.app/Contents/Resources/Credits.html b/BasiliskII.app/Contents/Resources/Credits.html new file mode 100755 index 0000000..29ee57a --- /dev/null +++ b/BasiliskII.app/Contents/Resources/Credits.html @@ -0,0 +1,11 @@ +Basilisk II is an open source, 68k Mac. emulator. +
+It enables you to run 68k MacOS software on your computer, even if you are using a different operating system (however, you do need a copy of the MacOS and a Macintosh ROM image to use it). +
+The Official Basilisk II Home Page +
+ +MacOS X (native windowing) port +
+by Nigel Pearson <nigel@ind.tansu.com.au> +
diff --git a/BasiliskII.app/Contents/Resources/English.lproj/InfoPlist.strings b/BasiliskII.app/Contents/Resources/English.lproj/InfoPlist.strings new file mode 100755 index 0000000..fbcc2d4 --- /dev/null +++ b/BasiliskII.app/Contents/Resources/English.lproj/InfoPlist.strings @@ -0,0 +1,3 @@ +/* Localized versions of Info.plist keys */ + +NSHumanReadableCopyright = "Copyright © 1997-2006 Christian Bauer et al. Freely distributable under the terms of the GNU GPL."; diff --git a/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/Collapsed.tiff b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/Collapsed.tiff new file mode 100755 index 0000000..e4647bb Binary files /dev/null and b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/Collapsed.tiff differ diff --git a/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/Expanded.tiff b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/Expanded.tiff new file mode 100755 index 0000000..819a88f Binary files /dev/null and b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/Expanded.tiff differ diff --git a/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/classes.nib b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/classes.nib new file mode 100755 index 0000000..8d5b001 --- /dev/null +++ b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/classes.nib @@ -0,0 +1,131 @@ +{ + IBClasses = ( + { + ACTIONS = { + HelpHowTo = id; + HelpToDo = id; + HelpVersions = id; + NewEmulator = id; + PauseAll = id; + RunAll = id; + TerminateAll = id; + }; + CLASS = Controller; + LANGUAGE = ObjC; + OUTLETS = {theEmulator = id; thePrefsEditor = id; }; + SUPERCLASS = NSApplication; + }, + { + ACTIONS = { + Benchmark = id; + Interrupt = id; + PowerKey = id; + Restart = id; + Resume = id; + ScreenHideShow = id; + Snapshot = id; + SpeedChange = id; + Suspend = id; + Terminate = id; + ToggleState = id; + ZapPRAM = id; + }; + CLASS = Emulator; + LANGUAGE = ObjC; + OUTLETS = {barberPole = id; runOrPause = id; screen = id; speed = id; win = id; }; + SUPERCLASS = NSObject; + }, + {CLASS = EmulatorView; LANGUAGE = ObjC; SUPERCLASS = NSView; }, + { + ACTIONS = { + Interrupt = id; + PowerKey = id; + Restart = id; + Resume = id; + Snapshot = id; + Suspend = id; + Terminate = id; + ZapPRAM = id; + }; + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + ACTIONS = { + AddSCSI = id; + AddVolume = id; + BrowseExtFS = id; + BrowsePrefs = id; + BrowseROM = id; + ChangeBootFrom = id; + ChangeCPU = id; + ChangeDisableCD = id; + ChangeDisableSound = id; + ChangeFPU = id; + ChangeKeyboard = id; + ChangeModel = id; + ChangeScreen = id; + CreateVolume = id; + DeleteVolume = id; + EditBytes = id; + EditDelay = id; + EditEtherNetDevice = id; + EditExtFS = id; + EditFrequency = id; + EditMB = id; + EditModemDevice = id; + EditPrinterDevice = id; + EditROMpath = id; + LoadPrefs = id; + RemoveSCSI = id; + RemoveVolume = id; + ResetPrefs = id; + SavePrefs = id; + ShowPrefs = id; + }; + CLASS = PrefsEditor; + LANGUAGE = ObjC; + OUTLETS = { + CPU68000 = id; + CPU68020 = id; + CPU68030 = id; + CPU68040 = id; + FPU = id; + IIci = id; + MB = id; + ROMfile = id; + SCSIdisks = id; + bootFromAny = id; + bootFromCD = id; + bytes = id; + classic = id; + delay = id; + depth = id; + disableCD = id; + disableSound = id; + diskImages = id; + emuFreq = id; + emuWin = id; + etherNet = id; + extFS = id; + frequency = id; + height = id; + keyboard = id; + modem = id; + newVolumeSize = id; + newVolumeView = id; + panel = id; + prefsFile = id; + printer = id; + quadra900 = id; + screen = id; + theEmulator = id; + width = id; + window = id; + }; + SUPERCLASS = NSObject; + } + ); + IBVersion = 1; +} \ No newline at end of file diff --git a/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/info.nib b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/info.nib new file mode 100755 index 0000000..8678454 --- /dev/null +++ b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/info.nib @@ -0,0 +1,36 @@ + + + + + IBDocumentLocation + 3 11 521 240 0 4 1152 742 + IBEditorPositions + + 29 + 3 256 365 44 0 0 1152 746 + + IBFramework Version + 349.0 + IBLockedObjects + + 288 + + IBOpenObjects + + 29 + 813 + + IBSystem Version + 7D24 + IBUserGuides + + VolumeSize + + guideLocations + + guidesLocked + NO + + + + diff --git a/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/objects.nib b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/objects.nib new file mode 100755 index 0000000..c86a0e8 Binary files /dev/null and b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/objects.nib differ diff --git a/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/resetH.tiff b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/resetH.tiff new file mode 100755 index 0000000..ed556af Binary files /dev/null and b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/resetH.tiff differ diff --git a/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/resetN.tiff b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/resetN.tiff new file mode 100755 index 0000000..c0c18a6 Binary files /dev/null and b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/resetN.tiff differ diff --git a/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/shutdownH.tiff b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/shutdownH.tiff new file mode 100755 index 0000000..522409a Binary files /dev/null and b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/shutdownH.tiff differ diff --git a/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/shutdownN.tiff b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/shutdownN.tiff new file mode 100755 index 0000000..61f5a7d Binary files /dev/null and b/BasiliskII.app/Contents/Resources/English.lproj/MainMenu.nib/shutdownN.tiff differ diff --git a/BasiliskII.app/Contents/Resources/HowTo.html b/BasiliskII.app/Contents/Resources/HowTo.html new file mode 100755 index 0000000..49fcb4c --- /dev/null +++ b/BasiliskII.app/Contents/Resources/HowTo.html @@ -0,0 +1,226 @@ + +Basilisk II, Mac OS X port, HowTos + + +

Index

+ + + +
+ +

Minimum Requirements

+ +To run Basilisk II, you need both: + + +
+ +

Macintosh ROM image

+ +

To run Basilisk II, you need a ROM image, which is a data file +containing a copy of the ROM chips from a real 68k Macintosh.

+ +

The best way (i.e. most legally acceptable) to get a ROM +image is to produce it from your old Mac. Take a program like CopyROM, +download it onto your old Mac, and use it to produce the image file, +which you then copy or upload to your OS X Mac. +A good page which describes this process is +here. +

+ +

The easiest way to get a ROM image is to get one from someone else +(e.g. another Basilisk II user, or an emulation web site). +Note that this probably contravenes several copyright laws.

+ +

Once you have your ROM image, you need to tell Basilisk II to use it: +

    +
  1. Open the Basilisk II application
  2. +
  3. Go to the 'BasiliskII' menu, then the Preferences...' menu item
  4. +
  5. On the Emulation tab, there is a field 'ROM file:'. Either type in the +path to the ROM file, or click the Browse button and Open the ROM file
  6. +
  7. Click the Save button, so that Basilisk II will be able to find the ROM +each time you boot it
  8. +
+

+ +

If you want to test this, press the Run or Power button +(in the top right corner of the 'BasiliskII Emulator' window). +After a few moments you should see a Mac screen, with a picture of a floppy +disk with a flashing question mark. That is the Mac telling you that it needs +a disk to boot from.

+ +
+ +

Finding a boot disk

+ +

Basilisk II needs a copy of the MacOS to boot from. Anything from System 7 +through to MacOS 8.1 should be usable. +
(Felix Eng and I have only tested System 7.0.1, 7.1, 7.5.3 and 7.6, +although Felix also got System 6.0.8 to work with SE/30 Roms)

+ +Basilisk II can currently boot from: + + + + + + + + + + + + + +
CD-ROM Most (not all) MacOS Install CDs will also boot your Mac. I also think + that some old Norton Utilities install CDs might have booted 68k Macs
Floppy disk image Jonathan C. Silverstein reports that + this Apple floppy disk image will boot Basilisk II
Preinstalled Basilisk II disk image Another Basilisk II user might be willing to loan you the disk image +that they are using
+ +

It is possible to use Basilisk II with a CD-ROM or floppy image, but +because most bootable CDs have a minimal System Folder, it is better if you +use a disk image with a more complete MacOS installed on it. The next section +tells you how to do this.

+ +

Note that there is currently no Install CD image on Apple's Web site, but +they do seem to have MacOS 7.5.3 floppy disk images (all 19 of them). Burning +those images onto a CD (not in the extended format) should allow you to install. +
Thanks to Attilio Farina for this tip!

+ +

Installing the MacOS

+ +

Create a new BasiliskII disk

+ +

Before you can install the MacOS onto a disk volume, +you need to create a disk to install onto:

+ +
    +
  1. Start up the Basilisk application.
    + (If it is already running, skip this step)
  2. +
  3. Open the preferences.
  4. +
  5. Go to the Disk Volumes tab.
  6. +
  7. Press the 'Create...' button + (go with the defaults, unless you think you will need a huge disk).
  8. +
+ +

If you want to have more than one hard disk available to Basilisk II, +you could create additional volumes here.

+ +

Installing the MacOS

+ +

Insert your MacOS install CD-ROM, and wait a few moments for the +OS X Finder to mount the disk. While still in your preferences:

+ +
    +
  1. Go to the Emulation tab and check that your emulation is appropriate + for your install image +
    (e.g. I had to change from Quadra900 to IIci, + because my generic 7.1 install CD didn't support the Quadra), + and that you have the RAM size set appropriately +
    (e.g. 8MB RAM may not be enough for a 7.5.3 install).
  2. +
  3. Click the save button.
  4. +
  5. In the BasiliskII Emulator window, click Run.
    + (If it is already running, but showing the floppy with the question mark, + press the restart button - the triangle in the bottom right hand corner)
    + You should get a HappyMac, and the emulator will start to boot from the CD. + You should then a dialog asking you to format a disk.
  6. +
  7. Click Initialize, then Erase, give the disk an appropriate name + (e.g. Hard Disk), then click OK.
  8. +
  9. Find the OS installer (in my case the CD booted into At Ease, and one of + the first buttons was 'Install System'), and go with the defaults.
  10. +
+ +

After the installer finishes it may try to reboot (or you may need to +force a reboot). When it reboots, BasiliskII may exit. Start it again, +and you should boot into your installed OS.

+ +
+ +

Mounting Unix Files

+ +

If Basilisk II is running MacOS 7.5.3 or newer, you can easily access some +of the files from your OS X disks. Just set the 'Unix directory to mount' in the +Volumes tab of the Preferences. Next time the Emulator starts up, a new disk +will appear on its Desktop (called Unix).

+ +

To prevent clashes with the OS X desktop files, I suggest that the directory +you select is not a whole disk (e.g. '/' or '/Volumes/disk'). Mount a +sub-folder instead (like '/Applications (Mac OS 9)').

+ +
+ +

Importing Mac Files

+ +

If you are not running MacOS 7.5.3 or newer, the above trick won't work. +This makes getting files into Basilisk II harder. Luckily, Apple's 'Disk Copy' +or 'Disk Utility' can create a disk image file that is compatible +with Basilisk II (i.e. you can add it as a disk volume).

+ +
    +
  1. Open 10.1's 'Disk Copy' program, and create a 'Mac Standard' image, +
    or 10.3's 'Disk Utility', and create a 'read/write disk image', +
    or Disk Copy 6.??? in Classic, and create new image
  2. +
  3. If the image is not mounted, mount it
  4. +
  5. Copy any files that you want to access in the emulator to the mounted + image
  6. +
  7. Unmount the image
  8. +
  9. In Basilisk II's preferences, go to the 'Disk Volumes' tab, + add your new image, and start the emulation
  10. +
+ +A new disk should appear on the emulation's desktop which contains the files +that you wanted to access. If the emulator complains about a disk needing to +be formatted, you may have chosen the wrong type of image type in 'Disk Copy' +or 'Disk Utility.' + +
+

Networking

+ +

If your Mac is networked, then your emulated MacOS can also access that +network: +

    +
  1. Open Basilisk II, go to the Preferences, then the Hardware tab, +and set the emulator's EtherNet interface to slirp
  2. +
  3. Start the Emulator
  4. +
  5. In the emulated MacOS, open the TCP/IP Control Panel and set: + +
  6. Restart the emulation.
  7. +
+You should now be able to surf the web, or FTP download software, +in the emulated Mac. Not sure about AppleTalk networking, though.

+ +

Note that this does not require the OS X Mac to be using EtherNet, +any working TCP/IP networking should be fine. I have tested it over +DHCP EtherNet (ADSL modem/router at home), and with a static IP +address at work (which also has an external web proxy/firewall).

+ +
+ +$Id$ +
+Written by Nigel Pearson on 26th March, 2003. + + + + diff --git a/BasiliskII.app/Contents/Resources/README.txt b/BasiliskII.app/Contents/Resources/README.txt new file mode 100755 index 0000000..6a2ee6b --- /dev/null +++ b/BasiliskII.app/Contents/Resources/README.txt @@ -0,0 +1,1008 @@ + + Basilisk II + A 68k Macintosh emulator + + Copyright (C) 1997-2008 Christian Bauer et al. + + +License +------- + +Basilisk II is available under the terms of the GNU General Public License. +See the file "COPYING" that is included in the distribution for details. + + +Overview +-------- + +Basilisk II is an Open Source 68k Macintosh emulator. That is, it enables +you to run 68k MacOS software on you computer, even if you are using a +different operating system. However, you still need a copy of MacOS and +a Macintosh ROM image to use Basilisk II. + +Basilisk II has currently been ported to the following systems: + - BeOS R4 (PowerPC and x86) + - Unix (tested under Linux, Solaris 2.x, FreeBSD 3.x, NetBSD 1.4.x and + IRIX 6.5) + - AmigaOS 3.x + - Windows NT 4.0 (mostly works under Windows 95/98, too) + - Mac OS X 10.1 thru 10.4 + +Some features of Basilisk II: + - Emulates either a Mac Classic (which runs MacOS 0.x thru 7.5) + or a Mac II series machine (which runs MacOS 7.x, 8.0 and 8.1), + depending on the ROM being used + - Color video display + - CD quality sound output + - Floppy disk driver (only 1.44MB disks supported) + - Driver for HFS partitions and hardfiles + - CD-ROM driver with basic audio functions + - Easy file exchange with the host OS via a "Host Directory Tree" icon + on the Mac desktop + - Ethernet driver + - Serial drivers + - SCSI Manager (old-style) emulation + - Emulates extended ADB keyboard and 3-button mouse + - Uses UAE 68k emulation or (under AmigaOS and NetBSD/m68k) real 68k + processor + +The emulator is not yet complete. See the file "TODO" for a list of +unimplemented stuff. + + +Requirements and Installation +----------------------------- + +Please consult the file "INSTALL" for a list of system requirements and +installation instructions. + + +Configuration +------------- + +Basilisk II is configured via the preferences editor that appears on startup. +If you have a version without preferences editor (e.g. because of missing GTK+ +under Unix), you have to edit the preferences file manually. + +The settings are stored in a text file: + +BeOS: + /boot/home/config/settings/BasiliskII_prefs + +Unix, Mac OS X: + ~/.basilisk_ii_prefs + +AmigaOS: + ENV:BasiliskII_prefs + +Windows: + BasiliskII_prefs (in the same directory as the executable) + +If no preferences file is present, Basilisk II will create one with the +default settings upon startup. + + +Preferences File Format +----------------------- + +The preferences file is a text file editable with any text editor. +Each line in this file has the format "keyword value" and describes +one preferences item. For each keyword, the meaning of the "value" +string may vary across platforms. The following keywords exist: + +disk + + This item describes one MacOS volume to be mounted by Basilisk II. + There can be multiple "disk" lines in the preferences file. Basilisk II + can handle hardfiles (byte-per-byte images of HFS volumes in a file on + the host system), HFS partitions on hard disks etc., and MacOS-partitioned + disks (it can only access the first partition, though). The "volume + description" is either the pathname of a hardfile or a platform-dependant + description of an HFS partition or drive. If the volume description is + prefixed by an asterisk ("*"), the volume is write protected for MacOS. + + Basilisk II can also handle some types of Mac "disk image" files directly, + as long as they are uncompressed and unencoded. + + BeOS: + To specify an HFS partition, simply specify its path (e.g. + "/dev/disk/scsi/0/1/0/0_3"). If you don't specify any volumes, Basilisk II + will search for and use all available HFS partitions. + + Unix: + To specify an HFS partition, simply specify its path (e.g. "/dev/sda5"). + If you want to access a MacOS-partitioned hard disk or removable volume + (Jaz, Zip etc.) and your operating system doesn't understand MacOS + partition tables, you can specify the block device name (e.g. "/dev/sda") + to access the first HFS partition on the device. Under Linux, if you + don't specify any volumes, Basilisk II will search /etc/fstab for + unmounted HFS partitions and use these. + + AmigaOS: + Partitions/drives are specified in the following format: + /dev////// + "start block" and "size" are given in blocks, "block size" is given in + bytes. + + Windows: + To define a logical volume (Windows NT only), specify its path (e.g. "c:\"). + To define a physical volume (NT and 9x), additionally give the "physical" + keyword (E.g. "physical c:\"). For safety reasons, volumes are mounted as + read-only. This is due to the bugs in PC Exchange. If you don't specify + any volume, the files *.hfv and *.dsk are searched from the current + directory. Note that in this case, Basilisk II tries to boot from the first + volume file found, which is random and may not be what you want. + +floppy + + This item describes one floppy drive to be used by Basilisk II. There + can be multiple "floppy" lines in the preferences file. If no "floppy" + line is given, Basilisk II will try to automatically detect and use + installed floppy drives. The format of the "floppy drive description" + is the same as that of "disk" lines. + +cdrom + + This item describes one CD-ROM drive to be used by Basilisk II. There + can be multiple "cdrom" lines in the preferences file. If no "cdrom" + line is given, Basilisk II will try to automatically detect and use + installed CD-ROM drives. The format of the "CD-ROM drive description" + is the same as that of "disk" lines. + +extfs + + This item specifies the root directory for the "Host Directory Tree" + file system (the "Unix/BeOS/Amiga/..." icon on the Finder desktop). + All objects contained in that directory are accessible by Mac applications. + + This feature is only available when File System Manager V1.2 or later + is installed on the Mac side. FSM 1.2 is built-in beginning with MacOS 7.6 + and can be installed as a system extension (downloadable from Apple, look + for the FSM SDK in the developer section) for earlier MacOS versions. + +scsi0 ... scsi6 + + These items describe the SCSI target to be used for a given Mac SCSI + ID by Basilisk II. Basilisk II emulates the old SCSI Manager and allows + to assign a different SCSI target (they don't even have to be on the + same SCSI bus) for each SCSI ID (0..6) as seen by the MacOS. "scsi0" + describes the target for ID 0, "scsi1" the target for ID 1 etc. + The format of the "SCSI target" is platform specific. + + BeOS: + The "SCSI target" has the format "/" (e.g. "0/2"). + Due to a bug in BeOS, using SCSI with Basilisk II may cause the + SCSI bus to hang. Use with caution. + + Linux: + The "SCSI target" has to be the name of a device that complies to + the Generic SCSI driver API. On a standard Linux installation, these + devices are "/dev/sg0", "/dev/sg1" etc. Note that you must have + appropriate access rights to these devices and that Generic SCSI + support has to be compiled into the kernel. + + FreeBSD: + The "SCSI target" has the format "/" (e.g. "2/0"). + + AmigaOS: + The "SCSI target" has the format "/" (e.g. + "scsi.device/2"). + + Windows: + The "SCSI target" has the format <"Vendor"> <"Model"> (e.g. + scsi0 "HP" "CD-Writer+ 7100"). Note the use of quotes. + +screen