├── SheepShaver ├── src │ ├── SDL │ ├── slirp │ ├── adb.cpp │ ├── disk.cpp │ ├── pict.c │ ├── scsi.cpp │ ├── sony.cpp │ ├── Unix │ │ ├── m4 │ │ ├── cpr.sh │ │ ├── rpc.h │ │ ├── keycodes │ │ ├── ldscripts │ │ ├── sshpty.c │ │ ├── sshpty.h │ │ ├── strlcpy.c │ │ ├── strlcpy.h │ │ ├── tunconfig │ │ ├── config.sub │ │ ├── disk_unix.h │ │ ├── semaphore.h │ │ ├── tinyxml2.h │ │ ├── clip_unix.cpp │ │ ├── config.guess │ │ ├── ether_unix.cpp │ │ ├── extfs_unix.cpp │ │ ├── posix_sem.cpp │ │ ├── prefs_unix.cpp │ │ ├── rpc_unix.cpp │ │ ├── sys_unix.cpp │ │ ├── timer_unix.cpp │ │ ├── tinyxml2.cpp │ │ ├── vhd_unix.cpp │ │ ├── xpram_unix.cpp │ │ ├── Linux │ │ │ ├── NetDriver │ │ │ └── scsi_linux.cpp │ │ ├── color_scheme.cpp │ │ ├── serial_unix.cpp │ │ ├── Darwin │ │ │ ├── .gitignore │ │ │ ├── pagezero.c │ │ │ ├── mkstandalone │ │ │ └── testlmem.sh │ │ ├── audio_oss_esd.cpp │ │ ├── Irix │ │ │ └── audio_irix.cpp │ │ ├── disk_sparsebundle.cpp │ │ ├── prefs_editor_gtk3.cpp │ │ ├── ui │ │ │ ├── help-overlay.ui │ │ │ ├── prefs-editor.ui │ │ │ └── sheepshaver.gresource.xml │ │ ├── dyngen_precompiled │ │ │ ├── ppc-dyngen-ops.hpp │ │ │ └── basic-dyngen-ops.hpp │ │ ├── .gitignore │ │ ├── SheepShaver.1 │ │ ├── mkinstalldirs │ │ └── about_window_unix.cpp │ ├── audio.cpp │ ├── bincue.cpp │ ├── cdrom.cpp │ ├── extfs.cpp │ ├── prefs.cpp │ ├── timer.cpp │ ├── xpram.cpp │ ├── BeOS │ │ ├── SheepNet │ │ ├── SheepDriver │ │ ├── audio_beos.cpp │ │ ├── extfs_beos.cpp │ │ ├── scsi_beos.cpp │ │ ├── sys_beos.cpp │ │ ├── timer_beos.cpp │ │ ├── xpram_beos.cpp │ │ ├── serial_beos.cpp │ │ ├── SheepShaver.rsrc │ │ ├── SaveROM │ │ │ ├── SaveROM.rsrc │ │ │ └── README │ │ ├── CreatePCIDrivers │ │ │ ├── Makefile │ │ │ └── hexconv.cpp │ │ └── user_strings_beos.h │ ├── Windows │ │ ├── router │ │ ├── b2ether │ │ ├── cdenable │ │ ├── cd_defs.h │ │ ├── posix_emu.h │ │ ├── posix_emu.cpp │ │ ├── SheepShaver.rc │ │ ├── clip_windows.cpp │ │ ├── ether_windows.h │ │ ├── sys_windows.cpp │ │ ├── util_windows.cpp │ │ ├── util_windows.h │ │ ├── ether_windows.cpp │ │ ├── extfs_windows.cpp │ │ ├── serial_windows.cpp │ │ ├── timer_windows.cpp │ │ ├── xpram_windows.cpp │ │ ├── prefs_editor_gtk.cpp │ │ ├── SheepShaverGUI.rc │ │ ├── SheepShaver.ico │ │ ├── SheepShaverGUI.ico │ │ └── about_window_windows.cpp │ ├── include │ │ ├── adb.h │ │ ├── clip.h │ │ ├── disk.h │ │ ├── pict.h │ │ ├── scsi.h │ │ ├── sony.h │ │ ├── sys.h │ │ ├── audio.h │ │ ├── bincue.h │ │ ├── cdrom.h │ │ ├── debug.h │ │ ├── extfs.h │ │ ├── my_sdl.h │ │ ├── prefs.h │ │ ├── serial.h │ │ ├── timer.h │ │ ├── xpram.h │ │ ├── audio_defs.h │ │ ├── extfs_defs.h │ │ ├── serial_defs.h │ │ ├── color_scheme.h │ │ ├── prefs_editor.h │ │ ├── macos_util.h │ │ ├── g_resource.h │ │ ├── about_window.h │ │ ├── version.h │ │ ├── name_registry.h │ │ ├── rsrc_patches.h │ │ └── rom_patches.h │ ├── MacOSX │ │ ├── runtool.c │ │ ├── AudioBackEnd.h │ │ ├── AudioDevice.h │ │ ├── autorelease.h │ │ ├── sys_darwin.cpp │ │ ├── utils_macosx.h │ │ ├── AudioBackEnd.cpp │ │ ├── AudioDevice.cpp │ │ ├── MacOSX_sound_if.h │ │ ├── audio_macosx.cpp │ │ ├── clip_macosx.cpp │ │ ├── clip_macosx64.mm │ │ ├── etherhelpertool.c │ │ ├── extfs_macosx.cpp │ │ ├── utils_macosx.mm │ │ ├── MacOSX_sound_if.cpp │ │ ├── macos_util_macosx.h │ │ ├── SheepVM.icns │ │ ├── SheepShaver.icns │ │ ├── Launcher │ │ │ ├── English.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── MainMenu.nib │ │ │ │ │ ├── keyedobjects.nib │ │ │ │ │ ├── info.nib │ │ │ │ │ └── classes.nib │ │ │ │ ├── VMListWindow.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── VMSettingsWindow.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ ├── DiskType.h │ │ │ ├── DiskType.m │ │ │ ├── Info.plist │ │ │ ├── main.m │ │ │ ├── AppController.h │ │ │ ├── LauncherPrefix.h │ │ │ └── AppController.mm │ │ ├── PrefsEditor │ │ │ ├── English.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ └── MainMenu.nib │ │ │ │ │ ├── keyedobjects.nib │ │ │ │ │ └── info.nib │ │ │ ├── standalone_nib │ │ │ │ └── English.lproj │ │ │ │ │ ├── InfoPlist.strings │ │ │ │ │ └── MainMenu.nib │ │ │ │ │ ├── keyedobjects.nib │ │ │ │ │ └── info.nib │ │ │ ├── Info.plist │ │ │ └── main.m │ │ ├── .gitignore │ │ ├── SheepShaver.entitlements │ │ ├── SheepShaver.xcodeproj │ │ │ └── project.xcworkspace │ │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ ├── config │ │ │ └── config.h │ │ └── Info.plist.in │ ├── EthernetDriver │ │ ├── .finf │ │ │ ├── ethernet.ndrv │ │ │ └── Ethernet.mcp │ │ ├── Ethernet Data │ │ │ ├── .finf │ │ │ │ ├── CWSettingsMacOS.stg │ │ │ │ ├── PPC Debug MacOS Toolbox │ │ │ │ └── PPC Final MacOS Toolbox │ │ │ ├── PPC Debug MacOS Toolbox │ │ │ │ ├── .finf │ │ │ │ │ └── TargetDataMacOS.tdt │ │ │ │ ├── TargetDataMacOS.tdt │ │ │ │ └── .rsrc │ │ │ │ │ └── TargetDataMacOS.tdt │ │ │ ├── PPC Final MacOS Toolbox │ │ │ │ ├── .finf │ │ │ │ │ └── TargetDataMacOS.tdt │ │ │ │ ├── TargetDataMacOS.tdt │ │ │ │ └── .rsrc │ │ │ │ │ └── TargetDataMacOS.tdt │ │ │ └── CWSettingsMacOS.stg │ │ ├── Ethernet.mcp │ │ ├── ethernet.ndrv │ │ ├── debug.h │ │ ├── .rsrc │ │ │ └── ethernet.ndrv │ │ ├── cpu_emulation.h │ │ └── sysdeps.h │ ├── dummy │ │ ├── audio_dummy.cpp │ │ ├── clip_dummy.cpp │ │ ├── scsi_dummy.cpp │ │ ├── serial_dummy.cpp │ │ ├── prefs_editor_dummy.cpp │ │ └── prefs_dummy.cpp │ ├── CrossPlatform │ │ ├── sigsegv.h │ │ ├── vm_alloc.h │ │ ├── video_blit.h │ │ ├── video_vosf.h │ │ ├── vm_alloc.cpp │ │ └── video_blit.cpp │ └── kpx_cpu │ │ ├── src │ │ ├── cpu │ │ │ ├── jit │ │ │ │ ├── amd64 │ │ │ │ │ └── jit-target-cache.hpp │ │ │ │ ├── x86 │ │ │ │ │ ├── jit-target-cache.hpp │ │ │ │ │ └── dyngen-target-exec.h │ │ │ │ ├── dummy │ │ │ │ │ └── jit-target-cache.hpp │ │ │ │ ├── mips │ │ │ │ │ ├── jit-target-cache.hpp │ │ │ │ │ └── dyngen-target-exec.h │ │ │ │ └── jit-codegen.hpp │ │ │ └── ppc │ │ │ │ └── genexec.pl │ │ └── mathlib │ │ │ ├── ieeefp.cpp │ │ │ ├── mathlib-x86_64.hpp │ │ │ └── mathlib-i386.cpp │ │ └── include │ │ └── basic-plugin.hpp └── doc │ ├── BeOS │ ├── icon.gif │ ├── memory.gif │ ├── serial.gif │ ├── graphics.gif │ ├── iconsmall.gif │ ├── volumes.gif │ ├── acknowledgements.html │ ├── installation.html │ ├── index.html │ └── quickstart.html │ └── Linux │ ├── icon.gif │ ├── graphics.gif │ ├── memory.gif │ ├── serial.gif │ ├── volumes.gif │ ├── iconsmall.gif │ ├── history.html │ ├── acknowledgements.html │ ├── index.html │ ├── installation.html │ └── quickstart.html ├── BasiliskII ├── src │ ├── uae_cpu_2021 │ │ └── memory.cpp │ ├── slirp │ │ ├── VERSION_ │ │ ├── tcp_subr.c │ │ ├── ctl.h │ │ ├── tftp.h │ │ ├── sbuf.h │ │ ├── libslirp.h │ │ ├── debug.h │ │ └── main.h │ ├── Windows │ │ ├── BasiliskII.rc │ │ ├── BasiliskIIGUI.rc │ │ ├── BasiliskII.ico │ │ ├── BasiliskIIGUI.ico │ │ ├── ether_windows.h │ │ ├── BasiliskII_MSVC_PostBuild.bat │ │ ├── b2ether │ │ │ ├── nt5 │ │ │ │ ├── MAKEFILE │ │ │ │ ├── b2ether.rc │ │ │ │ ├── SOURCES │ │ │ │ ├── NTDDPACK.H │ │ │ │ └── b2ether64.sln │ │ │ ├── driver │ │ │ │ ├── MAKEFILE │ │ │ │ └── SOURCES │ │ │ ├── multiopt.h │ │ │ └── inc │ │ │ │ └── ntddpack.h │ │ ├── BasiliskII.props │ │ ├── BasiliskII.DebugJIT.props │ │ ├── BasiliskII.ReleaseJIT.props │ │ ├── build68k.vcxproj.filters │ │ ├── router │ │ │ ├── arp.h │ │ │ ├── dump.h │ │ │ ├── tcp.h │ │ │ ├── udp.h │ │ │ ├── icmp.h │ │ │ ├── mib │ │ │ │ └── interfaces.h │ │ │ ├── iphelp.h │ │ │ ├── dump.cpp │ │ │ └── ftp.h │ │ ├── gencpu.vcxproj.filters │ │ ├── gencomp.vcxproj.filters │ │ └── cdenable │ │ │ └── eject_nt.h │ ├── MacOSX │ │ ├── AudioBackEnd.h │ │ ├── AudioDevice.h │ │ ├── AudioBackEnd.cpp │ │ ├── AudioDevice.cpp │ │ ├── BasiliskII.icns │ │ ├── English.lproj │ │ │ ├── MainMenu.nib │ │ │ │ ├── objects.nib │ │ │ │ ├── resetH.tiff │ │ │ │ ├── resetN.tiff │ │ │ │ ├── Collapsed.tiff │ │ │ │ ├── Expanded.tiff │ │ │ │ ├── shutdownH.tiff │ │ │ │ ├── shutdownN.tiff │ │ │ │ └── info.nib │ │ │ └── InfoPlist.strings │ │ ├── Multiple-Windows │ │ │ ├── English.lproj │ │ │ │ ├── MainMenu.nib │ │ │ │ │ ├── objects.nib │ │ │ │ │ └── info.nib │ │ │ │ ├── Win512x342.nib │ │ │ │ │ ├── objects.nib │ │ │ │ │ ├── resetH.tiff │ │ │ │ │ ├── resetN.tiff │ │ │ │ │ ├── Expanded.tiff │ │ │ │ │ ├── Collapsed.tiff │ │ │ │ │ ├── shutdownH.tiff │ │ │ │ │ ├── shutdownN.tiff │ │ │ │ │ ├── info.nib │ │ │ │ │ └── classes.nib │ │ │ │ └── InfoPlist.strings │ │ │ └── README │ │ ├── BasiliskII.xcodeproj │ │ │ └── project.xcworkspace │ │ │ │ └── contents.xcworkspacedata │ │ ├── Credits.html │ │ ├── Makefile.gencpu │ │ ├── Makefile.gencpu_2021 │ │ ├── Info.plist │ │ ├── main_macosx.h │ │ ├── Assets.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── utils_macosx.h │ │ ├── MacOSX_sound_if.h │ │ └── misc_macosx.h │ ├── AmigaOS │ │ ├── BasiliskII.info │ │ ├── main_amiga.cpp │ │ └── user_strings_amiga.h │ ├── uae_cpu │ │ ├── fpu │ │ │ ├── fpu_x86.cpp │ │ │ └── fpu.h │ │ └── compiler │ │ │ └── flags_x86.h │ ├── include │ │ ├── g_resource.h │ │ ├── my_sdl.h │ │ ├── pict.h │ │ ├── slot_rom.h │ │ ├── rsrc_patches.h │ │ ├── version.h │ │ ├── clip.h │ │ ├── xpram.h │ │ ├── adb.h │ │ ├── prefs_editor.h │ │ ├── ether_defs.h │ │ └── disk.h │ ├── Unix │ │ ├── strlcpy.h │ │ ├── ui │ │ │ └── basiliskii.gresource.xml │ │ ├── fbdevices │ │ ├── m4 │ │ │ └── egrep.m4 │ │ ├── .gitignore │ │ ├── sshpty.h │ │ ├── Darwin │ │ │ ├── pagezero.c │ │ │ └── testlmem.sh │ │ ├── Linux │ │ │ ├── NetDriver │ │ │ │ └── Makefile │ │ │ └── runtool.c │ │ ├── semaphore.h │ │ ├── disk_unix.h │ │ └── Irix │ │ │ └── unaligned.c │ ├── SDL │ │ └── SDLMain.h │ ├── BeOS │ │ ├── about_window.h │ │ ├── SheepDriver │ │ │ └── sheep_driver.h │ │ └── user_strings_beos.h │ ├── dummy │ │ ├── prefs_editor_dummy.cpp │ │ └── user_strings_dummy.cpp │ └── xpram.cpp ├── README └── ChangeLog ├── cxmon ├── bootstrap ├── utils │ ├── suspend.bin │ └── README.md ├── AUTHORS ├── src │ ├── disass │ │ ├── Makefile.am │ │ ├── opintl.h │ │ └── bfd.h │ ├── Makefile.am │ ├── mon_lowmem.h │ └── mon_disass.h ├── .gitignore ├── Makefile.am ├── cxmon.spec.in ├── ChangeLog └── configure.ac └── .gitignore /SheepShaver/src/SDL: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/SDL -------------------------------------------------------------------------------- /SheepShaver/src/slirp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/slirp -------------------------------------------------------------------------------- /BasiliskII/src/uae_cpu_2021/memory.cpp: -------------------------------------------------------------------------------- 1 | // dummy 2 | -------------------------------------------------------------------------------- /SheepShaver/src/adb.cpp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/adb.cpp -------------------------------------------------------------------------------- /SheepShaver/src/disk.cpp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/disk.cpp -------------------------------------------------------------------------------- /SheepShaver/src/pict.c: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/pict.c -------------------------------------------------------------------------------- /SheepShaver/src/scsi.cpp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/scsi.cpp -------------------------------------------------------------------------------- /SheepShaver/src/sony.cpp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/sony.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/m4: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/m4 -------------------------------------------------------------------------------- /SheepShaver/src/audio.cpp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/audio.cpp -------------------------------------------------------------------------------- /SheepShaver/src/bincue.cpp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/bincue.cpp -------------------------------------------------------------------------------- /SheepShaver/src/cdrom.cpp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/cdrom.cpp -------------------------------------------------------------------------------- /SheepShaver/src/extfs.cpp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/extfs.cpp -------------------------------------------------------------------------------- /SheepShaver/src/prefs.cpp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/prefs.cpp -------------------------------------------------------------------------------- /SheepShaver/src/timer.cpp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/timer.cpp -------------------------------------------------------------------------------- /SheepShaver/src/xpram.cpp: -------------------------------------------------------------------------------- 1 | ../../BasiliskII/src/xpram.cpp -------------------------------------------------------------------------------- /cxmon/bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | autoreconf --install 3 | -------------------------------------------------------------------------------- /SheepShaver/src/Unix/cpr.sh: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/cpr.sh -------------------------------------------------------------------------------- /SheepShaver/src/Unix/rpc.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/rpc.h -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/SheepNet: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/BeOS/SheepNet -------------------------------------------------------------------------------- /SheepShaver/src/Unix/keycodes: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/keycodes -------------------------------------------------------------------------------- /SheepShaver/src/Unix/ldscripts: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/ldscripts -------------------------------------------------------------------------------- /SheepShaver/src/Unix/sshpty.c: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/sshpty.c -------------------------------------------------------------------------------- /SheepShaver/src/Unix/sshpty.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/sshpty.h -------------------------------------------------------------------------------- /SheepShaver/src/Unix/strlcpy.c: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/strlcpy.c -------------------------------------------------------------------------------- /SheepShaver/src/Unix/strlcpy.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/strlcpy.h -------------------------------------------------------------------------------- /SheepShaver/src/Unix/tunconfig: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/tunconfig -------------------------------------------------------------------------------- /SheepShaver/src/Windows/router: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/router -------------------------------------------------------------------------------- /SheepShaver/src/include/adb.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/adb.h -------------------------------------------------------------------------------- /SheepShaver/src/include/clip.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/clip.h -------------------------------------------------------------------------------- /SheepShaver/src/include/disk.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/disk.h -------------------------------------------------------------------------------- /SheepShaver/src/include/pict.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/pict.h -------------------------------------------------------------------------------- /SheepShaver/src/include/scsi.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/scsi.h -------------------------------------------------------------------------------- /SheepShaver/src/include/sony.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/sony.h -------------------------------------------------------------------------------- /SheepShaver/src/include/sys.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/sys.h -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/SheepDriver: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/BeOS/SheepDriver -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/runtool.c: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/runtool.c -------------------------------------------------------------------------------- /SheepShaver/src/Unix/config.sub: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/config.sub -------------------------------------------------------------------------------- /SheepShaver/src/Unix/disk_unix.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/disk_unix.h -------------------------------------------------------------------------------- /SheepShaver/src/Unix/semaphore.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/semaphore.h -------------------------------------------------------------------------------- /SheepShaver/src/Unix/tinyxml2.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/tinyxml2.h -------------------------------------------------------------------------------- /SheepShaver/src/Windows/b2ether: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/b2ether -------------------------------------------------------------------------------- /SheepShaver/src/Windows/cdenable: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/cdenable -------------------------------------------------------------------------------- /SheepShaver/src/include/audio.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/audio.h -------------------------------------------------------------------------------- /SheepShaver/src/include/bincue.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/bincue.h -------------------------------------------------------------------------------- /SheepShaver/src/include/cdrom.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/cdrom.h -------------------------------------------------------------------------------- /SheepShaver/src/include/debug.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/debug.h -------------------------------------------------------------------------------- /SheepShaver/src/include/extfs.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/extfs.h -------------------------------------------------------------------------------- /SheepShaver/src/include/my_sdl.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/my_sdl.h -------------------------------------------------------------------------------- /SheepShaver/src/include/prefs.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/prefs.h -------------------------------------------------------------------------------- /SheepShaver/src/include/serial.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/serial.h -------------------------------------------------------------------------------- /SheepShaver/src/include/timer.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/timer.h -------------------------------------------------------------------------------- /SheepShaver/src/include/xpram.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/xpram.h -------------------------------------------------------------------------------- /BasiliskII/src/slirp/VERSION_: -------------------------------------------------------------------------------- 1 | qemu 0.9.0 (2007/02/05) 2 | Plus 64 Bits Patchs -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/audio_beos.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/BeOS/audio_beos.cpp -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/extfs_beos.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/BeOS/extfs_beos.cpp -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/scsi_beos.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/BeOS/scsi_beos.cpp -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/sys_beos.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/BeOS/sys_beos.cpp -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/timer_beos.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/BeOS/timer_beos.cpp -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/xpram_beos.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/BeOS/xpram_beos.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/clip_unix.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/clip_unix.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/config.guess: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/config.guess -------------------------------------------------------------------------------- /SheepShaver/src/Unix/ether_unix.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/ether_unix.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/extfs_unix.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/extfs_unix.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/posix_sem.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/posix_sem.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/prefs_unix.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/prefs_unix.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/rpc_unix.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/rpc_unix.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/sys_unix.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/sys_unix.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/timer_unix.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/timer_unix.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/tinyxml2.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/tinyxml2.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/vhd_unix.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/vhd_unix.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/xpram_unix.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/xpram_unix.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Windows/cd_defs.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/cd_defs.h -------------------------------------------------------------------------------- /SheepShaver/src/Windows/posix_emu.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/posix_emu.h -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/serial_beos.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/BeOS/serial_beos.cpp -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/.finf/ethernet.ndrv: -------------------------------------------------------------------------------- 1 | shlb???? -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/AudioBackEnd.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/AudioBackEnd.h -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/AudioDevice.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/AudioDevice.h -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/autorelease.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/autorelease.h -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/sys_darwin.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/sys_darwin.cpp -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/utils_macosx.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/utils_macosx.h -------------------------------------------------------------------------------- /SheepShaver/src/Unix/Linux/NetDriver: -------------------------------------------------------------------------------- 1 | ../../../../BasiliskII/src/Unix/Linux/NetDriver -------------------------------------------------------------------------------- /SheepShaver/src/Unix/color_scheme.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/color_scheme.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/serial_unix.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/serial_unix.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Windows/posix_emu.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/posix_emu.cpp -------------------------------------------------------------------------------- /SheepShaver/src/dummy/audio_dummy.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/dummy/audio_dummy.cpp -------------------------------------------------------------------------------- /SheepShaver/src/dummy/clip_dummy.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/dummy/clip_dummy.cpp -------------------------------------------------------------------------------- /SheepShaver/src/dummy/scsi_dummy.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/dummy/scsi_dummy.cpp -------------------------------------------------------------------------------- /SheepShaver/src/include/audio_defs.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/audio_defs.h -------------------------------------------------------------------------------- /SheepShaver/src/include/extfs_defs.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/extfs_defs.h -------------------------------------------------------------------------------- /SheepShaver/src/include/serial_defs.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/serial_defs.h -------------------------------------------------------------------------------- /BasiliskII/src/Windows/BasiliskII.rc: -------------------------------------------------------------------------------- 1 | BasiliskII ICON PRELOAD "BasiliskII.ico" 2 | 3 | -------------------------------------------------------------------------------- /SheepShaver/src/CrossPlatform/sigsegv.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/CrossPlatform/sigsegv.h -------------------------------------------------------------------------------- /SheepShaver/src/CrossPlatform/vm_alloc.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/CrossPlatform/vm_alloc.h -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/AudioBackEnd.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/AudioBackEnd.cpp -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/AudioDevice.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/AudioDevice.cpp -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/MacOSX_sound_if.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/MacOSX_sound_if.h -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/audio_macosx.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/audio_macosx.cpp -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/clip_macosx.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/clip_macosx.cpp -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/clip_macosx64.mm: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/clip_macosx64.mm -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/etherhelpertool.c: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/etherhelpertool.c -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/extfs_macosx.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/extfs_macosx.cpp -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/utils_macosx.mm: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/utils_macosx.mm -------------------------------------------------------------------------------- /SheepShaver/src/Unix/Darwin/.gitignore: -------------------------------------------------------------------------------- 1 | # Darwin built utils 2 | lowmem 3 | pagezero 4 | -------------------------------------------------------------------------------- /SheepShaver/src/Unix/Darwin/pagezero.c: -------------------------------------------------------------------------------- 1 | ../../../../BasiliskII/src/Unix/Darwin/pagezero.c -------------------------------------------------------------------------------- /SheepShaver/src/Unix/audio_oss_esd.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/audio_oss_esd.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Windows/SheepShaver.rc: -------------------------------------------------------------------------------- 1 | SheepShaver ICON PRELOAD "SheepShaver.ico" 2 | -------------------------------------------------------------------------------- /SheepShaver/src/Windows/clip_windows.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/clip_windows.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Windows/ether_windows.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/ether_windows.h -------------------------------------------------------------------------------- /SheepShaver/src/Windows/sys_windows.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/sys_windows.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Windows/util_windows.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/util_windows.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Windows/util_windows.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/util_windows.h -------------------------------------------------------------------------------- /SheepShaver/src/dummy/serial_dummy.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/dummy/serial_dummy.cpp -------------------------------------------------------------------------------- /SheepShaver/src/include/color_scheme.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/color_scheme.h -------------------------------------------------------------------------------- /SheepShaver/src/include/prefs_editor.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/include/prefs_editor.h -------------------------------------------------------------------------------- /BasiliskII/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/README -------------------------------------------------------------------------------- /SheepShaver/src/CrossPlatform/video_blit.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/CrossPlatform/video_blit.h -------------------------------------------------------------------------------- /SheepShaver/src/CrossPlatform/video_vosf.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/CrossPlatform/video_vosf.h -------------------------------------------------------------------------------- /SheepShaver/src/CrossPlatform/vm_alloc.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/CrossPlatform/vm_alloc.cpp -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/MacOSX_sound_if.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/MacOSX_sound_if.cpp -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/macos_util_macosx.h: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/MacOSX/macos_util_macosx.h -------------------------------------------------------------------------------- /SheepShaver/src/Unix/Darwin/mkstandalone: -------------------------------------------------------------------------------- 1 | ../../../../BasiliskII/src/Unix/Darwin/mkstandalone -------------------------------------------------------------------------------- /SheepShaver/src/Unix/Darwin/testlmem.sh: -------------------------------------------------------------------------------- 1 | ../../../../BasiliskII/src/Unix/Darwin/testlmem.sh -------------------------------------------------------------------------------- /SheepShaver/src/Unix/Irix/audio_irix.cpp: -------------------------------------------------------------------------------- 1 | ../../../../BasiliskII/src/Unix/Irix/audio_irix.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/Linux/scsi_linux.cpp: -------------------------------------------------------------------------------- 1 | ../../../../BasiliskII/src/Unix/Linux/scsi_linux.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/disk_sparsebundle.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/disk_sparsebundle.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/prefs_editor_gtk3.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Unix/prefs_editor_gtk3.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Unix/ui/help-overlay.ui: -------------------------------------------------------------------------------- 1 | ../../../../BasiliskII/src/Unix/ui/help-overlay.ui -------------------------------------------------------------------------------- /SheepShaver/src/Unix/ui/prefs-editor.ui: -------------------------------------------------------------------------------- 1 | ../../../../BasiliskII/src/Unix/ui/prefs-editor.ui -------------------------------------------------------------------------------- /SheepShaver/src/Windows/ether_windows.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/ether_windows.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Windows/extfs_windows.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/extfs_windows.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Windows/serial_windows.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/serial_windows.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Windows/timer_windows.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/timer_windows.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Windows/xpram_windows.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/xpram_windows.cpp -------------------------------------------------------------------------------- /BasiliskII/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/ChangeLog -------------------------------------------------------------------------------- /BasiliskII/src/Windows/BasiliskIIGUI.rc: -------------------------------------------------------------------------------- 1 | BasiliskIIGUI ICON PRELOAD "BasiliskIIGUI.ico" 2 | 3 | -------------------------------------------------------------------------------- /SheepShaver/src/CrossPlatform/video_blit.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/CrossPlatform/video_blit.cpp -------------------------------------------------------------------------------- /SheepShaver/src/Windows/prefs_editor_gtk.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/Windows/prefs_editor_gtk.cpp -------------------------------------------------------------------------------- /SheepShaver/src/dummy/prefs_editor_dummy.cpp: -------------------------------------------------------------------------------- 1 | ../../../BasiliskII/src/dummy/prefs_editor_dummy.cpp -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/Ethernet Data/.finf/CWSettingsMacOS.stg: -------------------------------------------------------------------------------- 1 | TDATCWIE -------------------------------------------------------------------------------- /SheepShaver/src/Windows/SheepShaverGUI.rc: -------------------------------------------------------------------------------- 1 | SheepShaverGUI ICON PRELOAD "SheepShaverGUI.ico" 2 | 3 | -------------------------------------------------------------------------------- /cxmon/utils/suspend.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/cxmon/utils/suspend.bin -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/Ethernet Data/.finf/PPC Debug MacOS Toolbox: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/Ethernet Data/.finf/PPC Final MacOS Toolbox: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SheepShaver/doc/BeOS/icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/BeOS/icon.gif -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/src/cpu/jit/amd64/jit-target-cache.hpp: -------------------------------------------------------------------------------- 1 | #include "cpu/jit/dummy/jit-target-cache.hpp" 2 | -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/src/cpu/jit/x86/jit-target-cache.hpp: -------------------------------------------------------------------------------- 1 | #include "cpu/jit/dummy/jit-target-cache.hpp" 2 | -------------------------------------------------------------------------------- /BasiliskII/src/slirp/tcp_subr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/slirp/tcp_subr.c -------------------------------------------------------------------------------- /SheepShaver/doc/BeOS/memory.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/BeOS/memory.gif -------------------------------------------------------------------------------- /SheepShaver/doc/BeOS/serial.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/BeOS/serial.gif -------------------------------------------------------------------------------- /SheepShaver/doc/Linux/icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/Linux/icon.gif -------------------------------------------------------------------------------- /SheepShaver/doc/BeOS/graphics.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/BeOS/graphics.gif -------------------------------------------------------------------------------- /SheepShaver/doc/BeOS/iconsmall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/BeOS/iconsmall.gif -------------------------------------------------------------------------------- /SheepShaver/doc/BeOS/volumes.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/BeOS/volumes.gif -------------------------------------------------------------------------------- /SheepShaver/doc/Linux/graphics.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/Linux/graphics.gif -------------------------------------------------------------------------------- /SheepShaver/doc/Linux/memory.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/Linux/memory.gif -------------------------------------------------------------------------------- /SheepShaver/doc/Linux/serial.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/Linux/serial.gif -------------------------------------------------------------------------------- /SheepShaver/doc/Linux/volumes.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/Linux/volumes.gif -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/AudioBackEnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/AudioBackEnd.h -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/AudioDevice.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/AudioDevice.h -------------------------------------------------------------------------------- /SheepShaver/doc/Linux/iconsmall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/doc/Linux/iconsmall.gif -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/Ethernet Data/PPC Debug MacOS Toolbox/.finf/TargetDataMacOS.tdt: -------------------------------------------------------------------------------- 1 | TDATCWIE -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/Ethernet Data/PPC Final MacOS Toolbox/.finf/TargetDataMacOS.tdt: -------------------------------------------------------------------------------- 1 | TDATCWIE -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/SheepVM.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/MacOSX/SheepVM.icns -------------------------------------------------------------------------------- /SheepShaver/src/include/macos_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/include/macos_util.h -------------------------------------------------------------------------------- /BasiliskII/src/AmigaOS/BasiliskII.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/AmigaOS/BasiliskII.info -------------------------------------------------------------------------------- /BasiliskII/src/AmigaOS/main_amiga.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/AmigaOS/main_amiga.cpp -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/AudioBackEnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/AudioBackEnd.cpp -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/AudioDevice.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/AudioDevice.cpp -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/BasiliskII.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/BasiliskII.icns -------------------------------------------------------------------------------- /BasiliskII/src/Windows/BasiliskII.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/Windows/BasiliskII.ico -------------------------------------------------------------------------------- /BasiliskII/src/uae_cpu/fpu/fpu_x86.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/uae_cpu/fpu/fpu_x86.cpp -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/SheepShaver.rsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/BeOS/SheepShaver.rsrc -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/SheepShaver.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/MacOSX/SheepShaver.icns -------------------------------------------------------------------------------- /SheepShaver/src/Windows/SheepShaver.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/Windows/SheepShaver.ico -------------------------------------------------------------------------------- /BasiliskII/src/Windows/BasiliskIIGUI.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/Windows/BasiliskIIGUI.ico -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/SaveROM/SaveROM.rsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/BeOS/SaveROM/SaveROM.rsrc -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/Ethernet.mcp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/EthernetDriver/Ethernet.mcp -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/ethernet.ndrv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/EthernetDriver/ethernet.ndrv -------------------------------------------------------------------------------- /SheepShaver/src/Windows/SheepShaverGUI.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/Windows/SheepShaverGUI.ico -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/debug.h: -------------------------------------------------------------------------------- 1 | #ifndef DEBUG_H #define DEBUG_H #define D(x) #include #define bug printf #endif /* DEBUG_H */ -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/.finf/Ethernet.mcp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/EthernetDriver/.finf/Ethernet.mcp -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/.rsrc/ethernet.ndrv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/EthernetDriver/.rsrc/ethernet.ndrv -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/objects.nib -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/resetH.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/resetH.tiff -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/resetN.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/resetN.tiff -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/Collapsed.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/Collapsed.tiff -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/Expanded.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/Expanded.tiff -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/shutdownH.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/shutdownH.tiff -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/shutdownN.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/shutdownN.tiff -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/Ethernet Data/CWSettingsMacOS.stg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/EthernetDriver/Ethernet Data/CWSettingsMacOS.stg -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/MacOSX/Launcher/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/PrefsEditor/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/MacOSX/PrefsEditor/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /BasiliskII/src/slirp/ctl.h: -------------------------------------------------------------------------------- 1 | #define CTL_CMD 0 2 | #define CTL_EXEC 1 3 | #define CTL_ALIAS 2 4 | #define CTL_DNS 3 5 | 6 | #define CTL_SPECIAL "10.0.2.0" 7 | #define CTL_LOCAL "10.0.2.15" 8 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode build files 2 | build/* 3 | SheepShaver.xcodeproj/*.mode1v3 4 | SheepShaver.xcodeproj/*.pbxuser 5 | 6 | # autoconf build generated Info.plist file 7 | Info.plist 8 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/English.lproj/MainMenu.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/MacOSX/Launcher/English.lproj/MainMenu.nib/keyedobjects.nib -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/MainMenu.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/MainMenu.nib/objects.nib -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/objects.nib -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/resetH.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/resetH.tiff -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/resetN.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/resetN.tiff -------------------------------------------------------------------------------- /BasiliskII/src/include/g_resource.h: -------------------------------------------------------------------------------- 1 | #ifndef __RESOURCE_basiliskii_H__ 2 | #define __RESOURCE_basiliskii_H__ 3 | 4 | #include 5 | 6 | extern GResource *basiliskii_get_resource (void); 7 | #endif 8 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/English.lproj/VMListWindow.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/MacOSX/Launcher/English.lproj/VMListWindow.nib/keyedobjects.nib -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/PrefsEditor/English.lproj/MainMenu.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/MacOSX/PrefsEditor/English.lproj/MainMenu.nib/keyedobjects.nib -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/Expanded.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/Expanded.tiff -------------------------------------------------------------------------------- /BasiliskII/src/include/my_sdl.h: -------------------------------------------------------------------------------- 1 | #include "config.h" 2 | 3 | #if defined(USE_SDL3) 4 | #include 5 | #elif defined(USE_SDL2) 6 | #include 7 | #else 8 | #include 9 | #endif 10 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/PrefsEditor/standalone_nib/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/MacOSX/PrefsEditor/standalone_nib/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /SheepShaver/src/include/g_resource.h: -------------------------------------------------------------------------------- 1 | #ifndef __RESOURCE_sheepshaver_H__ 2 | #define __RESOURCE_sheepshaver_H__ 3 | 4 | #include 5 | 6 | extern GResource *sheepshaver_get_resource (void); 7 | #endif 8 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/Collapsed.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/Collapsed.tiff -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/shutdownH.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/shutdownH.tiff -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/shutdownN.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/shutdownN.tiff -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/English.lproj/VMSettingsWindow.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/MacOSX/Launcher/English.lproj/VMSettingsWindow.nib/keyedobjects.nib -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/Ethernet Data/PPC Debug MacOS Toolbox/TargetDataMacOS.tdt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/EthernetDriver/Ethernet Data/PPC Debug MacOS Toolbox/TargetDataMacOS.tdt -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/Ethernet Data/PPC Final MacOS Toolbox/TargetDataMacOS.tdt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/EthernetDriver/Ethernet Data/PPC Final MacOS Toolbox/TargetDataMacOS.tdt -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | NSHumanReadableCopyright = "Copyright © 1997-2017 Christian Bauer et al. Freely distributable under the terms of the GNU GPL."; 4 | -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/Ethernet Data/PPC Debug MacOS Toolbox/.rsrc/TargetDataMacOS.tdt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/EthernetDriver/Ethernet Data/PPC Debug MacOS Toolbox/.rsrc/TargetDataMacOS.tdt -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/Ethernet Data/PPC Final MacOS Toolbox/.rsrc/TargetDataMacOS.tdt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/EthernetDriver/Ethernet Data/PPC Final MacOS Toolbox/.rsrc/TargetDataMacOS.tdt -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/PrefsEditor/standalone_nib/English.lproj/MainMenu.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanjitalk755/macemu/HEAD/SheepShaver/src/MacOSX/PrefsEditor/standalone_nib/English.lproj/MainMenu.nib/keyedobjects.nib -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/BasiliskII.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/ether_windows.h: -------------------------------------------------------------------------------- 1 | #ifndef _ETHER_WINDOWS_H_ 2 | #define _ETHER_WINDOWS_H_ 3 | 4 | void enqueue_packet( const uint8 *buf, int sz ); 5 | 6 | #ifdef SHEEPSHAVER 7 | extern uint8 ether_addr[6]; 8 | #endif 9 | 10 | #endif // _ETHER_WINDOWS_H_ 11 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | CFBundleName = "BasiliskII"; 4 | NSHumanReadableCopyright = "Copyright 1997-2001 Christian Bauer et al., Freely distributable under the terms of the GNU GPL"; 5 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/BasiliskII_MSVC_PostBuild.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set SOLUTION_DIR=%~1 3 | set PLATFORM=%~2 4 | set CONFIGURATION=%~3 5 | set CONFIGURATION=%CONFIGURATION: JIT=% 6 | set OUT_DIR=%~4 7 | xcopy /y "%SOLUTION_DIR%%PLATFORM%\%CONFIGURATION%\SDL2.dll" "%OUT_DIR%" 8 | -------------------------------------------------------------------------------- /cxmon/AUTHORS: -------------------------------------------------------------------------------- 1 | 'mon' was written by 2 | Christian Bauer 3 | Marc Hellwig 4 | 5 | with contributions from 6 | Gwenolé Beauchesne (64-bit support and PPC extensions) 7 | 8 | The 680x0 and 80x86 disassemblers are taken from GNU binutils. 9 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/strlcpy.h: -------------------------------------------------------------------------------- 1 | /* $Id$ */ 2 | 3 | #ifndef _BSD_STRLCPY_H 4 | #define _BSD_STRLCPY_H 5 | 6 | #include "config.h" 7 | #ifndef HAVE_STRLCPY 8 | #include 9 | size_t strlcpy(char *dst, const char *src, size_t siz); 10 | #endif /* !HAVE_STRLCPY */ 11 | 12 | #endif /* _BSD_STRLCPY_H */ 13 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/b2ether/nt5/MAKEFILE: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new source 3 | # file to this component. This file merely indirects to the real make file 4 | # that is shared by all the driver components of the Windows NT DDK 5 | # 6 | 7 | !INCLUDE $(NTMAKEENV)\makefile.def 8 | -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/SaveROM/README: -------------------------------------------------------------------------------- 1 | "SaveROM" is a program that allows you to save the ROM of 2 | a PowerMac running under BeOS to a file. 3 | 4 | 1. Copy "sheep_driver" to ~/config/add-ons/kernel/drivers. 5 | 2. Double-click the "SaveROM" icon. 6 | 7 | This will create a file called "ROM" which should be 4MB 8 | in size. 9 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/b2ether/driver/MAKEFILE: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new source 3 | # file to this component. This file merely indirects to the real make file 4 | # that is shared by all the driver components of the Windows NT DDK 5 | # 6 | 7 | !INCLUDE $(NTMAKEENV)\makefile.def 8 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/SheepShaver.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.cs.allow-unsigned-executable-memory 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /cxmon/src/disass/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | noinst_LIBRARIES = libdisass.a 4 | libdisass_a_SOURCES = ansidecl.h bfd.h dis-asm.h floatformat.c floatformat.h \ 5 | i386-dis.c m68k-dis.c m68k-opc.c m68k.h opintl.h 6 | 7 | # Extra includes, for 8 | CPPFLAGS = -I$(srcdir)/.. 9 | -------------------------------------------------------------------------------- /SheepShaver/src/Unix/dyngen_precompiled/ppc-dyngen-ops.hpp: -------------------------------------------------------------------------------- 1 | #if defined(__x86_64__) 2 | #ifdef __APPLE__ 3 | #include "ppc-dyngen-ops-x86_64_macos.hpp" 4 | #else 5 | #include "ppc-dyngen-ops-x86_64.hpp" 6 | #endif 7 | #elif defined(__i386__) 8 | #include "ppc-dyngen-ops-x86_32.hpp" 9 | #else 10 | #error Unknown platform 11 | #endif 12 | -------------------------------------------------------------------------------- /SheepShaver/src/Unix/dyngen_precompiled/basic-dyngen-ops.hpp: -------------------------------------------------------------------------------- 1 | #if defined(__x86_64__) 2 | #ifdef __APPLE__ 3 | #include "basic-dyngen-ops-x86_64_macos.hpp" 4 | #else 5 | #include "basic-dyngen-ops-x86_64.hpp" 6 | #endif 7 | #elif defined(__i386__) 8 | #include "basic-dyngen-ops-x86_32.hpp" 9 | #else 10 | #error Unknown platform 11 | #endif 12 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/SheepShaver.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/config/config.h: -------------------------------------------------------------------------------- 1 | #if defined(__x86_64__) 2 | #include "config-macosx-x86_64.h" 3 | #elif defined(__i386__) 4 | #include "config-macosx-x86_32.h" 5 | #elif defined(__ppc__) 6 | #include "config-macosx-ppc_32.h" 7 | #elif defined(__aarch64__) 8 | #include "config-macosx-aarch64.h" 9 | #else 10 | #error Unknown platform 11 | #endif 12 | -------------------------------------------------------------------------------- /cxmon/src/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | SUBDIRS = disass 4 | 5 | bin_PROGRAMS = cxmon 6 | cxmon_SOURCES = main.cpp mon.cpp mon.h mon_6502.cpp mon_z80.cpp mon_atraps.h \ 7 | mon_cmd.cpp mon_cmd.h mon_disass.cpp mon_disass.h mon_lowmem.cpp mon_lowmem.h \ 8 | mon_ppc.cpp sysdeps.h 9 | 10 | cxmon_LDADD = disass/libdisass.a 11 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/b2ether/nt5/b2ether.rc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define VER_FILETYPE VFT_DRV 5 | #define VER_FILESUBTYPE VFT2_DRV_NETWORK 6 | #define VER_FILEDESCRIPTION_STR "Basilisk II Protocol Driver" 7 | #define VER_INTERNALNAME_STR "B2ETHER.SYS" 8 | #define VER_ORIGINALFILENAME_STR "B2ETHER.SYS" 9 | 10 | #include "common.ver" 11 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/README: -------------------------------------------------------------------------------- 1 | This is a version of the interface that would allow multiple emulations to 2 | run side-by-side, in different windows. Currently, the uae_cpu engine is not 3 | re-entrant, and some of the Basilisk glue would not allow this, so this will 4 | probably never be used. I will save it here for educational purposes, and just 5 | in case this feature is ever needed. 6 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/ui/basiliskii.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ui/menu.ui 5 | ui/prefs-editor.ui 6 | ui/help-overlay.ui 7 | 8 | 9 | -------------------------------------------------------------------------------- /cxmon/.gitignore: -------------------------------------------------------------------------------- 1 | # Object files 2 | *.o 3 | 4 | # Executables and libraries 5 | src/cxmon 6 | src/disass/libdisass.a 7 | 8 | # Autoconf generated files 9 | .deps 10 | Makefile 11 | Makefile.in 12 | aclocal.m4 13 | autom4te.cache 14 | compile 15 | config.guess 16 | config.h 17 | config.h.in 18 | config.log 19 | config.status 20 | config.sub 21 | configure 22 | cxmon.spec 23 | depcomp 24 | install-sh 25 | missing 26 | stamp-h1 27 | -------------------------------------------------------------------------------- /SheepShaver/src/Unix/ui/sheepshaver.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ui/menu.ui 5 | ui/prefs-editor.ui 6 | ui/help-overlay.ui 7 | 8 | 9 | -------------------------------------------------------------------------------- /BasiliskII/src/SDL/SDLMain.h: -------------------------------------------------------------------------------- 1 | /* SDLMain.m - main entry point for our Cocoa-ized SDL app 2 | Initial Version: Darrell Walisser 3 | Non-NIB-Code & other changes: Max Horn 4 | 5 | Feel free to customize this file to suit your needs 6 | */ 7 | 8 | #ifndef _SDLMain_h_ 9 | #define _SDLMain_h_ 10 | 11 | #import 12 | 13 | @interface SDLMain : NSObject 14 | @end 15 | 16 | #endif /* _SDLMain_h_ */ 17 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/b2ether/driver/SOURCES: -------------------------------------------------------------------------------- 1 | # MYMODE must be set 2 | 3 | TARGETNAME=b2ether 4 | TARGETPATH=$(BASEDIR)\lib 5 | TARGETTYPE=DRIVER 6 | 7 | TARGETLIBS=$(BASEDIR)\lib\*\$(DDKBUILDENV)\ndis.lib 8 | INCLUDES=$(BASEDIR)\inc;$(BASEDIR)\src\network\inc;..\inc 9 | 10 | MSC_WARNING_LEVEL=/W3 /WX /FR /FAcs /D$(MYMODE) 11 | 12 | SOURCES=b2ether.c \ 13 | b2ether_openclose.c \ 14 | b2ether_read.c \ 15 | b2ether_write.c 16 | -------------------------------------------------------------------------------- /cxmon/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | SUBDIRS = src 3 | 4 | # Manpages 5 | man_MANS = cxmon.1 6 | 7 | EXTRA_DIST = cxmon.1 bootstrap 8 | 9 | dist-hook: cxmon.spec 10 | cp cxmon.spec $(distdir) 11 | 12 | # Rule to build tar-gzipped distribution package 13 | $(PACKAGE)-$(VERSION).tar.gz: dist 14 | 15 | # Rule to build RPM distribution package 16 | rpm: $(PACKAGE)-$(VERSION).tar.gz 17 | rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz 18 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/DiskType.h: -------------------------------------------------------------------------------- 1 | // 2 | // DiskType.h 3 | // SheepShaver 4 | // 5 | // Created by maximilian on 01.02.14. 6 | // Copyright 2014 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface DiskType : NSObject { 13 | NSString* _path; 14 | BOOL _isCDROM; 15 | } 16 | 17 | -(NSString*)path; 18 | -(BOOL)isCDROM; 19 | 20 | -(void)setPath:(NSString*)thePath; 21 | -(void)setIsCDROM:(BOOL)cdrom; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/fbdevices: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------------ 2 | # device depth offset for mmap(2) 3 | # ------------------------------------------------------------------------------ 4 | 5 | # Frame buffers known to work 6 | cgsix 8 0x70016000 7 | tcx 8 0x00000000 8 | 9 | # Untested frame buffers 10 | cgthree 8 0x04000000 11 | cgtwo 8 0x00000000 12 | cgfour 8 0x00000000 13 | cgeight 24 0x00000000 14 | tcx 24 0x01000000 15 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/b2ether/nt5/SOURCES: -------------------------------------------------------------------------------- 1 | # MYMODE must be set 2 | 3 | TARGETNAME=b2ether 4 | TARGETPATH=obj 5 | TARGETTYPE=DRIVER 6 | 7 | TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib 8 | C_DEFINES=$(C_DEFINES) -DNDIS50 9 | INCLUDES=$(BASEDIR)\inc;$(BASEDIR)\src\network\inc;..\inc 10 | 11 | MSC_WARNING_LEVEL=/W3 /WX /FR /FAcs /D$(MYMODE) 12 | 13 | SOURCES=b2ether.c \ 14 | b2ether_openclose.c \ 15 | b2ether_read.c \ 16 | b2ether_write.c \ 17 | b2ether.rc 18 | -------------------------------------------------------------------------------- /SheepShaver/doc/Linux/history.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Revision History 4 | 5 | 6 | 7 |

SheepShaver Revision History

8 | 9 |

V2.2 (04-Feb-2002)

10 |
    11 |
  • Integrated code from Basilisk II 12 |
  • Source released under GPL 13 |
14 | 15 |

V2.1 (31-Mar-2001)

16 |
    17 |
  • Initial Linux PPC release 18 |
19 | 20 |
21 |
22 | SheepShaver User's Guide 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/BasiliskII.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $(OutDir) 6 | 7 | 8 | 9 | 10 | 11 | $(ToolsDir) 12 | 13 | 14 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/m4/egrep.m4: -------------------------------------------------------------------------------- 1 | # AC_PROG_EGREP 2 | # ------------- 3 | # This is predefined starting with Autoconf 2.54, so this conditional 4 | # definition can be removed once we require Autoconf 2.54 or later. 5 | m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], 6 | [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], 7 | [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 8 | then ac_cv_prog_egrep='grep -E' 9 | else ac_cv_prog_egrep='egrep' 10 | fi]) 11 | EGREP=$ac_cv_prog_egrep 12 | AC_SUBST([EGREP]) 13 | ])]) 14 | -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/cpu_emulation.h: -------------------------------------------------------------------------------- 1 | #ifndef CPU_EMULATION_H #define CPU_EMULATION_H static inline uint32 ReadMacInt32(uint32 addr) {return *(uint32 *)addr;} static inline uint32 Host2MacAddr(uint8 *addr) {return (uint32)addr;} static inline uint8 *Mac2HostAddr(uint32 addr) {return (uint8 *)addr;} static inline void *Mac_memset(uint32 addr, int c, size_t n) {return memset(Mac2HostAddr(addr), c, n);} static inline void *Mac2Host_memcpy(uint8 *dst, uint32 src, size_t n) {return memcpy(dst,Mac2HostAddr(src),n);} #endif /* CPU_EMULATION */ -------------------------------------------------------------------------------- /BasiliskII/src/Windows/BasiliskII.DebugJIT.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $(ProjectDir)Debug\ 6 | 7 | 8 | 9 | 10 | 11 | $(ToolsDir) 12 | 13 | 14 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/BasiliskII.ReleaseJIT.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $(ProjectDir)Release\ 6 | 7 | 8 | 9 | 10 | 11 | $(ToolsDir) 12 | 13 | 14 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/.gitignore: -------------------------------------------------------------------------------- 1 | # Object files 2 | obj/* 3 | BasiliskII 4 | 5 | # Autotools generated files 6 | Makefile 7 | aclocal.m4 8 | autom4te.cache/* 9 | config.h 10 | config.h.in 11 | config.log 12 | config.status 13 | configure 14 | 15 | # Generated files for CPU emulation 16 | cpudefs.cpp 17 | cpuemu.cpp 18 | cpustbl.cpp 19 | cputbl.h 20 | cpuemu_nf.cpp 21 | cpustbl_nf.cpp 22 | cpufunctbl.cpp 23 | compemu.cpp 24 | compstbl.cpp 25 | comptbl.h 26 | 27 | # Generated GLib resource files 28 | g_resource.cpp 29 | 30 | patches/* 31 | .pc* 32 | -------------------------------------------------------------------------------- /SheepShaver/src/EthernetDriver/sysdeps.h: -------------------------------------------------------------------------------- 1 | #ifndef SYSDEPS_H #define SYSDEPS_H #include #define SIZEOF_VOID_P 4 #define WORDS_BIGENDIAN 1 #define REAL_ADDRESSING 1 /* Define to build the Ethernet driver completly in MacOS space */ #define BUILD_ETHER_FULL_DRIVER 1 #define ntohl(x) ((uint32)(x)) #define ntohs(x) ((uint16)(x)) #define assert(expr) typedef int bool; typedef signed char int8; typedef signed short int16; typedef signed int int32; typedef unsigned char uint8; typedef unsigned short uint16; typedef unsigned int uint32; typedef uint32 uintptr; #endif /* SYSDEPS_H */ -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/PrefsEditor/standalone_nib/English.lproj/MainMenu.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 629 7 | IBOldestOS 8 | 5 9 | IBOpenObjects 10 | 11 | IBSystem Version 12 | 9D34 13 | targetFramework 14 | IBCocoaFramework 15 | 16 | 17 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Credits.html: -------------------------------------------------------------------------------- 1 | Basilisk II is an open source, 68k Mac. emulator. 2 |
3 | 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). 4 |
5 | The Official Basilisk II Home Page 6 |
7 |
8 | 9 | MacOS X (native windowing) port 10 |
11 | by Nigel Pearson <nigel@ind.tansu.com.au> 12 |
13 |
14 | SDL2 port 15 |
16 | by David Ludwig <dludwig@pobox.com> 17 |
18 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/MainMenu.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 5 42 473 240 0 41 1024 705 7 | IBMainMenuLocation 8 | 0 702 365 44 0 42 1152 704 9 | IBUserGuides 10 | 11 | About 12 | 13 | guideLocations 14 | 15 | guidesLocked 16 | NO 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 18 42 473 240 0 41 1024 705 7 | IBMainMenuLocation 8 | 0 702 365 44 0 41 1024 705 9 | IBUserGuides 10 | 11 | Window 12 | 13 | guideLocations 14 | 15 | guidesLocked 16 | NO 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/English.lproj/MainMenu.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 677 7 | IBLastKnownRelativeProjectPath 8 | ../SheepShaverLauncher.xcodeproj 9 | IBOldestOS 10 | 4 11 | IBOpenObjects 12 | 13 | IBSystem Version 14 | 9J61 15 | targetFramework 16 | IBCocoaFramework 17 | 18 | 19 | -------------------------------------------------------------------------------- /SheepShaver/src/Unix/.gitignore: -------------------------------------------------------------------------------- 1 | # Object files 2 | obj/* 3 | SheepShaver 4 | 5 | # Autotools generated files 6 | Makefile 7 | aclocal.m4 8 | autom4te.cache/* 9 | config.h 10 | config.h.in 11 | config.log 12 | config.status 13 | configure 14 | 15 | # Generated files for CPU emulation 16 | basic-dyngen-ops.hpp 17 | ppc-dyngen-ops.hpp 18 | ppc-execute-impl.cpp 19 | dyngen 20 | 21 | # Generated files from the Xcode build 22 | basic-dyngen-ops-x86_32.hpp 23 | basic-dyngen-ops-x86_64.hpp 24 | basic-dyngen-ops-x86_64_macos.hpp 25 | ppc-dyngen-ops-x86_32.hpp 26 | ppc-dyngen-ops-x86_64.hpp 27 | ppc-dyngen-ops-x86_64_macos.hpp 28 | 29 | # Generated GLib resource files 30 | g_resource.cpp 31 | -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/CreatePCIDrivers/Makefile: -------------------------------------------------------------------------------- 1 | all: ../../EthernetDriverStub.i ../../VideoDriverStub.i 2 | 3 | clean: 4 | -rm *.o hexconv Ethernet Video 5 | 6 | ../../EthernetDriverStub.i: Ethernet hexconv 7 | hexconv $< $@ 8 | 9 | ../../VideoDriverStub.i: Video hexconv 10 | hexconv $< $@ 11 | 12 | hexconv: hexconv.cpp 13 | mwcc -o hexconv hexconv.cpp 14 | 15 | Ethernet.o: Ethernet.cpp 16 | mwcc -I.. -I../../include -o $@ -c $< 17 | 18 | Video.o: Video.cpp 19 | mwcc -I.. -I../../include -o $@ -c $< 20 | 21 | Ethernet: Ethernet.o 22 | mwldppc -xms -export pragma -nostdentry -nostdlib -o $@ $< 23 | 24 | Video: Video.o 25 | mwldppc -xms -export pragma -nostdentry -nostdlib -o $@ $< 26 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/DiskType.m: -------------------------------------------------------------------------------- 1 | // 2 | // DiskType.m 3 | // SheepShaver 4 | // 5 | // Created by maximilian on 01.02.14. 6 | // Copyright 2014 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import "DiskType.h" 10 | 11 | 12 | @implementation DiskType 13 | -(NSString*)path 14 | { 15 | return _path; 16 | } 17 | -(BOOL)isCDROM 18 | { 19 | return _isCDROM; 20 | } 21 | 22 | -(void)setPath:(NSString*)thePath 23 | { 24 | _path = [thePath copy]; 25 | } 26 | -(void)setIsCDROM:(BOOL)cdrom 27 | { 28 | _isCDROM=cdrom; 29 | } 30 | 31 | -(NSString*)description { 32 | return [NSString stringWithFormat:@"DiskType, path:%@ isCDROM:%hhd", _path, _isCDROM]; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Object files 2 | *.o 3 | 4 | # Backups 5 | *~ 6 | 7 | # Mac OS X metadata 8 | *.DS_Store 9 | 10 | # 11 | # Xcode gitignore settings are from https://github.com/github/gitignore/blob/master/Global/Xcode.gitignore 12 | # 13 | 14 | ## Xcode, Build generated 15 | build/ 16 | DerivedData/ 17 | 18 | ## Xcode, Various settings 19 | *.pbxuser 20 | !default.pbxuser 21 | *.mode1v3 22 | !default.mode1v3 23 | *.mode2v3 24 | !default.mode2v3 25 | *.perspectivev3 26 | !default.perspectivev3 27 | xcuserdata/ 28 | xcschemes/ 29 | project.xcworkspace/ 30 | 31 | ## Xcode, Other 32 | *.moved-aside 33 | *.xccheckout 34 | *.xcscmblueprint 35 | 36 | # 37 | # JetBrains IDE settings 38 | # 39 | *.idea 40 | -------------------------------------------------------------------------------- /SheepShaver/doc/BeOS/acknowledgements.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Acknowledgements 4 | 5 | 6 | 7 |

Acknowledgements

8 | 9 | The following persons/companies deserve special thanks from us as they 10 | made a significant contribution to the development of SheepShaver: 11 | 12 |

13 |

18 | 19 |
20 |
21 | SheepShaver User's Guide 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /SheepShaver/doc/Linux/acknowledgements.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Acknowledgements 4 | 5 | 6 | 7 |

Acknowledgements

8 | 9 | The following persons/companies deserve special thanks from us as they 10 | made a significant contribution to the development of SheepShaver: 11 | 12 |

13 |

18 | 19 |
20 |
21 | SheepShaver User's Guide 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/PrefsEditor/English.lproj/MainMenu.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 135 142 356 240 0 0 1680 1028 7 | IBEditorPositions 8 | 9 | 29 10 | 132 352 305 44 0 0 1680 1028 11 | 342 12 | 715 652 249 104 0 0 1680 1028 13 | 14 | IBFramework Version 15 | 446.1 16 | IBOpenObjects 17 | 18 | 29 19 | 20 | IBSystem Version 21 | 8R2218 22 | 23 | 24 | -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/CreatePCIDrivers/hexconv.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char **argv) 4 | { 5 | if (argc != 3) { 6 | printf("Usage: %s \n", argv[0]); 7 | return 0; 8 | } 9 | 10 | FILE *fin = fopen(argv[1], "rb"); 11 | if (fin == NULL) { 12 | printf("Can't open '%s' for reading\n", argv[1]); 13 | return 0; 14 | } 15 | 16 | FILE *fout = fopen(argv[2], "w"); 17 | if (fout == NULL) { 18 | printf("Can't open '%s' for writing\n", argv[2]); 19 | return 0; 20 | } 21 | 22 | unsigned char buf[16]; 23 | while (!feof(fin)) { 24 | fprintf(fout, "\t"); 25 | int actual = fread(buf, 1, 16, fin); 26 | for (int i=0; i 28 | .br 29 | Marc Hellwig 30 | -------------------------------------------------------------------------------- /BasiliskII/src/slirp/tftp.h: -------------------------------------------------------------------------------- 1 | /* tftp defines */ 2 | 3 | #define TFTP_SESSIONS_MAX 3 4 | 5 | #define TFTP_SERVER 69 6 | 7 | #define TFTP_RRQ 1 8 | #define TFTP_WRQ 2 9 | #define TFTP_DATA 3 10 | #define TFTP_ACK 4 11 | #define TFTP_ERROR 5 12 | 13 | #define TFTP_FILENAME_MAX 512 14 | 15 | #ifdef PRAGMA_PACK_SUPPORTED 16 | #pragma pack(1) 17 | #endif 18 | 19 | struct tftp_t { 20 | struct ip ip; 21 | struct udphdr udp; 22 | u_int16_t tp_op; 23 | union { 24 | struct { 25 | u_int16_t tp_block_nr; 26 | u_int8_t tp_buf[512]; 27 | } tp_data; 28 | struct { 29 | u_int16_t tp_error_code; 30 | u_int8_t tp_msg[512]; 31 | } tp_error; 32 | u_int8_t tp_buf[512 + 2]; 33 | } x; 34 | } PACKED__; 35 | 36 | #ifdef PRAGMA_PACK_SUPPORTED 37 | #pragma pack(0) 38 | #endif 39 | 40 | void tftp_input(struct mbuf *m); 41 | -------------------------------------------------------------------------------- /BasiliskII/src/include/pict.h: -------------------------------------------------------------------------------- 1 | /* 2 | * pict.h - convert an image to PICT. 3 | * 4 | * Currently creates a bitmap PICT resource; vector graphics are not preserved. 5 | * 6 | * By Charles Srstka. 7 | * 8 | * Public Domain. Do with it as you wish. 9 | * 10 | */ 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | /* 17 | * ConvertRGBAToPICT 18 | * 19 | * Converts image data, in 32-bit RGBA format, to PICT. 20 | * Calling it first with NULL for the buffer will cause it to return a suggested buffer size. 21 | * Returns the number of bytes actually written, or negative if something went wrong. 22 | * However, this usually just means the buffer wasn't large enough. 23 | */ 24 | 25 | ssize_t ConvertRGBAToPICT(uint8_t *buf, unsigned long bufSize, uint8_t *rgbaPixels, uint16_t width, uint16_t height); 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | -------------------------------------------------------------------------------- /SheepShaver/doc/BeOS/installation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Installation 4 | 5 | 6 | 7 |

Installation

8 | 9 | You need BeOS/PowerPC R4. R3 or earlier versions will not work. 10 | 11 |
    12 |
  1. Unpack the SheepShaver package (if you are reading this, you probably have already done this) 13 |
  2. On a BeBox, you need a copy of a PCI PowerMac ROM (4MB) in a file 14 | called "ROM" in the same folder SheepShaver is in (but you can select a different 15 | location in the settings window). SheepShaver can also use the "Mac OS ROM" file 16 | that comes with MacOS 8.5/8.6 (look in the System Folder on your MacOS CD). In 17 | order to legally use SheepShaver, you have to own the ROM the image file was taken from. 18 |
19 | 20 |
21 |
22 | SheepShaver User's Guide 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /SheepShaver/src/Unix/mkinstalldirs: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # mkinstalldirs --- make directory hierarchy 3 | # Author: Noah Friedman 4 | # Created: 1993-05-16 5 | # Public domain 6 | 7 | # $Id$ 8 | 9 | errstatus=0 10 | 11 | for file 12 | do 13 | set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` 14 | shift 15 | 16 | pathcomp= 17 | for d 18 | do 19 | pathcomp="$pathcomp$d" 20 | case "$pathcomp" in 21 | -* ) pathcomp=./$pathcomp ;; 22 | esac 23 | 24 | if test ! -d "$pathcomp"; then 25 | echo "mkdir $pathcomp" 26 | 27 | mkdir "$pathcomp" || lasterr=$? 28 | 29 | if test ! -d "$pathcomp"; then 30 | errstatus=$lasterr 31 | fi 32 | fi 33 | 34 | pathcomp="$pathcomp/" 35 | done 36 | done 37 | 38 | exit $errstatus 39 | 40 | # mkinstalldirs ends here 41 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Makefile.gencpu: -------------------------------------------------------------------------------- 1 | SRC = $(PROJECT_DIR)/../uae_cpu 2 | DST = $(BUILT_PRODUCTS_DIR)/gencpu_output 3 | VPATH = $(SRC) $(SRC)/compiler 4 | CFLAGS = -DUSE_XCODE=1 -DUSE_JIT_FPU -I. -I../uae_cpu -I../UNIX 5 | CXXFLAGS = -stdlib=libc++ $(CFLAGS) 6 | 7 | all: $(DST)/gencpu $(DST)/gencomp 8 | cd $(DST); ./gencpu; ./gencomp 9 | 10 | $(DST)/gencpu: $(addprefix $(DST)/, defs68k.o readcpu.o gencpu.o) 11 | $(CXX) $(CXXFLAGS) -o $@ $^ 12 | 13 | $(DST)/gencomp: $(addprefix $(DST)/, defs68k.o readcpu.o gencomp.o) 14 | $(CXX) $(CXXFLAGS) -o $@ $^ 15 | 16 | $(DST)/%.o: %.c 17 | $(CC) $(CFLAGS) -o $@ -c $< 18 | 19 | $(DST)/%.o: %.cpp 20 | $(CXX) $(CXXFLAGS) -o $@ -c $< 21 | 22 | $(DST)/defs68k.c: $(DST)/build68k 23 | $< < $(SRC)/table68k > $@ 24 | 25 | $(DST)/build68k: $(SRC)/build68k.c 26 | mkdir -p $(DST) 27 | $(CC) $(CFLAGS) -o $@ $< 28 | 29 | clean:; rm -fr $(DST) 30 | -------------------------------------------------------------------------------- /SheepShaver/doc/BeOS/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | The SheepShaver User's Guide 4 | 5 | 6 | 7 |

SheepShaver V2.2 Installation and User's Guide (BeOS)

8 | 9 |

Contents

10 | 11 | 22 | 23 |
24 |
25 | SheepShaver User's Guide 26 |
27 | 28 | 29 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Makefile.gencpu_2021: -------------------------------------------------------------------------------- 1 | SRC = $(PROJECT_DIR)/../uae_cpu_2021 2 | DST = $(BUILT_PRODUCTS_DIR)/gencpu_output_2021 3 | VPATH = $(SRC) $(SRC)/compiler 4 | CFLAGS = -DUSE_XCODE=1 -DUSE_JIT_FPU -I. -I../uae_cpu_2021 -I../UNIX 5 | CXXFLAGS = -stdlib=libc++ $(CFLAGS) 6 | 7 | all: $(DST)/gencpu $(DST)/gencomp 8 | cd $(DST); ./gencpu; ./gencomp 9 | 10 | $(DST)/gencpu: $(addprefix $(DST)/, defs68k.o readcpu.o gencpu.o) 11 | $(CXX) $(CXXFLAGS) -o $@ $^ 12 | 13 | $(DST)/gencomp: $(addprefix $(DST)/, defs68k.o readcpu.o gencomp.o) 14 | $(CXX) $(CXXFLAGS) -o $@ $^ 15 | 16 | $(DST)/%.o: %.c 17 | $(CC) $(CFLAGS) -o $@ -c $< 18 | 19 | $(DST)/%.o: %.cpp 20 | $(CXX) $(CXXFLAGS) -o $@ -c $< 21 | 22 | $(DST)/defs68k.c: $(DST)/build68k 23 | $< < $(SRC)/table68k > $@ 24 | 25 | $(DST)/build68k: $(SRC)/build68k.c 26 | mkdir -p $(DST) 27 | $(CC) $(CFLAGS) -o $@ $< 28 | 29 | clean:; rm -fr $(DST) 30 | -------------------------------------------------------------------------------- /SheepShaver/doc/Linux/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | The SheepShaver User's Guide 4 | 5 | 6 | 7 |

SheepShaver V2.2 Installation and User's Guide (Linux)

8 | 9 |

Contents

10 | 11 | 22 | 23 |
24 |
25 | SheepShaver User's Guide 26 |
27 | 28 | 29 | -------------------------------------------------------------------------------- /SheepShaver/doc/Linux/installation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Installation 4 | 5 | 6 | 7 |

Installation

8 | 9 | You need at least a 2.2.x kernel, glibc 2.1 and GTK+ 1.2. Earlier versions will not work. 10 | 11 |
    12 |
  1. Unpack the SheepShaver archive (if you are reading this, you probably have already done this) 13 |
  2. Even when running on a PowerMac, you need a copy of a PCI PowerMac ROM (4MB) in 14 | a file called "ROM" in the same folder SheepShaver is in (but you can select a different location 15 | in the settings window). SheepShaver can also use the "Mac OS ROM" file that comes with 16 | MacOS 8.5/8.6 (look in the System Folder on your MacOS CD). In order to legally use SheepShaver, 17 | you have to own the ROM the image file was taken from. 18 |
19 | 20 |
21 |
22 | SheepShaver User's Guide 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/English.lproj/MainMenu.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | FirstResponder 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSObject 14 | 15 | 16 | ACTIONS 17 | 18 | openVirtualMachinesList 19 | id 20 | 21 | CLASS 22 | AppController 23 | LANGUAGE 24 | ObjC 25 | SUPERCLASS 26 | NSObject 27 | 28 | 29 | IBVersion 30 | 1 31 | 32 | 33 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/PrefsEditor/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0.1 23 | NSMainNibFile 24 | MainMenu 25 | NSPrincipalClass 26 | NSApplication 27 | 28 | 29 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | SheepShaver.icns 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | SheepShaver 17 | CFBundlePackageType 18 | APPL 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 2.3 23 | NSMainNibFile 24 | MainMenu 25 | NSPrincipalClass 26 | NSApplication 27 | 28 | 29 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/English.lproj/MainMenu.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 3 11 521 240 0 4 1152 742 7 | IBEditorPositions 8 | 9 | 29 10 | 3 256 365 44 0 0 1152 746 11 | 12 | IBFramework Version 13 | 349.0 14 | IBLockedObjects 15 | 16 | 288 17 | 18 | IBOpenObjects 19 | 20 | 29 21 | 813 22 | 23 | IBSystem Version 24 | 7D24 25 | IBUserGuides 26 | 27 | VolumeSize 28 | 29 | guideLocations 30 | 31 | guidesLocked 32 | NO 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /BasiliskII/src/slirp/sbuf.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1995 Danny Gasparovski. 3 | * 4 | * Please read the file COPYRIGHT for the 5 | * terms and conditions of the copyright. 6 | */ 7 | 8 | #ifndef _SBUF_H_ 9 | #define _SBUF_H_ 10 | 11 | #define sbflush(sb) sbdrop((sb),(sb)->sb_cc) 12 | #define sbspace(sb) ((sb)->sb_datalen - (sb)->sb_cc) 13 | 14 | struct sbuf { 15 | u_int sb_cc; /* actual chars in buffer */ 16 | u_int sb_datalen; /* Length of data */ 17 | char *sb_wptr; /* write pointer. points to where the next 18 | * bytes should be written in the sbuf */ 19 | char *sb_rptr; /* read pointer. points to where the next 20 | * byte should be read from the sbuf */ 21 | char *sb_data; /* Actual data */ 22 | }; 23 | 24 | void sbfree _P((struct sbuf *)); 25 | void sbdrop _P((struct sbuf *, int)); 26 | void sbreserve _P((struct sbuf *, int)); 27 | void sbappend _P((struct socket *, struct mbuf *)); 28 | void sbappendsb _P((struct sbuf *, struct mbuf *)); 29 | void sbcopy _P((struct sbuf *, int, int, char *)); 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/build68k.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /SheepShaver/src/include/about_window.h: -------------------------------------------------------------------------------- 1 | /* 2 | * about_window.h - "About" window 3 | * 4 | * SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef ABOUT_WINDOW_H 22 | #define ABOUT_WINDOW_H 23 | 24 | extern void OpenAboutWindow(void); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /BasiliskII/src/BeOS/about_window.h: -------------------------------------------------------------------------------- 1 | /* 2 | * about_window.h - "About" window 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef ABOUT_WINDOW_H 22 | #define ABOUT_WINDOW_H 23 | 24 | // Display "About" window 25 | extern void ShowAboutWindow(void); 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/sshpty.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: sshpty.h,v 1.4 2002/03/04 17:27:39 stevesk Exp $ */ 2 | 3 | /* 4 | * Author: Tatu Ylonen 5 | * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland 6 | * All rights reserved 7 | * Functions for allocating a pseudo-terminal and making it the controlling 8 | * tty. 9 | * 10 | * As far as I am concerned, the code I have written for this software 11 | * can be used freely for any purpose. Any derived versions of this 12 | * software must be clearly marked as such, and if the derived work is 13 | * incompatible with the protocol description in the RFC file, it must be 14 | * called by a name other than "ssh" or "Secure Shell". 15 | */ 16 | 17 | #ifndef SSHPTY_H 18 | #define SSHPTY_H 19 | 20 | int pty_allocate(int *, int *, char *, int); 21 | void pty_release(const char *); 22 | void pty_make_controlling_tty(int *, const char *); 23 | void pty_change_window_size(int, int, int, int, int); 24 | void pty_setowner(struct passwd *, const char *); 25 | 26 | #endif /* SSHPTY_H */ 27 | -------------------------------------------------------------------------------- /BasiliskII/src/include/slot_rom.h: -------------------------------------------------------------------------------- 1 | /* 2 | * slot_rom.h - Slot declaration ROM 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef SLOT_ROM_H 22 | #define SLOT_ROM_H 23 | 24 | extern bool InstallSlotROM(void); 25 | extern void ChecksumSlotROM(void); 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /SheepShaver/src/include/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * version.h - Version information 3 | * 4 | * SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef VERSION_H 22 | #define VERSION_H 23 | 24 | const int VERSION_MAJOR = 2; 25 | const int VERSION_MINOR = 5; 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /BasiliskII/src/include/rsrc_patches.h: -------------------------------------------------------------------------------- 1 | /* 2 | * rsrc_patches.h - Resource patches 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef RSRC_PATCHES_H 22 | #define RSRC_PATCHES_H 23 | 24 | extern void CheckLoad(uint32 type, int16 id, uint8 *p, uint32 size); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/main.m: -------------------------------------------------------------------------------- 1 | /* 2 | * main.m - Cocoa SheepShaver launcher for Mac OS X 3 | * 4 | * Copyright (C) 2006-2009 Alexei Svitkine 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #import 22 | 23 | int main(int argc, char *argv[]) 24 | { 25 | return NSApplicationMain(argc, (const char **) argv); 26 | } 27 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/PrefsEditor/main.m: -------------------------------------------------------------------------------- 1 | /* 2 | * main.m - Preferences editing in Cocoa on Mac OS X 3 | * 4 | * Copyright (C) 2006-2007 Alexei Svitkine 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #import 22 | 23 | int main(int argc, char *argv[]) 24 | { 25 | return NSApplicationMain(argc, (const char **) argv); 26 | } 27 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/b2ether/multiopt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * multiopt.h 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * Windows platform specific code copyright (C) Lauri Pesonen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | enum { 24 | ETHER_MULTICAST_MAC, 25 | ETHER_MULTICAST_ALL, 26 | ETHER_MULTICAST_PROMISCUOUS 27 | }; 28 | -------------------------------------------------------------------------------- /BasiliskII/src/include/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * version.h - Version information 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef VERSION_H 22 | #define VERSION_H 23 | 24 | const int VERSION_MAJOR = 1; 25 | const int VERSION_MINOR = 1; 26 | 27 | #define VERSION_STRING "Basilisk II V1.0 SDL2" 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /SheepShaver/src/Unix/about_window_unix.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * about_window_unix.cpp - "About" window, Unix implementation 3 | * 4 | * SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #include "about_window.h" 22 | 23 | 24 | /* 25 | * Open "About" window 26 | */ 27 | 28 | void OpenAboutWindow(void) 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/include/basic-plugin.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * basic-plugin.hpp - Basic plugin definition 3 | * 4 | * Kheperix (C) 2003 Gwenole Beauchesne 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef BASIC_PLUGIN_H 22 | #define BASIC_PLUGIN_H 23 | 24 | struct basic_plugin 25 | { 26 | virtual ~basic_plugin() { } 27 | }; 28 | 29 | #endif /* BASIC_PLUGIN_H */ 30 | -------------------------------------------------------------------------------- /cxmon/utils/README.md: -------------------------------------------------------------------------------- 1 | # What 2 | suspend.bin is a MacBinary file which should be unpacked and run in M68k Macintosh only. It runs emul_op `0x7138` and trigger BasiliskII into cxmon so that you can add break points there. 3 | 4 | # How 5 | 1. You must build Basilisk II `--with-mon=YES` options. 6 | 1. Copy suspend.bin into Macintosh guest OS. 7 | 1. Unpack it with MacBinary. 8 | 1. Run the program when you want to add break points. 9 | 1. Once you are in cxmon, type `h` and you can see the new break point commands. 10 | 1. Once you are done, type `x` to return back to emulation. 11 | 12 | # Break point commands 13 | 14 | ```bash 15 | ba [address] Add a break point 16 | br [breakpoints#] Remove a break point. If # is 0, remove all break points. 17 | bd [breakpoints#] Disable a break point. If # is 0, disable all break points. 18 | be [breakpoints#] Enable a break point. If # is 0, enable all break points. 19 | bi List all break points 20 | bs "file" Save all break points to a file 21 | bl "file" Load break points from a file 22 | ``` 23 | -------------------------------------------------------------------------------- /SheepShaver/src/include/name_registry.h: -------------------------------------------------------------------------------- 1 | /* 2 | * name_registry.h - Name Registry handling 3 | * 4 | * SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef NAME_REGISTRY_H 22 | #define NAME_REGISTRY_H 23 | 24 | extern void DoPatchNameRegistry(void); 25 | extern void PatchNameRegistry(void); 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /SheepShaver/src/Windows/about_window_windows.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * about_window_windows.cpp - "About" window, Windows implementation 3 | * 4 | * SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #include "about_window.h" 22 | 23 | 24 | /* 25 | * Open "About" window 26 | */ 27 | 28 | void OpenAboutWindow(void) 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/src/mathlib/ieeefp.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * ieeefp.cpp - Access to FPU environment 3 | * 4 | * Kheperix (C) 2003-2005 Gwenole Beauchesne 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #include "sysdeps.h" 22 | 23 | #ifndef HAVE_FENV_H 24 | #include "mathlib/ieeefp.hpp" 25 | #if defined(__i386__) 26 | #include "mathlib/ieeefp-i386.cpp" 27 | #endif 28 | #endif 29 | 30 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/router/arp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * arp.h - ip router 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * Windows platform specific code copyright (C) Lauri Pesonen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #ifndef _ARP_H_ 24 | #define _ARP_H_ 25 | 26 | bool write_arp( arp_t *req, int len ); 27 | 28 | #endif // _ARP_H_ 29 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/AppController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * AppController.h - Cocoa SheepShaver launcher for Mac OS X 3 | * 4 | * Copyright (C) 2009 Alexei Svitkine 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #import 22 | 23 | @interface AppController : NSObject { 24 | } 25 | 26 | - (void) awakeFromNib; 27 | 28 | - (IBAction) openVirtualMachinesList: (id) sender; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/router/dump.h: -------------------------------------------------------------------------------- 1 | /* 2 | * dump.h - ip router 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * Windows platform specific code copyright (C) Lauri Pesonen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #ifndef _DUMP_H_ 24 | #define _DUMP_H_ 25 | 26 | #define DEBUG 0 27 | 28 | void dump_bytes( uint8 *packet, int length ); 29 | 30 | #endif // _DUMP_H_ 31 | -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/src/cpu/jit/dummy/jit-target-cache.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * jit-target-cache.hpp - Target specific code to invalidate cache 3 | * 4 | * Kheperix (C) 2003-2005 Gwenole Beauchesne 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef JIT_TARGET_CACHE_H 22 | #define JIT_TARGET_CACHE_H 23 | 24 | static inline void flush_icache_range(unsigned long, unsigned long) 25 | { 26 | } 27 | 28 | #endif /* JIT_TARGET_CACHE_H */ 29 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/router/tcp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * tcp.h - ip router 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * Windows platform specific code copyright (C) Lauri Pesonen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #ifndef _TCP_H_ 24 | #define _TCP_H_ 25 | 26 | void write_tcp( tcp_t *tcp, int len ); 27 | 28 | void init_tcp(); 29 | void final_tcp(); 30 | 31 | #endif // _TCP_H_ 32 | -------------------------------------------------------------------------------- /SheepShaver/src/dummy/prefs_dummy.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * prefs_dummy.cpp - Dummy implementation of prefs_init() and prefs_exit(). 3 | * 4 | * Copyright (C) 2007 Alexei Svitkine 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #include "sysdeps.h" 22 | 23 | /* 24 | * Initialization 25 | */ 26 | 27 | void prefs_init(void) 28 | { 29 | } 30 | 31 | /* 32 | * Exit Deinitialization 33 | */ 34 | 35 | void prefs_exit(void) 36 | { 37 | } 38 | 39 | -------------------------------------------------------------------------------- /cxmon/cxmon.spec.in: -------------------------------------------------------------------------------- 1 | %define name @PACKAGE@ 2 | %define version @VERSION@ 3 | %define release 1 4 | 5 | Summary: Command-line file manipulation tool and disassembler 6 | Name: %{name} 7 | Version: %{version} 8 | Release: %{release} 9 | License: GPL 10 | Group: Utilities/File 11 | Source0: %{name}-%{version}.tar.gz 12 | URL: http://cxmon.cebix.net/ 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 14 | Prefix: %{_prefix} 15 | 16 | %description 17 | cxmon is an interactive command-driven file manipulation tool that is 18 | inspired by the "Amiga Monitor" by Timo Rossi. It has commands and features 19 | similar to a machine code monitor/debugger, but it lacks any functions for 20 | running/tracing code. There are, however, built-in PowerPC, 680x0, 80x86, 21 | x86-64, 6502 and Z80 disassemblers and special support for disassembling 22 | MacOS code. 23 | 24 | %prep 25 | %setup -q 26 | 27 | %build 28 | %configure 29 | make 30 | 31 | %install 32 | rm -rf ${RPM_BUILD_ROOT} 33 | %makeinstall 34 | 35 | %clean 36 | rm -rf ${RPM_BUILD_ROOT} 37 | 38 | %files 39 | %defattr(-,root,root) 40 | %doc AUTHORS ChangeLog COPYING README 41 | %{_bindir}/* 42 | %{_mandir}/man1/* 43 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/Darwin/pagezero.c: -------------------------------------------------------------------------------- 1 | /* 2 | * pagezero.c - test to see if low memory globals can be accessed 3 | * 4 | * Copyright (c) 2003 Michael Z. Sliczniak 5 | * 6 | * Basilisk II (C) 1997-2003 Christian Bauer 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | int 24 | main(int argc, const char *argv[]) 25 | { 26 | volatile char *pagezero = (void *)0; 27 | 28 | pagezero[0x1234] = pagezero[0x123]; 29 | 30 | return (0); 31 | } 32 | -------------------------------------------------------------------------------- /cxmon/src/mon_lowmem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * mon_lowmem.h - MacOS low memory globals definitions 3 | * 4 | * cxmon (C) 1997-2004 Christian Bauer, Marc Hellwig 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef MON_LOWMEM_H 22 | #define MON_LOWMEM_H 23 | 24 | struct lowmem_info { 25 | const char *name; 26 | uint16 addr; 27 | }; 28 | 29 | // Array of low memory globals in ascending order 30 | extern const lowmem_info lowmem[]; 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /BasiliskII/src/include/clip.h: -------------------------------------------------------------------------------- 1 | /* 2 | * clip.h - Clipboard handling 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef CLIP_H 22 | #define CLIP_H 23 | 24 | extern void ClipInit(void); 25 | extern void ClipExit(void); 26 | 27 | extern void ZeroScrap(); 28 | extern void PutScrap(uint32 type, void *scrap, int32 length); 29 | extern void GetScrap(void **handle, uint32 type, int32 offset); 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | BasiliskII 9 | CFBundleGetInfoString 10 | Basilisk II version 1.0, Copyright © 1997-2017 Christian Bauer et al. SDL2 port 11 | CFBundleIconFile 12 | BasiliskII.icns 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | BasiliskII 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | Basilisk II 1.0, SDL2 port 23 | CFBundleSignature 24 | ???? 25 | NSHelpFile 26 | README.txt 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | Controller 31 | 32 | 33 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/main_macosx.h: -------------------------------------------------------------------------------- 1 | /* 2 | * main_macosx.h - Prototypes for Mac OS X general definitions 3 | * 4 | * $Id$ 5 | * 6 | * Basilisk II (C) 1997-2008 Christian Bauer 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | bool InitEmulator (); 24 | void QuitEmuNoExit(); 25 | 26 | 27 | extern void ErrorAlert (const char *text); 28 | extern void WarningAlert(const char *text); 29 | extern bool ChoiceAlert (const char *text, const char *pos, const char *neg); 30 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "mac", 5 | "size" : "16x16", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "mac", 10 | "size" : "16x16", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "mac", 15 | "size" : "32x32", 16 | "scale" : "1x" 17 | }, 18 | { 19 | "idiom" : "mac", 20 | "size" : "32x32", 21 | "scale" : "2x" 22 | }, 23 | { 24 | "idiom" : "mac", 25 | "size" : "128x128", 26 | "scale" : "1x" 27 | }, 28 | { 29 | "idiom" : "mac", 30 | "size" : "128x128", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "idiom" : "mac", 35 | "size" : "256x256", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "mac", 40 | "size" : "256x256", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "mac", 45 | "size" : "512x512", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "mac", 50 | "size" : "512x512", 51 | "scale" : "2x" 52 | } 53 | ], 54 | "info" : { 55 | "version" : 1, 56 | "author" : "xcode" 57 | } 58 | } -------------------------------------------------------------------------------- /SheepShaver/src/include/rsrc_patches.h: -------------------------------------------------------------------------------- 1 | /* 2 | * rsrc_patches.h - Resource patches 3 | * 4 | * SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef RSRC_PATCHES_H 22 | #define RSRC_PATCHES_H 23 | 24 | extern void CheckLoad(uint32 type, int16 id, uint16 *p, uint32 size); 25 | extern void CheckLoad(uint32 type, const char *name, uint16 *p, uint32 size); 26 | extern void PatchNativeResourceManager(void); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/classes.nib: -------------------------------------------------------------------------------- 1 | { 2 | IBClasses = ( 3 | { 4 | ACTIONS = {NewEmulator = id; ShowAbout = id; pauseAll = id; terminateAll = id; }; 5 | CLASS = Controller; 6 | LANGUAGE = ObjC; 7 | OUTLETS = {myEmulator = id; }; 8 | SUPERCLASS = NSObject; 9 | }, 10 | { 11 | ACTIONS = { 12 | Interrupt = id; 13 | PowerKey = id; 14 | Restart = id; 15 | Resume = id; 16 | Snapshot = id; 17 | SpeedChange = id; 18 | Suspend = id; 19 | Terminate = id; 20 | ToggleState = id; 21 | ZapPRAM = id; 22 | }; 23 | CLASS = Emulator; 24 | LANGUAGE = ObjC; 25 | OUTLETS = {barberPole = id; runOrPause = id; screen = id; speed = id; win = id; }; 26 | SUPERCLASS = NSObject; 27 | }, 28 | {CLASS = EmulatorView; LANGUAGE = ObjC; SUPERCLASS = NSView; }, 29 | {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; } 30 | ); 31 | IBVersion = 1; 32 | } -------------------------------------------------------------------------------- /cxmon/src/disass/opintl.h: -------------------------------------------------------------------------------- 1 | /* opintl.h - opcodes specific header for gettext code. 2 | Copyright (C) 1998 Free Software Foundation, Inc. 3 | 4 | Written by Tom Tromey 5 | 6 | This file is part of the opcodes library used by GAS and the GNU binutils. 7 | 8 | You should have received a copy of the GNU General Public License 9 | along with GAS; see the file COPYING. If not, write to the Free 10 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA 11 | 02111-1307, USA. */ 12 | 13 | #ifdef ENABLE_NLS 14 | # include 15 | # define _(String) dgettext (PACKAGE, String) 16 | # ifdef gettext_noop 17 | # define N_(String) gettext_noop (String) 18 | # else 19 | # define N_(String) (String) 20 | # endif 21 | #else 22 | /* Stubs that do something close enough. */ 23 | # define textdomain(String) (String) 24 | # define gettext(String) (String) 25 | # define dgettext(Domain,Message) (Message) 26 | # define dcgettext(Domain,Message,Type) (Message) 27 | # define bindtextdomain(Domain,Directory) (Domain) 28 | # define _(String) (String) 29 | # define N_(String) (String) 30 | /* In this case we don't care about the value. */ 31 | # ifndef LC_MESSAGES 32 | # define LC_MESSAGES 0 33 | # endif 34 | #endif 35 | -------------------------------------------------------------------------------- /BasiliskII/src/dummy/prefs_editor_dummy.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * prefs_editor_dummy.cpp - Preferences editor, dummy implementation 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #include "sysdeps.h" 22 | #include "prefs.h" 23 | #include "prefs_editor.h" 24 | #include "user_strings.h" 25 | 26 | 27 | /* 28 | * Show preferences editor 29 | * Returns true when user clicked on "Start", false otherwise 30 | */ 31 | 32 | bool PrefsEditor(void) 33 | { 34 | return true; 35 | } 36 | -------------------------------------------------------------------------------- /BasiliskII/src/BeOS/SheepDriver/sheep_driver.h: -------------------------------------------------------------------------------- 1 | /* 2 | * sheep_driver.h - Low memory and ROM access driver for SheepShaver and 3 | * Basilisk II on PowerPC systems 4 | * 5 | * SheepShaver (C) 1997-2008 Marc Hellwig and Christian Bauer 6 | * Basilisk II (C) 1997-2008 Christian Bauer 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #ifndef SHEEP_DRIVER_H 24 | #define SHEEP_DRIVER_H 25 | 26 | #include 27 | 28 | enum { 29 | SHEEP_UP = B_DEVICE_OP_CODES_END + 1, 30 | SHEEP_DOWN 31 | }; 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /cxmon/ChangeLog: -------------------------------------------------------------------------------- 1 | V3.2 - 64-bit fixes to 680x0 disassembler, added AltiVec instructions to PPC 2 | disassembler, fixes to Z80 disassembler (hl->ix/iy and relative jumps) 3 | V3.1 - Make LowMem globals as predefined variables, fix 64-bit support, enable 4 | x86-64 disassembler with "d8664" command, removed input line length 5 | restrictions 6 | V3.0 - Replaced 680x0 and 80x86 disassemblers with the ones from GNU binutils, 7 | added symbolic display of MacOS low memory globals to PPC disassembler, 8 | MacOS features in PPC disassembler are controlled by "-m" argument, 9 | real memory mode is entered by "-r" argument, extended 8080 disassembler 10 | to Z80, name changed from "mon" to "cxmon" 11 | V2.2 - Switched to autoconf/automake, fixed some minor bugs in the PPC 12 | disassembler, commands made modular, added binary dump (b) command 13 | V2.1 - Compiled for BeOS R4, opens Terminal window when started from Tracker, 14 | implemented 8080 disassembler, included Unix makefile 15 | V2.0 - Unified PPC and x86 release 16 | V1.5 - Non-interactive mode, real mode 17 | V1.4 - Implemented 6502 and 680x0 disassemblers 18 | V1.3 - Now uses libreadline 19 | Disassembler: prints SPR names instead of numbers, fixed bugs 20 | V1.0 - Initial release 21 | -------------------------------------------------------------------------------- /BasiliskII/src/BeOS/user_strings_beos.h: -------------------------------------------------------------------------------- 1 | /* 2 | * user_strings_beos.h - BeOS-specific localizable strings 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef USER_STRINGS_BEOS_H 22 | #define USER_STRINGS_BEOS_H 23 | 24 | enum { 25 | STR_NO_SHEEP_DRIVER_ERR = 10000, 26 | STR_SHEEP_UP_ERR, 27 | STR_NO_KERNEL_DATA_ERR, 28 | STR_NO_NET_ADDON_WARN, 29 | STR_NET_CONFIG_MODIFY_WARN, 30 | STR_NET_ADDON_INIT_FAILED, 31 | STR_NET_ADDON_CLONE_FAILED, 32 | STR_VIDEO_FAILED 33 | }; 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /BasiliskII/src/slirp/libslirp.h: -------------------------------------------------------------------------------- 1 | #ifndef _LIBSLIRP_H 2 | #define _LIBSLIRP_H 3 | 4 | #ifdef _WIN32 5 | #ifdef __MINGW32__ 6 | #if _WIN32_WINNT < 0x501 7 | #undef _WIN32_WINNT 8 | #define _WIN32_WINNT 0x501 9 | #endif 10 | #endif 11 | #include 12 | #ifdef __MINGW32__ 13 | #include 14 | #endif 15 | int inet_aton(const char *cp, struct in_addr *ia); 16 | #else 17 | #include 18 | #include 19 | #endif 20 | 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | 25 | int slirp_init(void); 26 | 27 | int slirp_select_fill(int *pnfds, 28 | fd_set *readfds, fd_set *writefds, fd_set *xfds); 29 | 30 | void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds); 31 | 32 | void slirp_input(const uint8 *pkt, int pkt_len); 33 | 34 | /* you must provide the following functions: */ 35 | int slirp_can_output(void); 36 | void slirp_output(const uint8 *pkt, int pkt_len); 37 | 38 | int slirp_redir(int is_udp, int host_port, 39 | struct in_addr guest_addr, int guest_port); 40 | int slirp_add_exec(int do_pty, const char *args, int addr_low_byte, 41 | int guest_port); 42 | 43 | extern const char *tftp_prefix; 44 | extern char slirp_hostname[33]; 45 | 46 | #ifdef __cplusplus 47 | } 48 | #endif 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /cxmon/src/mon_disass.h: -------------------------------------------------------------------------------- 1 | /* 2 | * mon_disass.h - Disassemblers 3 | * 4 | * cxmon (C) 1997-2004 Christian Bauer, Marc Hellwig 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef MON_DISASS_H 22 | #define MON_DISASS_H 23 | 24 | extern void disass_ppc(FILE *f, unsigned int adr, unsigned int w); 25 | extern int disass_68k(FILE *f, uint32 adr); 26 | extern int disass_x86(FILE *f, uint32 adr, uint32 bits = 32); 27 | extern int disass_6502(FILE *f, uint32 adr, uint8 op, uint8 lo, uint8 hi); 28 | extern int disass_z80(FILE *f, uint32 adr); 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/Linux/NetDriver/Makefile: -------------------------------------------------------------------------------- 1 | # Linux makefile for sheep_net driver 2 | KERNEL_DIR = /lib/modules/$(shell uname -r) 3 | KERNEL_SOURCE = $(KERNEL_DIR)/build 4 | LV := $(shell test -f $(KERNEL_SOURCE)/Rules.make && echo 24 || echo 26) 5 | MP := $(shell test -f $(KERNEL_SOURCE)/Rules.make && echo "o" || echo "ko") 6 | 7 | ifeq ($(LV),26) 8 | # Kernel 2.6 9 | 10 | KERNEL_DRIVER = $(KERNEL_DIR)/kernel/drivers 11 | obj-m = sheep_net.o 12 | 13 | sheep_net.ko: sheep_net.c 14 | $(MAKE) -C $(KERNEL_SOURCE) M=$$PWD modules 15 | 16 | clean: 17 | $(MAKE) -C $(KERNEL_SOURCE) M=$$PWD clean 18 | 19 | else 20 | # Kernel 2.4 21 | 22 | ## System specific configuration 23 | CPPFLAGS = -I. -I$(KERNEL_SOURCE)/include 24 | CFLAGS = -O2 -Wall -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES 25 | ASFLAGS = 26 | LDFLAGS = 27 | LIBS = 28 | 29 | ## Files 30 | KERNEL_DRIVER = $(KERNEL_DIR) 31 | OBJS = sheep_net.o 32 | 33 | ## Rules 34 | sheep_net.o: sheep_net.c 35 | $(CC) -c $(CPPFLAGS) $(CFLAGS) sheep_net.c 36 | 37 | clean: 38 | -rm $(OBJS) 39 | 40 | dep depend: 41 | makedepend $(CPPFLAGS) -Y *.c 42 | 43 | endif 44 | 45 | dev: 46 | mknod /dev/sheep_net c 10 198 47 | 48 | install: sheep_net.$(MP) 49 | install -d $(KERNEL_DRIVER)/misc 50 | install -m 644 sheep_net.$(MP) $(KERNEL_DRIVER)/misc 51 | depmod -a 52 | 53 | # DO NOT DELETE 54 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/router/udp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * udp.h - ip router 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * Windows platform specific code copyright (C) Lauri Pesonen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #ifndef _UDP_H_ 24 | #define _UDP_H_ 25 | 26 | void write_udp( udp_t *udp, int len ); 27 | 28 | void CALLBACK udp_read_completion( 29 | DWORD error, 30 | DWORD bytes_read, 31 | LPWSAOVERLAPPED lpOverlapped, 32 | DWORD flags 33 | ); 34 | 35 | void init_udp(); 36 | void final_udp(); 37 | 38 | #endif // _UDP_H_ 39 | -------------------------------------------------------------------------------- /cxmon/configure.ac: -------------------------------------------------------------------------------- 1 | dnl Process this file with autoconf to produce a configure script. 2 | dnl Written by Christian Bauer 3 | 4 | AC_PREREQ(2.69) 5 | AC_INIT([cxmon], [3.2], [cb@cebix.net], [cxmon]) 6 | AC_CONFIG_SRCDIR([src/mon.cpp]) 7 | AM_INIT_AUTOMAKE([1.12 foreign]) 8 | 9 | AM_CONFIG_HEADER(config.h) 10 | 11 | dnl Checks for programs. 12 | AC_PROG_CC 13 | AC_PROG_CPP 14 | AC_PROG_CXX 15 | AC_PROG_CXXCPP 16 | AC_PROG_INSTALL 17 | AC_PROG_RANLIB 18 | 19 | dnl Checks for header files. 20 | AC_HEADER_STDC 21 | AC_CHECK_HEADERS(unistd.h readline.h history.h readline/readline.h readline/history.h) 22 | 23 | dnl Checks for typedefs, structures, and compiler characteristics. 24 | AC_CHECK_SIZEOF(short, 2) 25 | AC_CHECK_SIZEOF(int, 4) 26 | AC_CHECK_SIZEOF(long, 4) 27 | AC_CHECK_SIZEOF(long long, 8) 28 | AC_CHECK_SIZEOF(void *, 4) 29 | 30 | dnl Checks for libraries. 31 | AC_SEARCH_LIBS([tgetent], [ncurses termcap termlib terminfo Hcurses curses], [], [ 32 | AC_MSG_ERROR([unable to find the tgetent() function]) 33 | ]) 34 | AC_SEARCH_LIBS([readline], [readline], [], [ 35 | AC_MSG_ERROR([unable to find the readline() function]) 36 | ]) 37 | 38 | dnl Generate Makefile. 39 | AC_OUTPUT([ 40 | Makefile 41 | cxmon.spec 42 | src/Makefile 43 | src/disass/Makefile 44 | ]) 45 | 46 | dnl Print summary. 47 | echo "Configuration done. Now type \"make\"." 48 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/Linux/runtool.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | #define STR_MAX 1024 13 | #define MAX_ARGV 10 14 | 15 | FILE * run_tool(const char *if_name, const char *tool_name) { 16 | char cmd_buffer[STR_MAX] = {0}; 17 | char * const argv[3] = {NULL, NULL, NULL}; 18 | int i; 19 | pid_t pid, waitpid; 20 | int status = 0; 21 | int fds[2]; 22 | char c; 23 | 24 | if(socketpair(PF_LOCAL, SOCK_STREAM, 0, fds) != 0) { 25 | fprintf(stderr, "%s: socketpair() failed: %s\n", 26 | __func__, strerror(errno)); 27 | return NULL; 28 | } 29 | 30 | ((const char**)argv)[0] = tool_name; 31 | ((const char**)argv)[1] = if_name; 32 | 33 | /* Run sub process */ 34 | pid = fork(); 35 | if (pid == 0) { 36 | /* Child process */ 37 | fclose(stdout); 38 | fclose(stdin); 39 | dup2(fds[0], 0); 40 | close(fds[1]); 41 | close(fds[0]); 42 | 43 | if (execve(tool_name, argv, NULL) < 0) { 44 | perror("execve"); 45 | exit(1); 46 | } 47 | } 48 | 49 | 50 | close(fds[0]); 51 | 52 | if(read(fds[1], &c, 1) < 1) { 53 | close(fds[1]); 54 | return NULL; 55 | } 56 | 57 | return fdopen(fds[1], "rw"); 58 | } 59 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/router/icmp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * icmp.h - ip router 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * Windows platform specific code copyright (C) Lauri Pesonen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #ifndef _ICMP_H_ 24 | #define _ICMP_H_ 25 | 26 | void start_icmp_listen(); 27 | void stop_icmp_listen(); 28 | 29 | void write_icmp( icmp_t *icmp, int len ); 30 | 31 | void CALLBACK icmp_read_completion( 32 | DWORD error, 33 | DWORD bytes_read, 34 | LPWSAOVERLAPPED lpOverlapped, 35 | DWORD flags 36 | ); 37 | 38 | #endif // _ICMP_H_ 39 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/b2ether/nt5/NTDDPACK.H: -------------------------------------------------------------------------------- 1 | // #include 2 | 3 | #ifndef __NTDDPACKET 4 | #define __NTDDPACKET 1 5 | 6 | // #include 7 | 8 | #define MAX_LINK_NAME_LENGTH 124 9 | 10 | #pragma pack(1) 11 | typedef struct _PACKET_OID_DATA { 12 | ULONG Oid; 13 | ULONG Length; 14 | UCHAR Data[1]; 15 | } PACKET_OID_DATA, *PPACKET_OID_DATA; 16 | #pragma pack() 17 | 18 | 19 | #define FILE_DEVICE_PROTOCOL 0x8000 20 | 21 | 22 | 23 | #define IOCTL_PROTOCOL_SET_OID CTL_CODE(FILE_DEVICE_PROTOCOL, 0 , METHOD_BUFFERED, FILE_ANY_ACCESS) 24 | #define IOCTL_PROTOCOL_QUERY_OID CTL_CODE(FILE_DEVICE_PROTOCOL, 1 , METHOD_BUFFERED, FILE_ANY_ACCESS) 25 | #define IOCTL_PROTOCOL_RESET CTL_CODE(FILE_DEVICE_PROTOCOL, 2 , METHOD_BUFFERED, FILE_ANY_ACCESS) 26 | #define IOCTL_PROTOCOL_READ CTL_CODE(FILE_DEVICE_PROTOCOL, 3 , METHOD_BUFFERED, FILE_ANY_ACCESS) 27 | #define IOCTL_PROTOCOL_WRITE CTL_CODE(FILE_DEVICE_PROTOCOL, 4 , METHOD_BUFFERED, FILE_ANY_ACCESS) 28 | #define IOCTL_PROTOCOL_MACNAME CTL_CODE(FILE_DEVICE_PROTOCOL, 5 , METHOD_BUFFERED, FILE_ANY_ACCESS) 29 | #define IOCTL_PROTOCOL_SELECT_BY_NAME CTL_CODE(FILE_DEVICE_PROTOCOL, 6 , METHOD_BUFFERED, FILE_ANY_ACCESS) 30 | #define IOCTL_ENUM_ADAPTERS CTL_CODE(FILE_DEVICE_PROTOCOL, 7 , METHOD_BUFFERED, FILE_ANY_ACCESS) 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/b2ether/nt5/b2ether64.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "b2ether64", "b2ether64.vcxproj", "{F7EA62B6-E0EC-4074-8A83-D0CBB1C990B4}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Debug|x64 = Debug|x64 10 | Release|Win32 = Release|Win32 11 | Release|x64 = Release|x64 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {F7EA62B6-E0EC-4074-8A83-D0CBB1C990B4}.Debug|Win32.ActiveCfg = Debug|Win32 15 | {F7EA62B6-E0EC-4074-8A83-D0CBB1C990B4}.Debug|Win32.Build.0 = Debug|Win32 16 | {F7EA62B6-E0EC-4074-8A83-D0CBB1C990B4}.Debug|x64.ActiveCfg = Debug|x64 17 | {F7EA62B6-E0EC-4074-8A83-D0CBB1C990B4}.Debug|x64.Build.0 = Debug|x64 18 | {F7EA62B6-E0EC-4074-8A83-D0CBB1C990B4}.Release|Win32.ActiveCfg = Release|Win32 19 | {F7EA62B6-E0EC-4074-8A83-D0CBB1C990B4}.Release|Win32.Build.0 = Release|Win32 20 | {F7EA62B6-E0EC-4074-8A83-D0CBB1C990B4}.Release|x64.ActiveCfg = Release|x64 21 | {F7EA62B6-E0EC-4074-8A83-D0CBB1C990B4}.Release|x64.Build.0 = Release|x64 22 | EndGlobalSection 23 | GlobalSection(SolutionProperties) = preSolution 24 | HideSolutionNode = FALSE 25 | EndGlobalSection 26 | EndGlobal 27 | -------------------------------------------------------------------------------- /BasiliskII/src/include/xpram.h: -------------------------------------------------------------------------------- 1 | /* 2 | * xpram.h - XPRAM handling 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef XPRAM_H 22 | #define XPRAM_H 23 | 24 | #if POWERPC_ROM 25 | const int XPRAM_SIZE = 8192; 26 | #else 27 | const int XPRAM_SIZE = 256; 28 | #endif 29 | 30 | extern uint8 XPRAM[XPRAM_SIZE]; 31 | 32 | extern void XPRAMInit(const char *vmdir); 33 | extern void XPRAMExit(void); 34 | 35 | // System specific and internal functions/data 36 | extern void LoadXPRAM(const char *vmdir); 37 | extern void SaveXPRAM(void); 38 | extern void ZapPRAM(void); 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /SheepShaver/src/BeOS/user_strings_beos.h: -------------------------------------------------------------------------------- 1 | /* 2 | * user_strings_beos.h - BeOS-specific localizable strings 3 | * 4 | * SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef USER_STRINGS_BEOS_H 22 | #define USER_STRINGS_BEOS_H 23 | 24 | enum { 25 | STR_NO_SHEEP_DRIVER_ERR = 10000, 26 | STR_NO_ROM_AREA_ERR, 27 | STR_SHEEP_UP_ERR, 28 | STR_NO_NET_ADDON_WARN, 29 | STR_NET_CONFIG_MODIFY_WARN, 30 | STR_NET_ADDON_INIT_FAILED, 31 | STR_NET_ADDON_CLONE_FAILED, 32 | STR_NO_SHEEP_MEM_AREA_ERR, 33 | STR_NO_DR_CACHE_AREA_ERR, 34 | STR_NO_DR_EMULATOR_AREA_ERR 35 | }; 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/src/mathlib/mathlib-x86_64.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * mathlib-x86_64.hpp - Math library wrapper, x86-64 specific code 3 | * Code largely derived from GNU libc 4 | * 5 | * Kheperix (C) 2003-2005 Gwenole Beauchesne 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 2 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | #ifndef MATHLIB_X86_64_H 23 | #define MATHLIB_X86_64_H 24 | 25 | // 7.12.9.5 The lrint and llrint functions 26 | #if defined(__GNUC__) 27 | #define mathlib_lrint(x) \ 28 | ({ long int __result; \ 29 | __asm__ __volatile__ ("cvtsd2si %1, %0" : "=r" (__result) : "x" (x)); \ 30 | __result; }) 31 | #endif 32 | 33 | #endif /* MATHLIB_X86_64_H */ 34 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/LauncherPrefix.h: -------------------------------------------------------------------------------- 1 | /* 2 | * LauncherPrefix.h 3 | * 4 | * Copyright (C) 2010 Alexei Svitkine 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef LAUNCHERPREFIX_H 22 | #define LAUNCHERPREFIX_H 23 | 24 | #define CONFIG_H 25 | #define STDC_HEADERS 26 | #define SIZEOF_DOUBLE 8 27 | #define SIZEOF_FLOAT 4 28 | #define SIZEOF_INT 4 29 | #define SIZEOF_LONG_LONG 8 30 | #define SIZEOF_SHORT 2 31 | 32 | #ifdef __LP64__ 33 | #define SIZEOF_VOID_P 8 34 | #define SIZEOF_LONG 8 35 | #else 36 | #define SIZEOF_VOID_P 4 37 | #define SIZEOF_LONG 4 38 | #endif 39 | 40 | #define loff_t off_t 41 | 42 | #endif /* LAUNCHERPREFIX_H */ 43 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/router/mib/interfaces.h: -------------------------------------------------------------------------------- 1 | /* 2 | * intercafes.h - ip router 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * Windows platform specific code copyright (C) Lauri Pesonen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #ifndef _INTERFACES_H_ 24 | #define _INTERFACES_H_ 25 | 26 | // A wrapper to the MibII class. Enumerates all ip interfaces 27 | // currently in this computer. The interface list is not static. 28 | 29 | void init_interfaces(); 30 | void final_interfaces(); 31 | 32 | int get_ip_count(); 33 | uint32 get_ip_by_index( int index ); 34 | 35 | #endif // _INTERFACES_H_ 36 | -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/src/cpu/jit/mips/jit-target-cache.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * jit-target-cache.hpp - Target specific code to invalidate cache 3 | * 4 | * Kheperix (C) 2003-2005 Gwenole Beauchesne 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef JIT_TARGET_CACHE_H 22 | #define JIT_TARGET_CACHE_H 23 | 24 | #if defined __sgi 25 | #include 26 | static inline void flush_icache_range(unsigned long start, unsigned long stop) 27 | { 28 | cacheflush((void *)start, stop - start, BCACHE); 29 | } 30 | #elif defined __GNUC__ 31 | #error "FIXME: implement assembly code for code cache invalidation" 32 | #endif 33 | 34 | #endif /* JIT_TARGET_CACHE_H */ 35 | -------------------------------------------------------------------------------- /BasiliskII/src/include/adb.h: -------------------------------------------------------------------------------- 1 | /* 2 | * adb.h - ADB emulation (mouse/keyboard) 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef ADB_H 22 | #define ADB_H 23 | 24 | extern void ADBInit(void); 25 | extern void ADBExit(void); 26 | 27 | extern void ADBOp(uint8 op, uint8 *data); 28 | 29 | extern void ADBMouseMoved(int x, int y); 30 | extern void ADBMouseDown(int button); 31 | extern void ADBMouseUp(int button); 32 | 33 | extern void ADBKeyDown(int code); 34 | extern void ADBKeyUp(int code); 35 | 36 | extern void ADBInterrupt(void); 37 | 38 | extern void ADBSetRelMouseMode(bool relative); 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/src/cpu/jit/jit-codegen.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * jit-codegen.hpp - Generic code generator 3 | * 4 | * Kheperix (C) 2003-2005 Gwenole Beauchesne 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef JIT_CODEGEN_H 22 | #define JIT_CODEGEN_H 23 | 24 | #include "cpu/jit/jit-cache.hpp" 25 | 26 | #if defined(__i386__) 27 | #include "cpu/jit/x86/jit-target-codegen.hpp" 28 | typedef x86_codegen jit_codegen; 29 | #elif defined(__x86_64__) 30 | #include "cpu/jit/amd64/jit-target-codegen.hpp" 31 | typedef amd64_codegen jit_codegen; 32 | #else 33 | struct jit_codegen 34 | : public basic_jit_cache 35 | { 36 | }; 37 | #endif 38 | 39 | #endif /* JIT_CODEGEN_H */ 40 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/b2ether/inc/ntddpack.h: -------------------------------------------------------------------------------- 1 | // #include 2 | 3 | #ifndef __NTDDPACKET 4 | #define __NTDDPACKET 1 5 | 6 | // #include 7 | 8 | #define MAX_LINK_NAME_LENGTH 124 9 | 10 | #pragma pack(1) 11 | typedef struct _PACKET_OID_DATA { 12 | ULONG Oid; 13 | ULONG Length; 14 | UCHAR Data[1]; 15 | } ATTRIBUTE_PACKED PACKET_OID_DATA, *PPACKET_OID_DATA; 16 | #pragma pack() 17 | 18 | 19 | #define FILE_DEVICE_PROTOCOL 0x8000 20 | 21 | 22 | 23 | #define IOCTL_PROTOCOL_SET_OID CTL_CODE(FILE_DEVICE_PROTOCOL, 0 , METHOD_BUFFERED, FILE_ANY_ACCESS) 24 | #define IOCTL_PROTOCOL_QUERY_OID CTL_CODE(FILE_DEVICE_PROTOCOL, 1 , METHOD_BUFFERED, FILE_ANY_ACCESS) 25 | #define IOCTL_PROTOCOL_RESET CTL_CODE(FILE_DEVICE_PROTOCOL, 2 , METHOD_BUFFERED, FILE_ANY_ACCESS) 26 | #define IOCTL_PROTOCOL_READ CTL_CODE(FILE_DEVICE_PROTOCOL, 3 , METHOD_BUFFERED, FILE_ANY_ACCESS) 27 | #define IOCTL_PROTOCOL_WRITE CTL_CODE(FILE_DEVICE_PROTOCOL, 4 , METHOD_BUFFERED, FILE_ANY_ACCESS) 28 | #define IOCTL_PROTOCOL_MACNAME CTL_CODE(FILE_DEVICE_PROTOCOL, 5 , METHOD_BUFFERED, FILE_ANY_ACCESS) 29 | #define IOCTL_PROTOCOL_SELECT_BY_NAME CTL_CODE(FILE_DEVICE_PROTOCOL, 6 , METHOD_BUFFERED, FILE_ANY_ACCESS) 30 | #define IOCTL_ENUM_ADAPTERS CTL_CODE(FILE_DEVICE_PROTOCOL, 7 , METHOD_BUFFERED, FILE_ANY_ACCESS) 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /SheepShaver/doc/Linux/quickstart.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Quick Start 4 | 5 | 6 | 7 |

Quick Start

8 | 9 | The following is a step-by-step guide that shows you how to get SheepShaver 10 | up and running in the quickest possible way. We assume that you are running 11 | on a PowerMac that already has MacOS installed on a partition of your hard drive 12 | and that you have booted into Linux. 13 | 14 |

15 |

    16 |
  1. Start the "SheepShaver" program. The "SheepShaver Settings" window will appear. 17 |
  2. Click on "Start". SheepShaver will try to detect on which partition MacOS is installed and should then start booting MacOS. 18 |
  3. To quit SheepShaver, select "Shutdown" from the Finder's "Special" menu. 19 |
20 | 21 | When SheepShaver hangs or crashes in fullscreen mode, pressing Ctrl-Esc should 22 | quit it and restore the display. 23 | 24 |

In fullscreen mode, press Ctrl-Tab to suspend SheepShaver and return to the 25 | normal X11 destop. Press space inside the "SheepShaver suspended" window to 26 | reactivate it. 27 | 28 |

One word of caution:

29 | 30 | Volumes which are used by SheepShaver must not also be mounted under Linux 31 | while SheepShaver is running. You will lose data and corrupt the 32 | volume if you do this! 33 | 34 |
35 |
36 | SheepShaver User's Guide 37 |
38 | 39 | 40 | -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/src/cpu/jit/mips/dyngen-target-exec.h: -------------------------------------------------------------------------------- 1 | /* 2 | * dyngen defines for micro operation code 3 | * 4 | * Copyright (c) 2003-2004-2004 Fabrice Bellard 5 | * 6 | * This library is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2 of the License, or (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with this library; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef DYNGEN_TARGET_EXEC_H 22 | #define DYNGEN_TARGET_EXEC_H 23 | 24 | enum { 25 | /* callee save registers */ 26 | #define AREG0 "s0" 27 | AREG0_ID = 16, 28 | 29 | #define AREG1 "s1" 30 | AREG1_ID = 17, 31 | 32 | #define AREG2 "s2" 33 | AREG2_ID = 18, 34 | 35 | #define AREG3 "s3" 36 | AREG3_ID = 19, 37 | 38 | #define AREG4 "s4" 39 | AREG4_ID = 20, 40 | 41 | #define AREG5 "s5" 42 | AREG5_ID = 21, 43 | }; 44 | 45 | #endif /* DYNGEN_TARGET_EXEC_H */ 46 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/utils_macosx.h: -------------------------------------------------------------------------------- 1 | /* 2 | * utils_macosx.h - Mac OS X utility functions. 3 | * 4 | * Copyright (C) 2011 Alexei Svitkine 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef UTILS_MACOSX_H 22 | #define UTILS_MACOSX_H 23 | 24 | #ifdef USE_SDL 25 | #if SDL_VERSION_ATLEAST(2,0,0) 26 | void disable_SDL2_macosx_menu_bar_keyboard_shortcuts(); 27 | bool is_fullscreen_osx(SDL_Window * window); 28 | #endif 29 | #endif 30 | 31 | void set_menu_bar_visible_osx(bool visible); 32 | 33 | void set_current_directory(); 34 | 35 | bool MetalIsAvailable(); 36 | 37 | void make_window_transparent(SDL_Window *window); 38 | void set_mouse_ignore(SDL_Window *window, int flag); 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/semaphore.h: -------------------------------------------------------------------------------- 1 | #ifndef __SEMAPHORE_H 2 | #define __SEMAPHORE_H 3 | 4 | #define SEM_VALUE_MAX 64 5 | 6 | #if defined(c_plusplus) || defined(__cplusplus) 7 | extern "C" { 8 | #endif /* c_plusplus || __cplusplus */ 9 | 10 | /* MacOS X doesn't implement unnamed POSIX semaphores, event though 11 | the libc defines them! */ 12 | #if (defined(__MACH__) && defined(__APPLE__)) 13 | #include 14 | #include 15 | #include 16 | 17 | #define sem_t semaphore_t 18 | #define sem_init(SEM,UNUSED,VALUE) semaphore_create(current_task(), (SEM), SYNC_POLICY_FIFO, (VALUE)) 19 | #define sem_destroy(SEM) semaphore_destroy(current_task(), *(SEM)) 20 | #define sem_wait(SEM) semaphore_wait(*(SEM)) 21 | #define sem_post(SEM) semaphore_signal(*(SEM)) 22 | #else 23 | typedef struct psem { 24 | pthread_mutex_t sem_lock; 25 | int sem_value; 26 | int sem_waiting; 27 | } sem_t; 28 | 29 | int sem_init(sem_t* sem, int pshared, unsigned int value); 30 | int sem_destroy(sem_t* sem); 31 | sem_t sem_open(const char* name, int oflag, ...); 32 | int sem_close(sem_t* sem); 33 | int sem_unlink(const char* name); 34 | int sem_wait(sem_t* sem); 35 | int sem_trywait(sem_t* sem); 36 | int sem_post(sem_t* sem); 37 | int sem_getvalue(sem_t* sem, int* sval); 38 | #endif 39 | 40 | #if defined(c_plusplus) || defined(__cplusplus) 41 | }; 42 | #endif /* c_plusplus || __cplusplus */ 43 | 44 | #endif /* __SEMAPHORE_H */ 45 | -------------------------------------------------------------------------------- /SheepShaver/src/include/rom_patches.h: -------------------------------------------------------------------------------- 1 | /* 2 | * rom_patches.h - ROM patches 3 | * 4 | * SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef ROM_PATCHES_H 22 | #define ROM_PATCHES_H 23 | 24 | // ROM types 25 | enum { 26 | ROMTYPE_TNT, 27 | ROMTYPE_ALCHEMY, 28 | ROMTYPE_ZANZIBAR, 29 | ROMTYPE_GAZELLE, 30 | ROMTYPE_GOSSAMER, 31 | ROMTYPE_NEWWORLD 32 | }; 33 | extern int ROMType; 34 | 35 | extern bool DecodeROM(uint8 *data, uint32 size); 36 | extern bool PatchROM(void); 37 | extern void InstallDrivers(void); 38 | 39 | extern void AddSifter(uint32 type, int16 id); 40 | extern bool FindSifter(uint32 type, int16 id); 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/router/iphelp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * iphelp.h - ip router 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * Windows platform specific code copyright (C) Lauri Pesonen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #ifndef _IPHELP_H_ 24 | #define _IPHELP_H_ 25 | 26 | // Fake ttl exceeded code. 27 | #define WSAETTLEXCEEDED (WSABASEERR + 1999 + 17) 28 | 29 | void error_winsock_2_icmp( int err, ip_t *ip_err, int dlen_err ); 30 | 31 | void make_icmp_checksum( icmp_t *icmp, int len ); 32 | void make_ip4_checksum( ip_t *ip ); 33 | void make_udp_checksum( udp_t *udp ); 34 | void make_tcp_checksum( tcp_t *tcp, int len ); 35 | 36 | #endif // _IPHELP_H_ 37 | -------------------------------------------------------------------------------- /BasiliskII/src/slirp/debug.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1995 Danny Gasparovski. 3 | * 4 | * Please read the file COPYRIGHT for the 5 | * terms and conditions of the copyright. 6 | */ 7 | 8 | #define PRN_STDERR 1 9 | #define PRN_SPRINTF 2 10 | 11 | extern FILE *dfd; 12 | extern FILE *lfd; 13 | extern int dostats; 14 | extern int slirp_debug; 15 | 16 | #define DBG_CALL 0x1 17 | #define DBG_MISC 0x2 18 | #define DBG_ERROR 0x4 19 | #define DEBUG_DEFAULT DBG_CALL|DBG_MISC|DBG_ERROR 20 | 21 | #ifdef DEBUG 22 | #define DEBUG_CALL(x) if (slirp_debug & DBG_CALL) { fprintf(dfd, "%s...\n", x); fflush(dfd); } 23 | #define DEBUG_ARG(x, y) if (slirp_debug & DBG_CALL) { fputc(' ', dfd); fprintf(dfd, x, y); fputc('\n', dfd); fflush(dfd); } 24 | #define DEBUG_ARGS(x) if (slirp_debug & DBG_CALL) { fprintf x ; fflush(dfd); } 25 | #define DEBUG_MISC(x) if (slirp_debug & DBG_MISC) { fprintf x ; fflush(dfd); } 26 | #define DEBUG_ERROR(x) if (slirp_debug & DBG_ERROR) {fprintf x ; fflush(dfd); } 27 | 28 | 29 | #else 30 | 31 | #define DEBUG_CALL(x) 32 | #define DEBUG_ARG(x, y) 33 | #define DEBUG_ARGS(x) 34 | #define DEBUG_MISC(x) 35 | #define DEBUG_ERROR(x) 36 | 37 | #endif 38 | 39 | void debug_init _P((char *, int)); 40 | //void ttystats _P((struct ttys *)); 41 | void allttystats _P((void)); 42 | void ipstats _P((void)); 43 | void vjstats _P((void)); 44 | void tcpstats _P((void)); 45 | void udpstats _P((void)); 46 | void icmpstats _P((void)); 47 | void mbufstats _P((void)); 48 | void sockstats _P((void)); 49 | void slirp_exit _P((int)); 50 | 51 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/gencpu.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | Source Files 26 | 27 | 28 | 29 | 30 | Header Files 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Launcher/AppController.mm: -------------------------------------------------------------------------------- 1 | /* 2 | * AppController.mm - Cocoa SheepShaver launcher for Mac OS X 3 | * 4 | * Copyright (C) 2009 Alexei Svitkine 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #import "AppController.h" 22 | #import "VMListController.h" 23 | 24 | @implementation AppController 25 | 26 | - (void) awakeFromNib 27 | { 28 | [self openVirtualMachinesList:self]; 29 | [NSApp setDelegate:self]; 30 | } 31 | 32 | - (IBAction) openVirtualMachinesList: (id) sender 33 | { 34 | [[VMListController sharedInstance] showWindow:sender]; 35 | } 36 | 37 | - (BOOL) applicationShouldHandleReopen: (NSApplication *) app hasVisibleWindows: (BOOL) hasVisible 38 | { 39 | if (!hasVisible) 40 | [self openVirtualMachinesList:self]; 41 | return YES; 42 | } 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /SheepShaver/src/MacOSX/Info.plist.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDocumentTypes 8 | 9 | 10 | CFBundleTypeExtensions 11 | 12 | sheepvm 13 | 14 | CFBundleTypeIconFile 15 | SheepVM.icns 16 | CFBundleTypeName 17 | SheepShaver VM 18 | CFBundleTypeRole 19 | Editor 20 | LSTypeIsPackage 21 | 22 | 23 | 24 | CFBundleExecutable 25 | SheepShaver 26 | CFBundleIconFile 27 | SheepShaver.icns 28 | CFBundleIdentifier 29 | $(PRODUCT_BUNDLE_IDENTIFIER) 30 | CFBundleInfoDictionaryVersion 31 | 6.0 32 | CFBundlePackageType 33 | APPL 34 | CFBundleShortVersionString 35 | @PACKAGE_VERSION@ 36 | CFBundleSignature 37 | ???? 38 | CFBundleVersion 39 | @PACKAGE_VERSION@ 40 | CSResourcesFileMapped 41 | 42 | LSMinimumSystemVersion 43 | 10.7.0 44 | NSHighResolutionCapable 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/gencomp.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | Source Files 26 | 27 | 28 | 29 | 30 | Header Files 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/src/mathlib/mathlib-i386.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * mathlib-i386.cpp - Math library wrapper, x86 specific code 3 | * Code largely derived from GNU libc 4 | * 5 | * Kheperix (C) 2003-2005 Gwenole Beauchesne 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 2 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | // 7.12.9.8 The trunc functions 23 | #ifndef HAVE_TRUNC 24 | #define HAVE_TRUNC 25 | double trunc(double x) 26 | { 27 | volatile unsigned short int cw; 28 | volatile unsigned short int cwtmp; 29 | double value; 30 | 31 | __asm__ __volatile__("fnstcw %0" : "=m" (cw)); 32 | cwtmp = (cw & 0xf3ff) | 0x0c00; /* toward zero */ 33 | __asm__ __volatile__("fldcw %0" : : "m" (cwtmp)); 34 | __asm__ __volatile__("frndint" : "=t" (value) : "0" (x)); 35 | __asm__ __volatile__("fldcw %0" : : "m" (cw)); 36 | return value; 37 | } 38 | #endif 39 | -------------------------------------------------------------------------------- /BasiliskII/src/include/prefs_editor.h: -------------------------------------------------------------------------------- 1 | /* 2 | * prefs_editor.h - Preferences editor 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef PREFS_EDITOR_H 22 | #define PREFS_EDITOR_H 23 | 24 | #ifdef __BEOS__ 25 | extern void PrefsEditor(uint32 msg); 26 | #else 27 | extern bool PrefsEditor(void); 28 | #endif 29 | 30 | #if defined(ENABLE_GTK) || defined(STANDALONE_GUI) 31 | 32 | #include 33 | 34 | #if !GLIB_CHECK_VERSION(2, 24, 0) 35 | #define GVariant void 36 | #endif 37 | #if !GLIB_CHECK_VERSION(2, 28, 0) 38 | #define GSimpleAction void 39 | #endif 40 | 41 | extern "C" { 42 | void dl_quit(GtkWidget *dialog); 43 | void cb_swap_opt_cmd (GtkWidget *widget); 44 | void cb_infobar_show (GtkWidget *widget); 45 | } 46 | #endif 47 | #endif 48 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/router/dump.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * dump.cpp - ip router 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * Windows platform specific code copyright (C) Lauri Pesonen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #include "sysdeps.h" 24 | #include "main.h" 25 | #include "dump.h" 26 | 27 | #if DEBUG 28 | #pragma optimize("",off) 29 | #endif 30 | 31 | #include "debug.h" 32 | 33 | 34 | void dump_bytes( uint8 *packet, int length ) 35 | { 36 | #if DEBUG 37 | char buf[1000], sm[10]; 38 | 39 | *buf = 0; 40 | 41 | if(length > 256) length = 256; 42 | 43 | for (int i=0; i /dev/null && exit 0 24 | 25 | PAGEZERO_SIZE=0x2000 26 | [[ -n "$1" ]] && PAGEZERO_SIZE=$1 27 | # You want all the output to go to stderr so that configure is quiet but 28 | # config.log is verbose. 29 | { echo 'building lowmem utility' && \ 30 | make -f /dev/null Darwin/lowmem && \ 31 | echo 'building pagezero test' && \ 32 | make -f /dev/null LDFLAGS="-pagezero_size $PAGEZERO_SIZE" Darwin/pagezero && \ 33 | echo 'enabling low memory globals in pagezero' && \ 34 | Darwin/lowmem Darwin/pagezero && \ 35 | echo 'running pagezero test' && \ 36 | Darwin/pagezero; } 1>&2 37 | -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/src/cpu/ppc/genexec.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | use strict; 3 | 4 | my (@handlers, @extra_handlers, %templates); 5 | 6 | sub split_arglist($) { 7 | (map { $_ =~ s/\s//g; $_ } split ",", $_[0]); 8 | } 9 | 10 | my @lines = map { split ";", $_ } (); 11 | 12 | my $is_template = 0; 13 | my $e; 14 | foreach (@lines) { 15 | $_ =~ s/;/&\n/g; 16 | if (/^DEFINE_TEMPLATE\((\w+),.+,.+\((.+)\)\)/) { 17 | $is_template = 1; 18 | $e = { name => $1 }; 19 | push @{$e->{args}}, split_arglist $2; 20 | } 21 | elsif ($is_template && /^\}/) { 22 | $is_template = 0; 23 | $templates{$e->{name}} = $e; 24 | } 25 | elsif (/(powerpc_cpu::execute_\w+)<(.+)>/) { 26 | my $h = { name => $1, args => $2 }; 27 | if ($is_template) { 28 | push @{$e->{handlers}}, $h; 29 | } 30 | else { 31 | push @handlers, $h; 32 | } 33 | } 34 | elsif (/template.+decode_(\w+)<(.+)>/) { 35 | my $template = $templates{$1}; 36 | my @template_args = @{$template->{args}}; 37 | my @args = split_arglist $2; 38 | my %vars; 39 | $vars{$template_args[$_]} = $args[$_] foreach (0 .. $#template_args); 40 | foreach my $h (@{$template->{handlers}}) { 41 | my @new_args = map { $vars{$_} || $_ } split_arglist $h->{args}; 42 | push @extra_handlers, { name => $h->{name}, args => join(", ", @new_args) }; 43 | } 44 | } 45 | } 46 | 47 | my %output_handlers; 48 | foreach (@handlers, @extra_handlers) { 49 | my $line = "template void $_->{name}<".join(", ", $_->{args}).">(uint32);"; 50 | print "$line\n" if (!$output_handlers{$line}); 51 | $output_handlers{$line} = 1; 52 | } 53 | -------------------------------------------------------------------------------- /BasiliskII/src/xpram.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * xpram.cpp - XPRAM handling 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | /* 22 | * SEE ALSO 23 | * Inside Macintosh: Operating System Utilities, chapter 7 "Parameter RAM Utilities" 24 | */ 25 | 26 | #include 27 | 28 | #include "sysdeps.h" 29 | #include "xpram.h" 30 | 31 | 32 | // Extended parameter RAM 33 | uint8 XPRAM[XPRAM_SIZE]; 34 | 35 | 36 | /* 37 | * Initialize XPRAM 38 | */ 39 | 40 | void XPRAMInit(const char *vmdir) 41 | { 42 | // Clear XPRAM 43 | memset(XPRAM, 0, XPRAM_SIZE); 44 | 45 | // Load XPRAM from settings file 46 | LoadXPRAM(vmdir); 47 | } 48 | 49 | 50 | /* 51 | * Deinitialize XPRAM 52 | */ 53 | 54 | void XPRAMExit(void) 55 | { 56 | // Save XPRAM to settings file 57 | SaveXPRAM(); 58 | } 59 | -------------------------------------------------------------------------------- /BasiliskII/src/slirp/main.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1995 Danny Gasparovski. 3 | * 4 | * Please read the file COPYRIGHT for the 5 | * terms and conditions of the copyright. 6 | */ 7 | 8 | #ifdef HAVE_SYS_SELECT_H 9 | #include 10 | #endif 11 | 12 | #define TOWRITEMAX 512 13 | 14 | extern struct timeval tt; 15 | extern int link_up; 16 | extern int slirp_socket; 17 | extern int slirp_socket_unit; 18 | extern int slirp_socket_port; 19 | extern u_int32_t slirp_socket_addr; 20 | extern char *slirp_socket_passwd; 21 | extern int ctty_closed; 22 | 23 | /* 24 | * Get the difference in 2 times from updtim() 25 | * Allow for wraparound times, "just in case" 26 | * x is the greater of the 2 (current time) and y is 27 | * what it's being compared against. 28 | */ 29 | #define TIME_DIFF(x,y) (x)-(y) < 0 ? ~0-(y)+(x) : (x)-(y) 30 | 31 | extern char *slirp_tty; 32 | extern char *exec_shell; 33 | extern u_int curtime; 34 | extern fd_set *global_readfds, *global_writefds, *global_xfds; 35 | extern struct in_addr ctl_addr; 36 | extern struct in_addr special_addr; 37 | extern struct in_addr alias_addr; 38 | extern struct in_addr our_addr; 39 | extern struct in_addr loopback_addr; 40 | extern struct in_addr dns_addr; 41 | extern char *username; 42 | extern char *socket_path; 43 | extern int towrite_max; 44 | extern int ppp_exit; 45 | extern int so_options; 46 | extern int tcp_keepintvl; 47 | extern uint8_t client_ethaddr[6]; 48 | 49 | #define PROTO_SLIP 0x1 50 | #ifdef USE_PPP 51 | #define PROTO_PPP 0x2 52 | #endif 53 | 54 | void if_encap(const uint8_t *ip_data, int ip_data_len); 55 | -------------------------------------------------------------------------------- /BasiliskII/src/include/ether_defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * ether_defs.h - Definitions for MacOS Ethernet drivers 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef ETHER_DEFS_H 22 | #define ETHER_DEFS_H 23 | 24 | // Error codes 25 | enum { 26 | eMultiErr = -91, 27 | eLenErr = -92, 28 | lapProtErr = -94, 29 | excessCollsns = -95 30 | }; 31 | 32 | // Control codes 33 | enum { 34 | kENetSetGeneral = 253, 35 | kENetGetInfo = 252, 36 | kENetRdCancel = 251, 37 | kENetRead = 250, 38 | kENetWrite = 249, 39 | kENetDetachPH = 248, 40 | kENetAttachPH = 247, 41 | kENetAddMulti = 246, 42 | kENetDelMulti = 245 43 | }; 44 | 45 | enum { // EParamBlock struct 46 | eProtType = 28, 47 | ePointer = 30, 48 | eBuffSize = 34, 49 | eDataSize = 36, 50 | eMultiAddr = 28 51 | }; 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/MacOSX_sound_if.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MacOSX_sound_if.h 3 | * BasiliskII 4 | * 5 | * Copyright 2006 Daniel Sumorok. All rights reserved. 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 2 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | #ifndef MACOSX_SOUND_IF 22 | #define MACOSX_SOUND_IF 23 | 24 | typedef int (*audioCallback)(void); 25 | 26 | class AudioBackEnd; 27 | 28 | class OSXsoundOutput { 29 | private: 30 | static void getMoreSamples(void *arg); 31 | 32 | AudioBackEnd *player; 33 | audioCallback callback; 34 | public: 35 | OSXsoundOutput(); 36 | ~OSXsoundOutput(); 37 | int start(int bitsPerSample, int numChannels, int sampleRate); 38 | int stop(); 39 | int putBuffer(void *buffer, int numSamples); 40 | void setCallback(audioCallback fn); 41 | unsigned int bufferSizeFrames(); 42 | int sendAudioBuffer(void *buffer, int numFrames); 43 | }; 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/disk_unix.h: -------------------------------------------------------------------------------- 1 | /* 2 | * disk_unix.h - Generic disk interface 3 | * 4 | * Basilisk II (C) Dave Vasilevsky 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef DISK_UNIX_H 22 | #define DISK_UNIX_H 23 | 24 | #include "sysdeps.h" 25 | 26 | struct disk_generic { 27 | enum status { 28 | DISK_UNKNOWN, 29 | DISK_INVALID, 30 | DISK_VALID, 31 | }; 32 | 33 | disk_generic() { } 34 | virtual ~disk_generic() { }; 35 | 36 | virtual bool is_read_only() = 0; 37 | virtual size_t read(void *buf, loff_t offset, size_t length) = 0; 38 | virtual size_t write(void *buf, loff_t offset, size_t length) = 0; 39 | virtual loff_t size() = 0; 40 | }; 41 | 42 | typedef disk_generic::status (disk_factory)(const char *path, bool read_only, 43 | disk_generic **disk); 44 | 45 | extern disk_factory disk_sparsebundle_factory; 46 | extern disk_factory disk_vhd_factory; 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/cdenable/eject_nt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * eject_nt.cpp - cd eject routines for WinNT (derived from MS samples) 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * Windows platform specific code copyright (C) Lauri Pesonen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #ifndef _EJECT_NT_H_ 24 | #define _EJECT_NT_H_ 25 | 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | BOOL EjectVolume(TCHAR cDriveLetter,BOOL reload); 32 | 33 | HANDLE OpenVolume(TCHAR cDriveLetter); 34 | BOOL LockVolume(HANDLE hVolume); 35 | BOOL DismountVolume(HANDLE hVolume); 36 | BOOL PreventRemovalOfVolume(HANDLE hVolume, BOOL fPrevent); 37 | BOOL AutoEjectVolume(HANDLE hVolume,BOOL reload); 38 | BOOL CloseVolume(HANDLE hVolume); 39 | 40 | #ifdef __cplusplus 41 | } // extern "C" 42 | #endif 43 | 44 | #endif //_EJECT_NT_H_ 45 | -------------------------------------------------------------------------------- /SheepShaver/doc/BeOS/quickstart.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Quick Start 4 | 5 | 6 | 7 |

Quick Start

8 | 9 | The following is a step-by-step guide that shows you how to get SheepShaver 10 | up and running in the quickest possible way. We assume that you are running 11 | on a PowerMac that already has MacOS installed on a partition of your hard drive 12 | and that you have booted into BeOS. 13 | 14 |

15 |

    16 |
  1. Double-click the SheepShaver icon. The "SheepShaver Settings" window will appear. 17 |
  2. Click on "Start". SheepShaver will try to detect on which partition MacOS is installed and should then start booting MacOS. 18 |
  3. If this is the first time you start SheepShaver you will be asked if you want your 19 | network configuration to be modified to enable Ethernet networking under SheepShaver. 20 | If you want to use Ethernet with SheepShaver you should press "OK" (this will change the 21 | file /boot/home/config/settings/network; a backup of the the original file will 22 | be stored in network.orig). 23 |
  4. To quit SheepShaver, select "Shutdown" from the Finder's "Special" menu. 24 |
25 | 26 |

One word of caution:

27 | 28 | Volumes which are used by SheepShaver must not also be mounted under BeOS 29 | while SheepShaver is running. You will lose data and corrupt the 30 | volume if you do this! Don't press the "Mount all disks now" button in the 31 | BeOS "Disk Mount Settings" window while SheepShaver is running! 32 | 33 |
34 |
35 | SheepShaver User's Guide 36 |
37 | 38 | 39 | -------------------------------------------------------------------------------- /BasiliskII/src/include/disk.h: -------------------------------------------------------------------------------- 1 | /* 2 | * disk.h - Generic disk driver 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef DISK_H 22 | #define DISK_H 23 | 24 | const int DiskRefNum = -63; // RefNum of driver 25 | const uint16 DiskDriverFlags = 0x6f04; // Driver flags 26 | 27 | extern const uint8 DiskIcon[258]; // Icon data (copied to ROM by PatchROM()) 28 | 29 | extern uint32 DiskIconAddr; // Icon address (Mac address space, set by PatchROM()) 30 | 31 | extern void DiskInit(void); 32 | extern void DiskExit(void); 33 | 34 | extern void DiskInterrupt(void); 35 | 36 | extern bool DiskMountVolume(void *fh); 37 | 38 | extern int16 DiskOpen(uint32 pb, uint32 dce); 39 | extern int16 DiskPrime(uint32 pb, uint32 dce); 40 | extern int16 DiskControl(uint32 pb, uint32 dce); 41 | extern int16 DiskStatus(uint32 pb, uint32 dce); 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /BasiliskII/src/MacOSX/misc_macosx.h: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id$ 3 | * 4 | * misc_macosx.h - Some prototypes of functions defined in misc_macosx.mm 5 | * 6 | * Basilisk II (C) 1997-2008 Christian Bauer 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #if defined(__APPLE__) && defined(__MACH__) 24 | // This means we are on Mac OS X of some sort 25 | #endif 26 | 27 | extern void ErrorSheet (NSString *msg, NSWindow *win), 28 | ErrorSheet (NSString *msg1, NSString *msg2, 29 | NSString *button, NSWindow *win), 30 | WarningSheet (NSString *message,NSWindow *win), 31 | WarningSheet (NSString *msg1, NSString *msg2, 32 | NSString *button, NSWindow *win), 33 | InfoSheet (NSString *msg, NSWindow *win), 34 | InfoSheet (NSString *msg1, NSString *msg2, 35 | NSString *button, NSWindow *win), 36 | EndSheet (NSWindow * window); 37 | 38 | extern int frequencyToTickDelay (float frequency); 39 | -------------------------------------------------------------------------------- /BasiliskII/src/uae_cpu/compiler/flags_x86.h: -------------------------------------------------------------------------------- 1 | /* 2 | * compiler/flags_x86.h - Native flags definitions for IA-32 3 | * 4 | * Original 68040 JIT compiler for UAE, copyright 2000-2002 Bernd Meyer 5 | * 6 | * Adaptation for Basilisk II and improvements, copyright 2000-2005 7 | * Gwenole Beauchesne 8 | * 9 | * Basilisk II (C) 1997-2008 Christian Bauer 10 | * 11 | * This program is free software; you can redistribute it and/or modify 12 | * it under the terms of the GNU General Public License as published by 13 | * the Free Software Foundation; either version 2 of the License, or 14 | * (at your option) any later version. 15 | * 16 | * This program is distributed in the hope that it will be useful, 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 | * GNU General Public License for more details. 20 | * 21 | * You should have received a copy of the GNU General Public License 22 | * along with this program; if not, write to the Free Software 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 24 | */ 25 | 26 | #ifndef NATIVE_FLAGS_X86_H 27 | #define NATIVE_FLAGS_X86_H 28 | 29 | /* Native integer code conditions */ 30 | enum { 31 | NATIVE_CC_HI = 7, 32 | NATIVE_CC_LS = 6, 33 | NATIVE_CC_CC = 3, 34 | NATIVE_CC_CS = 2, 35 | NATIVE_CC_NE = 5, 36 | NATIVE_CC_EQ = 4, 37 | NATIVE_CC_VC = 11, 38 | NATIVE_CC_VS = 10, 39 | NATIVE_CC_PL = 9, 40 | NATIVE_CC_MI = 8, 41 | NATIVE_CC_GE = 13, 42 | NATIVE_CC_LT = 12, 43 | NATIVE_CC_GT = 15, 44 | NATIVE_CC_LE = 14 45 | }; 46 | 47 | #endif /* NATIVE_FLAGS_X86_H */ 48 | -------------------------------------------------------------------------------- /BasiliskII/src/Unix/Irix/unaligned.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Irix/unaligned.c - Optimized unaligned access for Irix 3 | * 4 | * Basilisk II (C) 1997-2005 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifdef sgi 22 | #include "sysdeps.h" 23 | 24 | /* Tell the compiler to pack data on 1-byte boundaries 25 | * (i.e. arbitrary alignment). Requires SGI MIPSPro compilers. */ 26 | #pragma pack(1) 27 | 28 | typedef struct _ual32 { 29 | uae_u32 v; 30 | } ual32_t; 31 | 32 | typedef struct _ual16 { 33 | uae_u16 v; 34 | } ual16_t; 35 | 36 | #pragma pack(0) 37 | 38 | /* The compiler is smart enough to inline these when you build with "-ipa" */ 39 | uae_u32 do_get_mem_long(uae_u32 *a) {return ((ual32_t *)a)->v;} 40 | uae_u32 do_get_mem_word(uae_u16 *a) {return ((ual16_t *)a)->v;} 41 | void do_put_mem_long(uae_u32 *a, uae_u32 v) {((ual32_t *)a)->v = v;} 42 | void do_put_mem_word(uae_u16 *a, uae_u32 v) {((ual16_t *)a)->v = v;} 43 | 44 | #endif /* sgi */ 45 | -------------------------------------------------------------------------------- /SheepShaver/src/kpx_cpu/src/cpu/jit/x86/dyngen-target-exec.h: -------------------------------------------------------------------------------- 1 | /* 2 | * dyngen defines for micro operation code 3 | * 4 | * Copyright (c) 2003-2004-2004 Fabrice Bellard 5 | * 6 | * This library is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2 of the License, or (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with this library; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef DYNGEN_TARGET_EXEC_H 22 | #define DYNGEN_TARGET_EXEC_H 23 | 24 | enum { 25 | /* callee save registers */ 26 | #define AREG0 "ebp" 27 | AREG0_ID = 5, 28 | 29 | #define AREG1 "ebx" 30 | AREG1_ID = 3, 31 | 32 | #define AREG2 "esi" 33 | AREG2_ID = 6, 34 | 35 | #define AREG3 "edi" 36 | AREG3_ID = 7, 37 | 38 | // NOTE: the following XMM registers definitions require to build 39 | // *-dyngen-ops.cpp with -ffixed-xmmN 40 | 41 | /* vector registers */ 42 | #define VREG0 "xmm4" 43 | VREG0_ID = 4, 44 | 45 | #define VREG1 "xmm5" 46 | VREG1_ID = 5, 47 | 48 | #define VREG2 "xmm6" 49 | VREG2_ID = 6, 50 | 51 | #define VREG3 "xmm7" 52 | VREG3_ID = 7, 53 | }; 54 | 55 | #endif /* DYNGEN_TARGET_EXEC_H */ 56 | -------------------------------------------------------------------------------- /BasiliskII/src/uae_cpu/fpu/fpu.h: -------------------------------------------------------------------------------- 1 | /* 2 | * fpu/fpu.h - public header 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * MC68881/68040 fpu emulation 7 | * 8 | * Original UAE FPU, copyright 1996 Herman ten Brugge 9 | * Rewrite for x86, copyright 1999-2000 Lauri Pesonen 10 | * New framework, copyright 2000 Gwenole Beauchesne 11 | * Adapted for JIT compilation (c) Bernd Meyer, 2000 12 | * 13 | * This program is free software; you can redistribute it and/or modify 14 | * it under the terms of the GNU General Public License as published by 15 | * the Free Software Foundation; either version 2 of the License, or 16 | * (at your option) any later version. 17 | * 18 | * This program is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 | * GNU General Public License for more details. 22 | * 23 | * You should have received a copy of the GNU General Public License 24 | * along with this program; if not, write to the Free Software 25 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 26 | */ 27 | 28 | #ifndef FPU_PUBLIC_HEADER_H 29 | #define FPU_PUBLIC_HEADER_H 30 | 31 | #ifndef FPU_DEBUG 32 | #define FPU_DEBUG 0 33 | #endif 34 | 35 | #if FPU_DEBUG 36 | #define fpu_debug(args) printf args; 37 | #define FPU_DUMP_REGISTERS 0 38 | #define FPU_DUMP_FIRST_BYTES 0 39 | #else 40 | #define fpu_debug(args) ; 41 | #undef FPU_DUMP_REGISTERS 42 | #undef FPU_DUMP_FIRST_BYTES 43 | #endif 44 | 45 | #include "sysdeps.h" 46 | #include "fpu/types.h" 47 | #include "fpu/core.h" 48 | 49 | #endif /* FPU_PUBLIC_HEADER_H */ 50 | -------------------------------------------------------------------------------- /BasiliskII/src/Windows/router/ftp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * ftp.h - ip router 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * Windows platform specific code copyright (C) Lauri Pesonen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 | */ 22 | 23 | #ifndef _FTP_H_ 24 | #define _FTP_H_ 25 | 26 | // Read the preferences. 27 | void init_ftp(); 28 | 29 | // Compares against a list provided by the user. 30 | bool ftp_is_ftp_port( uint16 port ); 31 | 32 | // Determine whether this is a ftp client PORT command or ftp server entering to passive mode. 33 | void ftp_parse_port_command( 34 | char *buf, 35 | uint32 count, 36 | uint16 &ftp_data_port, 37 | bool is_pasv 38 | ); 39 | 40 | // Build a new command using ip and port. 41 | void ftp_modify_port_command( 42 | char *buf, 43 | int &count, 44 | const uint32 max_size, 45 | const uint32 ip, 46 | const uint16 port, 47 | const bool is_pasv 48 | ); 49 | 50 | #endif // _FTP_H_ 51 | -------------------------------------------------------------------------------- /BasiliskII/src/AmigaOS/user_strings_amiga.h: -------------------------------------------------------------------------------- 1 | /* 2 | * user_strings_amiga.h - AmigaOS-specific localizable strings 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef USER_STRINGS_AMIGA_H 22 | #define USER_STRINGS_AMIGA_H 23 | 24 | enum { 25 | STR_NO_PREPARE_EMUL_ERR = 10000, 26 | STR_NO_GADTOOLS_LIB_ERR, 27 | STR_NO_IFFPARSE_LIB_ERR, 28 | STR_NO_ASL_LIB_ERR, 29 | STR_NO_TIMER_DEV_ERR, 30 | STR_NO_P96_MODE_ERR, 31 | STR_NO_VIDEO_MODE_ERR, 32 | STR_WRONG_SCREEN_DEPTH_ERR, 33 | STR_WRONG_SCREEN_FORMAT_ERR, 34 | STR_ENFORCER_RUNNING_ERR, 35 | 36 | STR_NOT_ETHERNET_WARN, 37 | STR_NO_MULTICAST_WARN, 38 | STR_NO_GTLAYOUT_LIB_WARN, 39 | STR_NO_AHI_WARN, 40 | STR_NO_AHI_CTRL_WARN, 41 | STR_NOT_ENOUGH_MEM_WARN, 42 | 43 | STR_AHI_MODE_CTRL, 44 | STR_SCSI_MEMTYPE_CTRL, 45 | STR_MEMTYPE_CHIP_LAB, 46 | STR_MEMTYPE_24BITDMA_LAB, 47 | STR_MEMTYPE_ANY_LAB, 48 | STR_SCSI_DEVICES_CTRL 49 | }; 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /BasiliskII/src/dummy/user_strings_dummy.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * user_strings_dummy.cpp - Localizable strings, dummy implementation 3 | * 4 | * Basilisk II (C) 1997-2008 Christian Bauer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #include "sysdeps.h" 22 | #include "user_strings.h" 23 | 24 | 25 | // Platform-specific string definitions 26 | user_string_def platform_strings[] = { 27 | {-1, NULL} // End marker 28 | }; 29 | 30 | 31 | /* 32 | * Fetch pointer to string, given the string number 33 | */ 34 | 35 | const char *GetString(int num) 36 | { 37 | // First search for platform-specific string 38 | int i = 0; 39 | while (platform_strings[i].num >= 0) { 40 | if (platform_strings[i].num == num) 41 | return platform_strings[i].str; 42 | i++; 43 | } 44 | 45 | // Not found, search for common string 46 | i = 0; 47 | while (common_strings[i].num >= 0) { 48 | if (common_strings[i].num == num) 49 | return common_strings[i].str; 50 | i++; 51 | } 52 | return NULL; 53 | } 54 | -------------------------------------------------------------------------------- /cxmon/src/disass/bfd.h: -------------------------------------------------------------------------------- 1 | /* 2 | * bfd.h - Dummy bfd library header file 3 | */ 4 | 5 | #include "sysdeps.h" 6 | #include "ansidecl.h" 7 | 8 | enum bfd_flavour { 9 | bfd_target_unknown_flavour 10 | }; 11 | 12 | enum bfd_endian { 13 | BFD_ENDIAN_BIG, 14 | BFD_ENDIAN_LITTLE, 15 | BFD_ENDIAN_UNKNOWN 16 | }; 17 | 18 | enum bfd_architecture { 19 | bfd_arch_unknown, 20 | bfd_arch_m68k, 21 | #define bfd_mach_m68000 1 22 | #define bfd_mach_m68008 2 23 | #define bfd_mach_m68010 3 24 | #define bfd_mach_m68020 4 25 | #define bfd_mach_m68030 5 26 | #define bfd_mach_m68040 6 27 | #define bfd_mach_m68060 7 28 | bfd_arch_i386 29 | #define bfd_mach_i386_i386 0 30 | #define bfd_mach_i386_i8086 1 31 | #define bfd_mach_i386_i386_intel_syntax 2 32 | #define bfd_mach_x86_64 3 33 | #define bfd_mach_x86_64_intel_syntax 4 34 | }; 35 | 36 | typedef struct symbol_cache_entry { 37 | CONST char *name; 38 | } asymbol; 39 | 40 | typedef uint64 bfd_vma; 41 | typedef int64 bfd_signed_vma; 42 | typedef unsigned char bfd_byte; 43 | 44 | typedef struct _bfd bfd; 45 | struct _bfd; 46 | 47 | #if SIZEOF_LONG == 8 48 | #define BFD_HOST_64BIT_LONG 1 49 | #endif 50 | 51 | // 64-bit vma 52 | #define BFD64 53 | 54 | #ifndef fprintf_vma 55 | #if BFD_HOST_64BIT_LONG 56 | #define sprintf_vma(s,x) sprintf (s, "%016lx", x) 57 | #define fprintf_vma(f,x) fprintf (f, "%016lx", x) 58 | #else 59 | #define _bfd_int64_low(x) ((unsigned long) (((x) & 0xffffffff))) 60 | #define _bfd_int64_high(x) ((unsigned long) (((x) >> 32) & 0xffffffff)) 61 | #define fprintf_vma(s,x) \ 62 | fprintf ((s), "%08lx%08lx", _bfd_int64_high (x), _bfd_int64_low (x)) 63 | #define sprintf_vma(s,x) \ 64 | sprintf ((s), "%08lx%08lx", _bfd_int64_high (x), _bfd_int64_low (x)) 65 | #endif 66 | #endif 67 | --------------------------------------------------------------------------------