From 2df9962c7437b870f5d4a2ae9a3bae7dbbcb8f0f Mon Sep 17 00:00:00 2001 From: meetpatty Date: Sat, 11 Mar 2017 14:05:14 +1300 Subject: [PATCH] Initial commit --- BasiliskII.spec | 67 + COPYING | 340 + ChangeLog | 516 + INSTALL | 160 + Makefile | 124 + README | 996 + TECH | 607 + TODO | 53 + src/AmigaOS/BasiliskII.info | Bin 0 -> 1519 bytes src/AmigaOS/CVS/Entries | 20 + src/AmigaOS/CVS/Repository | 1 + src/AmigaOS/CVS/Root | 1 + src/AmigaOS/Makefile | 64 + src/AmigaOS/asm_support.asm | 1393 + src/AmigaOS/audio_amiga.cpp | 515 + src/AmigaOS/clip_amiga.cpp | 158 + src/AmigaOS/ether_amiga.cpp | 705 + src/AmigaOS/extfs_amiga.cpp | 387 + src/AmigaOS/main_amiga.cpp | 743 + src/AmigaOS/prefs_amiga.cpp | 89 + src/AmigaOS/prefs_editor_amiga.cpp | 1735 + src/AmigaOS/scsi_amiga.cpp | 289 + src/AmigaOS/serial_amiga.cpp | 861 + src/AmigaOS/sys_amiga.cpp | 1122 + src/AmigaOS/sysdeps.h | 76 + src/AmigaOS/timer_amiga.cpp | 157 + src/AmigaOS/user_strings_amiga.cpp | 85 + src/AmigaOS/user_strings_amiga.h | 51 + src/AmigaOS/video_amiga.cpp | 1165 + src/AmigaOS/xpram_amiga.cpp | 80 + src/BeOS/CVS/Entries | 20 + src/BeOS/CVS/Entries.Log | 2 + src/BeOS/CVS/Repository | 1 + src/BeOS/CVS/Root | 1 + src/BeOS/Makefile | 151 + src/BeOS/SheepDriver/CVS/Entries | 4 + src/BeOS/SheepDriver/CVS/Repository | 1 + src/BeOS/SheepDriver/CVS/Root | 1 + src/BeOS/SheepDriver/Makefile | 117 + src/BeOS/SheepDriver/sheep_driver.c | 476 + src/BeOS/SheepDriver/sheep_driver.h | 33 + src/BeOS/SheepNet/CVS/Entries | 4 + src/BeOS/SheepNet/CVS/Repository | 1 + src/BeOS/SheepNet/CVS/Root | 1 + src/BeOS/SheepNet/Makefile | 115 + src/BeOS/SheepNet/sheep_net.cpp | 294 + src/BeOS/SheepNet/sheep_net.h | 65 + src/BeOS/about_window.cpp | 59 + src/BeOS/about_window.h | 27 + src/BeOS/audio_beos.cpp | 342 + src/BeOS/clip_beos.cpp | 120 + src/BeOS/ether_beos.cpp | 527 + src/BeOS/extfs_beos.cpp | 460 + src/BeOS/main_beos.cpp | 824 + src/BeOS/prefs_beos.cpp | 91 + src/BeOS/prefs_editor_beos.cpp | 1024 + src/BeOS/scsi_beos.cpp | 233 + src/BeOS/serial_beos.cpp | 873 + src/BeOS/sys_beos.cpp | 831 + src/BeOS/sysdeps.h | 142 + src/BeOS/timer_beos.cpp | 166 + src/BeOS/user_strings_beos.cpp | 68 + src/BeOS/user_strings_beos.h | 34 + src/BeOS/video_beos.cpp | 1011 + src/BeOS/xpram_beos.cpp | 84 + src/CVS/Entries | 22 + src/CVS/Entries.Log | 12 + src/CVS/Repository | 1 + src/CVS/Root | 1 + src/MacOSX/0_HOW_TO_BUILD.txt | 55 + src/MacOSX/AudioBackEnd.cpp | 307 + src/MacOSX/AudioBackEnd.h | 86 + src/MacOSX/AudioDevice.cpp | 97 + src/MacOSX/AudioDevice.h | 72 + src/MacOSX/BasiliskII.pbproj/CVS/Entries | 2 + src/MacOSX/BasiliskII.pbproj/CVS/Repository | 1 + src/MacOSX/BasiliskII.pbproj/CVS/Root | 1 + src/MacOSX/BasiliskII.pbproj/project.pbxproj | 2151 + src/MacOSX/BasiliskII.xcode/CVS/Entries | 2 + src/MacOSX/BasiliskII.xcode/CVS/Repository | 1 + src/MacOSX/BasiliskII.xcode/CVS/Root | 1 + src/MacOSX/BasiliskII.xcode/project.pbxproj | 1881 + src/MacOSX/CVS/Entries | 40 + src/MacOSX/CVS/Entries.Log | 4 + src/MacOSX/CVS/Repository | 1 + src/MacOSX/CVS/Root | 1 + src/MacOSX/Controller.h | 59 + src/MacOSX/Controller.mm | 410 + src/MacOSX/Credits.html | 11 + src/MacOSX/Emulator.h | 81 + src/MacOSX/Emulator.mm | 472 + src/MacOSX/EmulatorView.h | 108 + src/MacOSX/EmulatorView.mm | 550 + src/MacOSX/English.lproj/CVS/Entries | 2 + src/MacOSX/English.lproj/CVS/Entries.Log | 1 + src/MacOSX/English.lproj/CVS/Repository | 1 + src/MacOSX/English.lproj/CVS/Root | 1 + src/MacOSX/English.lproj/InfoPlist.strings | 3 + .../English.lproj/MainMenu.nib/CVS/Entries | 10 + .../English.lproj/MainMenu.nib/CVS/Repository | 1 + .../English.lproj/MainMenu.nib/CVS/Root | 1 + .../English.lproj/MainMenu.nib/Collapsed.tiff | Bin 0 -> 870 bytes .../English.lproj/MainMenu.nib/Expanded.tiff | Bin 0 -> 870 bytes .../English.lproj/MainMenu.nib/classes.nib | 131 + .../English.lproj/MainMenu.nib/info.nib | 36 + .../English.lproj/MainMenu.nib/objects.nib | Bin 0 -> 29653 bytes .../English.lproj/MainMenu.nib/resetH.tiff | Bin 0 -> 9798 bytes .../English.lproj/MainMenu.nib/resetN.tiff | Bin 0 -> 9798 bytes .../English.lproj/MainMenu.nib/shutdownH.tiff | Bin 0 -> 9798 bytes .../English.lproj/MainMenu.nib/shutdownN.tiff | Bin 0 -> 9798 bytes src/MacOSX/HowTo.html | 226 + src/MacOSX/Info.plist | 32 + src/MacOSX/MacOSX_sound_if.cpp | 86 + src/MacOSX/MacOSX_sound_if.h | 41 + src/MacOSX/Makefile.in | 302 + src/MacOSX/Multiple-Windows/CVS/Entries | 2 + src/MacOSX/Multiple-Windows/CVS/Entries.Log | 1 + src/MacOSX/Multiple-Windows/CVS/Repository | 1 + src/MacOSX/Multiple-Windows/CVS/Root | 1 + .../English.lproj/CVS/Entries | 2 + .../English.lproj/CVS/Entries.Log | 2 + .../English.lproj/CVS/Repository | 1 + .../Multiple-Windows/English.lproj/CVS/Root | 1 + .../English.lproj/InfoPlist.strings | 4 + .../English.lproj/MainMenu.nib/CVS/Entries | 4 + .../English.lproj/MainMenu.nib/CVS/Repository | 1 + .../English.lproj/MainMenu.nib/CVS/Root | 1 + .../English.lproj/MainMenu.nib/classes.nib | 118 + .../English.lproj/MainMenu.nib/info.nib | 20 + .../English.lproj/MainMenu.nib/objects.nib | Bin 0 -> 19336 bytes .../English.lproj/Win512x342.nib/CVS/Entries | 10 + .../Win512x342.nib/CVS/Repository | 1 + .../English.lproj/Win512x342.nib/CVS/Root | 1 + .../Win512x342.nib/Collapsed.tiff | Bin 0 -> 870 bytes .../Win512x342.nib/Expanded.tiff | Bin 0 -> 870 bytes .../English.lproj/Win512x342.nib/classes.nib | 32 + .../English.lproj/Win512x342.nib/info.nib | 20 + .../English.lproj/Win512x342.nib/objects.nib | Bin 0 -> 3069 bytes .../English.lproj/Win512x342.nib/resetH.tiff | Bin 0 -> 9798 bytes .../English.lproj/Win512x342.nib/resetN.tiff | Bin 0 -> 9798 bytes .../Win512x342.nib/shutdownH.tiff | Bin 0 -> 9798 bytes .../Win512x342.nib/shutdownN.tiff | Bin 0 -> 9798 bytes src/MacOSX/Multiple-Windows/README | 5 + src/MacOSX/NNThread.h | 91 + src/MacOSX/NNThread.m | 257 + src/MacOSX/PrefsEditor.h | 145 + src/MacOSX/PrefsEditor.mm | 844 + src/MacOSX/ToDo.html | 61 + src/MacOSX/Versions.html | 120 + src/MacOSX/audio_defs_macosx.h | 80 + src/MacOSX/audio_macosx.cpp | 271 + src/MacOSX/clip_macosx.cpp | 184 + src/MacOSX/config_macosx.h | 77 + src/MacOSX/configure.in | 793 + src/MacOSX/extfs_macosx.cpp | 634 + src/MacOSX/macos_util_macosx.h | 178 + src/MacOSX/main_macosx.h | 29 + src/MacOSX/main_macosx.mm | 718 + src/MacOSX/misc_macosx.h | 38 + src/MacOSX/misc_macosx.mm | 112 + src/MacOSX/prefs_macosx.cpp | 138 + src/MacOSX/sys_darwin.cpp | 432 + src/MacOSX/sysdeps.h | 340 + src/MacOSX/video_macosx.h | 75 + src/MacOSX/video_macosx.mm | 1124 + src/PSP/BasiliskII.cbp | 76 + src/PSP/BasiliskII.layout | 76 + src/PSP/ICON0b2.PNG | Bin 0 -> 17434 bytes src/PSP/ICON0blk.PNG | Bin 0 -> 11604 bytes src/PSP/ICON0wht.PNG | Bin 0 -> 11630 bytes src/PSP/PIC1.PNG | Bin 0 -> 15377 bytes src/PSP/SND0.AT3 | Bin 0 -> 41928 bytes src/PSP/audio_psp.cpp | 324 + src/PSP/clip_psp.cpp | 74 + src/PSP/cpudefs.cpp | 185 + src/PSP/cpuemu.cpp | 45276 ++++++++++++++++ src/PSP/cpustbl.cpp | 8720 +++ src/PSP/cputbl.h | 4322 ++ src/PSP/danzeff/danzeff.c | 595 + src/PSP/danzeff/danzeff.h | 68 + src/PSP/danzeff/danzeff_readme.txt | 42 + src/PSP/danzeff/graphics/keys.png | Bin 0 -> 11367 bytes src/PSP/danzeff/graphics/keys_c.png | Bin 0 -> 12670 bytes src/PSP/danzeff/graphics/keys_c_t.png | Bin 0 -> 14397 bytes src/PSP/danzeff/graphics/keys_s.png | Bin 0 -> 24244 bytes src/PSP/danzeff/graphics/keys_s_c.png | Bin 0 -> 25960 bytes src/PSP/danzeff/graphics/keys_t.png | Bin 0 -> 12980 bytes src/PSP/danzeff/graphics/nums.png | Bin 0 -> 7179 bytes src/PSP/danzeff/graphics/nums_c.png | Bin 0 -> 10394 bytes src/PSP/danzeff/graphics/nums_c_t.png | Bin 0 -> 11719 bytes src/PSP/danzeff/graphics/nums_s.png | Bin 0 -> 18118 bytes src/PSP/danzeff/graphics/nums_s_c.png | Bin 0 -> 23574 bytes src/PSP/danzeff/graphics/nums_t.png | Bin 0 -> 8029 bytes src/PSP/danzeff/pspctrl_emu.c | 82 + src/PSP/danzeff/pspctrl_emu.h | 76 + src/PSP/dvemgr/Makefile | 19 + src/PSP/dvemgr/dvemgr.elf | Bin 0 -> 10526 bytes src/PSP/dvemgr/dvemgr.prx | Bin 0 -> 2954 bytes src/PSP/dvemgr/exports.exp | 22 + src/PSP/dvemgr/exports.o | Bin 0 -> 1780 bytes src/PSP/dvemgr/main.c | 89 + src/PSP/dvemgr/main.o | Bin 0 -> 2832 bytes src/PSP/dvemgr/pspDveManager.S | 8 + src/PSP/dvemgr/sceGe_driver.S | 112 + src/PSP/dvemgr/sceGe_driver.o | Bin 0 -> 892 bytes src/PSP/ether_psp.cpp | 247 + src/PSP/extfs_psp.cpp | 579 + src/PSP/extfs_psp_old.cpp | 405 + src/PSP/ftruncate.cpp | 63 + src/PSP/gui_psp.cpp | 634 + src/PSP/gui_psp.h | 41 + src/PSP/imaps/Maelstrom | 19 + src/PSP/imaps/default | 23 + src/PSP/imaps/dpad_mouse | 32 + src/PSP/intraFont.cpp | 926 + src/PSP/intraFont.h | 276 + src/PSP/main_psp.cpp | 912 + src/PSP/makefile | 66 + src/PSP/prefs_editor_psp.cpp | 749 + src/PSP/prefs_psp.cpp | 90 + src/PSP/reqfile.cpp | 328 + src/PSP/scsi_psp.cpp | 86 + src/PSP/serial_psp.cpp | 137 + src/PSP/sys_psp.cpp | 647 + src/PSP/sysdeps.h | 170 + src/PSP/timer_psp.cpp | 251 + src/PSP/user_strings_psp.cpp | 100 + src/PSP/user_strings_psp.h | 61 + src/PSP/video_psp.cpp | 1767 + src/PSP/video_psp_old.cpp | 1341 + src/PSP/xpram_psp.cpp | 67 + src/SDL/CVS/Entries | 4 + src/SDL/CVS/Repository | 1 + src/SDL/CVS/Root | 1 + src/SDL/audio_sdl.cpp | 316 + src/SDL/keycodes | 464 + src/SDL/video_sdl.cpp | 2341 + src/Unix/BasiliskII.1 | 64 + src/Unix/CVS/Entries | 44 + src/Unix/CVS/Entries.Log | 8 + src/Unix/CVS/Repository | 1 + src/Unix/CVS/Root | 1 + src/Unix/Darwin/CVS/Entries | 6 + src/Unix/Darwin/CVS/Repository | 1 + src/Unix/Darwin/CVS/Root | 1 + src/Unix/Darwin/gtk-osx.patch | 179 + src/Unix/Darwin/lowmem.c | 160 + src/Unix/Darwin/mkstandalone | 89 + src/Unix/Darwin/pagezero.c | 31 + src/Unix/Darwin/testlmem.sh | 34 + src/Unix/FreeBSD/CVS/Entries | 3 + src/Unix/FreeBSD/CVS/Repository | 1 + src/Unix/FreeBSD/CVS/Root | 1 + src/Unix/FreeBSD/scsi_freebsd.cpp | 743 + src/Unix/FreeBSD/scsidump.cpp | 478 + src/Unix/Irix/CVS/Entries | 4 + src/Unix/Irix/CVS/Repository | 1 + src/Unix/Irix/CVS/Root | 1 + src/Unix/Irix/README.networking | 110 + src/Unix/Irix/audio_irix.cpp | 680 + src/Unix/Irix/unaligned.c | 44 + src/Unix/Linux/CVS/Entries | 2 + src/Unix/Linux/CVS/Entries.Log | 1 + src/Unix/Linux/CVS/Repository | 1 + src/Unix/Linux/CVS/Root | 1 + src/Unix/Linux/NetDriver/CVS/Entries | 3 + src/Unix/Linux/NetDriver/CVS/Repository | 1 + src/Unix/Linux/NetDriver/CVS/Root | 1 + src/Unix/Linux/NetDriver/Makefile | 51 + src/Unix/Linux/NetDriver/sheep_net.c | 662 + src/Unix/Linux/scsi_linux.cpp | 271 + src/Unix/Makefile.in | 257 + src/Unix/NetBSD/CVS/Entries | 1 + src/Unix/NetBSD/CVS/Repository | 1 + src/Unix/NetBSD/CVS/Root | 1 + src/Unix/Solaris/CVS/Entries | 3 + src/Unix/Solaris/CVS/Repository | 1 + src/Unix/Solaris/CVS/Root | 1 + src/Unix/Solaris/audio_solaris.cpp | 320 + src/Unix/Solaris/which_sparc | 121 + src/Unix/acinclude.m4 | 28 + src/Unix/asm_support.s | 180 + src/Unix/audio_oss_esd.cpp | 558 + src/Unix/autogen.sh | 61 + src/Unix/clip_unix.cpp | 682 + src/Unix/config.guess | 1409 + src/Unix/config.sub | 1469 + src/Unix/configure.ac | 1589 + src/Unix/ether_unix.cpp | 948 + src/Unix/extfs_unix.cpp | 392 + src/Unix/fbdevices | 14 + src/Unix/install-sh | 251 + src/Unix/keycodes | 453 + src/Unix/ldscripts/CVS/Entries | 5 + src/Unix/ldscripts/CVS/Repository | 1 + src/Unix/ldscripts/CVS/Root | 1 + src/Unix/ldscripts/freebsd-i386.ld | 175 + src/Unix/ldscripts/linux-i386.ld | 137 + src/Unix/ldscripts/linux-ppc.ld | 219 + src/Unix/ldscripts/linux-x86_64.ld | 171 + src/Unix/m4/CVS/Entries | 6 + src/Unix/m4/CVS/Repository | 1 + src/Unix/m4/CVS/Root | 1 + src/Unix/m4/egrep.m4 | 13 + src/Unix/m4/esd.m4 | 194 + src/Unix/m4/gettext.m4 | 2576 + src/Unix/m4/gtk-2.0.m4 | 196 + src/Unix/m4/gtk.m4 | 194 + src/Unix/main_unix.cpp | 1605 + src/Unix/mkinstalldirs | 99 + src/Unix/posix_sem.cpp | 143 + src/Unix/prefs_editor_gtk.cpp | 1831 + src/Unix/prefs_unix.cpp | 130 + src/Unix/rpc.h | 102 + src/Unix/rpc_unix.cpp | 1244 + src/Unix/semaphore.h | 44 + src/Unix/serial_unix.cpp | 833 + src/Unix/sigsegv.cpp | 3424 ++ src/Unix/sigsegv.h | 74 + src/Unix/sshpty.c | 471 + src/Unix/sshpty.h | 26 + src/Unix/strlcpy.c | 75 + src/Unix/strlcpy.h | 12 + src/Unix/sys_unix.cpp | 1320 + src/Unix/sysdeps.h | 495 + src/Unix/timer_unix.cpp | 374 + src/Unix/tunconfig | 102 + src/Unix/user_strings_unix.cpp | 117 + src/Unix/user_strings_unix.h | 83 + src/Unix/video_blit.cpp | 587 + src/Unix/video_blit.h | 192 + src/Unix/video_vosf.h | 676 + src/Unix/video_x.cpp | 2682 + src/Unix/vm_alloc.cpp | 540 + src/Unix/vm_alloc.h | 133 + src/Unix/xpram_unix.cpp | 92 + src/Windows/BasiliskII.ico | Bin 0 -> 2998 bytes src/Windows/BasiliskII.rc | 2 + src/Windows/BasiliskIIGUI.ico | Bin 0 -> 1078 bytes src/Windows/BasiliskIIGUI.rc | 2 + src/Windows/CVS/Entries | 28 + src/Windows/CVS/Entries.Log | 3 + src/Windows/CVS/Repository | 1 + src/Windows/CVS/Root | 1 + src/Windows/Makefile.in | 236 + src/Windows/b2ether/CVS/Entries | 3 + src/Windows/b2ether/CVS/Entries.Log | 1 + src/Windows/b2ether/CVS/Repository | 1 + src/Windows/b2ether/CVS/Root | 1 + src/Windows/b2ether/inc/CVS/Entries | 3 + src/Windows/b2ether/inc/CVS/Repository | 1 + src/Windows/b2ether/inc/CVS/Root | 1 + src/Windows/b2ether/inc/b2ether_hl.h | 116 + src/Windows/b2ether/inc/ntddpack.h | 32 + src/Windows/b2ether/multiopt.h | 27 + src/Windows/b2ether/packet32.cpp | 788 + src/Windows/cd_defs.h | 151 + src/Windows/cdenable/CVS/Entries | 8 + src/Windows/cdenable/CVS/Repository | 1 + src/Windows/cdenable/CVS/Root | 1 + src/Windows/cdenable/cache.cpp | 182 + src/Windows/cdenable/cache.h | 50 + src/Windows/cdenable/cdenable.h | 60 + src/Windows/cdenable/eject_nt.cpp | 190 + src/Windows/cdenable/eject_nt.h | 44 + src/Windows/cdenable/ntcd.cpp | 345 + src/Windows/cdenable/ntcd.h | 99 + src/Windows/clip_windows.cpp | 273 + src/Windows/configure.ac | 569 + src/Windows/ether_windows.cpp | 1628 + src/Windows/ether_windows.h | 10 + src/Windows/extfs_windows.cpp | 399 + src/Windows/kernel_windows.cpp | 88 + src/Windows/kernel_windows.h | 36 + src/Windows/main_windows.cpp | 705 + src/Windows/posix_emu.cpp | 1119 + src/Windows/posix_emu.h | 122 + src/Windows/prefs_editor_gtk.cpp | 1769 + src/Windows/prefs_windows.cpp | 141 + src/Windows/router/CVS/Entries | 22 + src/Windows/router/CVS/Entries.Log | 1 + src/Windows/router/CVS/Repository | 1 + src/Windows/router/CVS/Root | 1 + src/Windows/router/arp.cpp | 95 + src/Windows/router/arp.h | 28 + src/Windows/router/dump.cpp | 49 + src/Windows/router/dump.h | 30 + src/Windows/router/dynsockets.cpp | 184 + src/Windows/router/dynsockets.h | 59 + src/Windows/router/ftp.cpp | 192 + src/Windows/router/ftp.h | 50 + src/Windows/router/icmp.cpp | 220 + src/Windows/router/icmp.h | 38 + src/Windows/router/iphelp.cpp | 235 + src/Windows/router/iphelp.h | 36 + src/Windows/router/ipsocket.cpp | 265 + src/Windows/router/ipsocket.h | 66 + src/Windows/router/mib/CVS/Entries | 5 + src/Windows/router/mib/CVS/Repository | 1 + src/Windows/router/mib/CVS/Root | 1 + src/Windows/router/mib/interfaces.cpp | 68 + src/Windows/router/mib/interfaces.h | 35 + src/Windows/router/mib/mibaccess.cpp | 308 + src/Windows/router/mib/mibaccess.h | 83 + src/Windows/router/router.cpp | 202 + src/Windows/router/router.h | 54 + src/Windows/router/router_types.h | 187 + src/Windows/router/tcp.cpp | 1606 + src/Windows/router/tcp.h | 31 + src/Windows/router/udp.cpp | 205 + src/Windows/router/udp.h | 38 + src/Windows/serial_windows.cpp | 1198 + src/Windows/sys_windows.cpp | 996 + src/Windows/sysdeps.h | 310 + src/Windows/timer_windows.cpp | 271 + src/Windows/user_strings_windows.cpp | 164 + src/Windows/user_strings_windows.h | 66 + src/Windows/util_windows.cpp | 378 + src/Windows/util_windows.h | 53 + src/Windows/xpram_windows.cpp | 102 + src/adb.cpp | 460 + src/audio.cpp | 659 + src/cdrom.cpp | 995 + src/disk.cpp | 546 + src/dummy/CVS/Entries | 10 + src/dummy/CVS/Repository | 1 + src/dummy/CVS/Root | 1 + src/dummy/audio_dummy.cpp | 154 + src/dummy/clip_dummy.cpp | 73 + src/dummy/ether_dummy.cpp | 181 + src/dummy/prefs_dummy.cpp | 82 + src/dummy/prefs_editor_dummy.cpp | 35 + src/dummy/scsi_dummy.cpp | 86 + src/dummy/serial_dummy.cpp | 137 + src/dummy/user_strings_dummy.cpp | 53 + src/dummy/xpram_dummy.cpp | 68 + src/emul_op.cpp | 597 + src/ether.cpp | 498 + src/extfs.cpp | 2283 + src/include/CVS/Entries | 31 + src/include/CVS/Repository | 1 + src/include/CVS/Root | 1 + src/include/adb.h | 40 + src/include/audio.h | 99 + src/include/audio_defs.h | 150 + src/include/cdrom.h | 43 + src/include/clip.h | 30 + src/include/debug.h | 78 + src/include/disk.h | 43 + src/include/emul_op.h | 99 + src/include/ether.h | 96 + src/include/ether_defs.h | 53 + src/include/extfs.h | 55 + src/include/extfs_defs.h | 559 + src/include/macos_util.h | 282 + src/include/main.h | 77 + src/include/prefs.h | 89 + src/include/prefs_editor.h | 26 + src/include/rom_patches.h | 56 + src/include/rsrc_patches.h | 26 + src/include/scsi.h | 43 + src/include/serial.h | 99 + src/include/serial_defs.h | 169 + src/include/slot_rom.h | 27 + src/include/sony.h | 45 + src/include/sys.h | 76 + src/include/timer.h | 49 + src/include/user_strings.h | 239 + src/include/version.h | 29 + src/include/video.h | 272 + src/include/video_defs.h | 189 + src/include/xpram.h | 40 + src/macos_util.cpp | 146 + src/main.cpp | 266 + src/native_cpu/CVS/Entries | 2 + src/native_cpu/CVS/Repository | 1 + src/native_cpu/CVS/Root | 1 + src/native_cpu/cpu_emulation.h | 67 + src/powerrom_cpu/CVS/Entries | 3 + src/powerrom_cpu/CVS/Repository | 1 + src/powerrom_cpu/CVS/Root | 1 + src/powerrom_cpu/cpu_emulation.h | 66 + src/powerrom_cpu/powerrom_cpu.cpp | 1367 + src/prefs.cpp | 467 + src/prefs_items.cpp | 107 + src/rom_patches.cpp | 1689 + src/rsrc_patches.cpp | 359 + src/scsi.cpp | 348 + src/serial.cpp | 251 + src/slirp/COPYRIGHT | 64 + src/slirp/CVS/Entries | 42 + src/slirp/CVS/Repository | 1 + src/slirp/CVS/Root | 1 + src/slirp/VERSION | 1 + src/slirp/bootp.c | 242 + src/slirp/bootp.h | 121 + src/slirp/cksum.c | 141 + src/slirp/ctl.h | 7 + src/slirp/debug.c | 376 + src/slirp/debug.h | 50 + src/slirp/icmp_var.h | 69 + src/slirp/if.c | 322 + src/slirp/if.h | 50 + src/slirp/ip.h | 337 + src/slirp/ip_icmp.c | 375 + src/slirp/ip_icmp.h | 172 + src/slirp/ip_input.c | 697 + src/slirp/ip_output.c | 205 + src/slirp/libslirp.h | 41 + src/slirp/main.h | 54 + src/slirp/mbuf.c | 247 + src/slirp/mbuf.h | 147 + src/slirp/misc.c | 945 + src/slirp/misc.h | 87 + src/slirp/sbuf.c | 202 + src/slirp/sbuf.h | 31 + src/slirp/slirp.c | 670 + src/slirp/slirp.h | 366 + src/slirp/slirp_config.h | 135 + src/slirp/socket.c | 721 + src/slirp/socket.h | 104 + src/slirp/tcp.h | 185 + src/slirp/tcp_input.c | 1725 + src/slirp/tcp_output.c | 605 + src/slirp/tcp_subr.c | 1327 + src/slirp/tcp_timer.c | 326 + src/slirp/tcp_timer.h | 142 + src/slirp/tcp_var.h | 252 + src/slirp/tcpip.h | 74 + src/slirp/tftp.c | 334 + src/slirp/tftp.h | 40 + src/slirp/udp.c | 677 + src/slirp/udp.h | 118 + src/slot_rom.cpp | 478 + src/sony.cpp | 540 + src/timer.cpp | 316 + src/uae_cpu/CVS/Entries | 16 + src/uae_cpu/CVS/Entries.Log | 2 + src/uae_cpu/CVS/Repository | 1 + src/uae_cpu/CVS/Root | 1 + src/uae_cpu/basilisk_glue.cpp | 266 + src/uae_cpu/build68k.c | 262 + src/uae_cpu/compiler/CVS/Entries | 9 + src/uae_cpu/compiler/CVS/Repository | 1 + src/uae_cpu/compiler/CVS/Root | 1 + src/uae_cpu/compiler/codegen_x86.cpp | 4754 ++ src/uae_cpu/compiler/codegen_x86.h | 2565 + src/uae_cpu/compiler/compemu.h | 609 + src/uae_cpu/compiler/compemu_fpp.cpp | 1637 + src/uae_cpu/compiler/compemu_support.cpp | 7132 +++ src/uae_cpu/compiler/flags_x86.h | 47 + src/uae_cpu/compiler/gencomp.c | 3076 ++ src/uae_cpu/compiler/test_codegen_x86.cpp | 2254 + src/uae_cpu/cpu_emulation.h | 102 + src/uae_cpu/cpuopti.c | 298 + src/uae_cpu/fpu/CVS/Entries | 20 + src/uae_cpu/fpu/CVS/Repository | 1 + src/uae_cpu/fpu/CVS/Root | 1 + src/uae_cpu/fpu/core.h | 259 + src/uae_cpu/fpu/exceptions.cpp | 188 + src/uae_cpu/fpu/exceptions.h | 149 + src/uae_cpu/fpu/flags.cpp | 169 + src/uae_cpu/fpu/flags.h | 223 + src/uae_cpu/fpu/fpu.h | 49 + src/uae_cpu/fpu/fpu_ieee.cpp | 2132 + src/uae_cpu/fpu/fpu_ieee.h | 149 + src/uae_cpu/fpu/fpu_soft.cpp | 1981 + src/uae_cpu/fpu/fpu_soft.h | 156 + src/uae_cpu/fpu/fpu_uae.cpp | 2349 + src/uae_cpu/fpu/fpu_uae.h | 212 + src/uae_cpu/fpu/fpu_x86.cpp | 6125 +++ src/uae_cpu/fpu/fpu_x86.h | 361 + src/uae_cpu/fpu/fpu_x86_asm.h | 72 + src/uae_cpu/fpu/impl.h | 149 + src/uae_cpu/fpu/mathlib.cpp | 100 + src/uae_cpu/fpu/mathlib.h | 1131 + src/uae_cpu/fpu/rounding.cpp | 64 + src/uae_cpu/fpu/rounding.h | 154 + src/uae_cpu/fpu/softfloat/softfloat-macros.h | 720 + src/uae_cpu/fpu/softfloat/softfloat-native.c | 505 + src/uae_cpu/fpu/softfloat/softfloat-native.h | 410 + .../fpu/softfloat/softfloat-specialize.h | 569 + src/uae_cpu/fpu/softfloat/softfloat.cpp | 5542 ++ src/uae_cpu/fpu/softfloat/softfloat.h | 453 + src/uae_cpu/fpu/types.h | 187 + src/uae_cpu/gencpu.c | 2523 + src/uae_cpu/m68k.h | 1059 + src/uae_cpu/memory.cpp | 571 + src/uae_cpu/memory.h | 194 + src/uae_cpu/newcpu.cpp | 1504 + src/uae_cpu/newcpu.h | 306 + src/uae_cpu/noflags.h | 142 + src/uae_cpu/readcpu.cpp | 1019 + src/uae_cpu/readcpu.h | 130 + src/uae_cpu/spcflags.h | 93 + src/uae_cpu/table68k | 274 + src/user_strings.cpp | 239 + src/video.cpp | 954 + src/xpram.cpp | 58 + 599 files changed, 245445 insertions(+) create mode 100644 BasiliskII.spec create mode 100644 COPYING create mode 100644 ChangeLog create mode 100644 INSTALL create mode 100644 Makefile create mode 100644 README create mode 100644 TECH create mode 100644 TODO create mode 100644 src/AmigaOS/BasiliskII.info create mode 100644 src/AmigaOS/CVS/Entries create mode 100644 src/AmigaOS/CVS/Repository create mode 100644 src/AmigaOS/CVS/Root create mode 100644 src/AmigaOS/Makefile create mode 100644 src/AmigaOS/asm_support.asm create mode 100644 src/AmigaOS/audio_amiga.cpp create mode 100644 src/AmigaOS/clip_amiga.cpp create mode 100644 src/AmigaOS/ether_amiga.cpp create mode 100644 src/AmigaOS/extfs_amiga.cpp create mode 100644 src/AmigaOS/main_amiga.cpp create mode 100644 src/AmigaOS/prefs_amiga.cpp create mode 100644 src/AmigaOS/prefs_editor_amiga.cpp create mode 100644 src/AmigaOS/scsi_amiga.cpp create mode 100644 src/AmigaOS/serial_amiga.cpp create mode 100644 src/AmigaOS/sys_amiga.cpp create mode 100644 src/AmigaOS/sysdeps.h create mode 100644 src/AmigaOS/timer_amiga.cpp create mode 100644 src/AmigaOS/user_strings_amiga.cpp create mode 100644 src/AmigaOS/user_strings_amiga.h create mode 100644 src/AmigaOS/video_amiga.cpp create mode 100644 src/AmigaOS/xpram_amiga.cpp create mode 100644 src/BeOS/CVS/Entries create mode 100644 src/BeOS/CVS/Entries.Log create mode 100644 src/BeOS/CVS/Repository create mode 100644 src/BeOS/CVS/Root create mode 100644 src/BeOS/Makefile create mode 100644 src/BeOS/SheepDriver/CVS/Entries create mode 100644 src/BeOS/SheepDriver/CVS/Repository create mode 100644 src/BeOS/SheepDriver/CVS/Root create mode 100644 src/BeOS/SheepDriver/Makefile create mode 100644 src/BeOS/SheepDriver/sheep_driver.c create mode 100644 src/BeOS/SheepDriver/sheep_driver.h create mode 100644 src/BeOS/SheepNet/CVS/Entries create mode 100644 src/BeOS/SheepNet/CVS/Repository create mode 100644 src/BeOS/SheepNet/CVS/Root create mode 100644 src/BeOS/SheepNet/Makefile create mode 100644 src/BeOS/SheepNet/sheep_net.cpp create mode 100644 src/BeOS/SheepNet/sheep_net.h create mode 100644 src/BeOS/about_window.cpp create mode 100644 src/BeOS/about_window.h create mode 100644 src/BeOS/audio_beos.cpp create mode 100644 src/BeOS/clip_beos.cpp create mode 100644 src/BeOS/ether_beos.cpp create mode 100644 src/BeOS/extfs_beos.cpp create mode 100644 src/BeOS/main_beos.cpp create mode 100644 src/BeOS/prefs_beos.cpp create mode 100644 src/BeOS/prefs_editor_beos.cpp create mode 100644 src/BeOS/scsi_beos.cpp create mode 100644 src/BeOS/serial_beos.cpp create mode 100644 src/BeOS/sys_beos.cpp create mode 100644 src/BeOS/sysdeps.h create mode 100644 src/BeOS/timer_beos.cpp create mode 100644 src/BeOS/user_strings_beos.cpp create mode 100644 src/BeOS/user_strings_beos.h create mode 100644 src/BeOS/video_beos.cpp create mode 100644 src/BeOS/xpram_beos.cpp create mode 100644 src/CVS/Entries create mode 100644 src/CVS/Entries.Log create mode 100644 src/CVS/Repository create mode 100644 src/CVS/Root create mode 100644 src/MacOSX/0_HOW_TO_BUILD.txt create mode 100644 src/MacOSX/AudioBackEnd.cpp create mode 100644 src/MacOSX/AudioBackEnd.h create mode 100644 src/MacOSX/AudioDevice.cpp create mode 100644 src/MacOSX/AudioDevice.h create mode 100644 src/MacOSX/BasiliskII.pbproj/CVS/Entries create mode 100644 src/MacOSX/BasiliskII.pbproj/CVS/Repository create mode 100644 src/MacOSX/BasiliskII.pbproj/CVS/Root create mode 100644 src/MacOSX/BasiliskII.pbproj/project.pbxproj create mode 100644 src/MacOSX/BasiliskII.xcode/CVS/Entries create mode 100644 src/MacOSX/BasiliskII.xcode/CVS/Repository create mode 100644 src/MacOSX/BasiliskII.xcode/CVS/Root create mode 100644 src/MacOSX/BasiliskII.xcode/project.pbxproj create mode 100644 src/MacOSX/CVS/Entries create mode 100644 src/MacOSX/CVS/Entries.Log create mode 100644 src/MacOSX/CVS/Repository create mode 100644 src/MacOSX/CVS/Root create mode 100644 src/MacOSX/Controller.h create mode 100644 src/MacOSX/Controller.mm create mode 100644 src/MacOSX/Credits.html create mode 100644 src/MacOSX/Emulator.h create mode 100644 src/MacOSX/Emulator.mm create mode 100644 src/MacOSX/EmulatorView.h create mode 100644 src/MacOSX/EmulatorView.mm create mode 100644 src/MacOSX/English.lproj/CVS/Entries create mode 100644 src/MacOSX/English.lproj/CVS/Entries.Log create mode 100644 src/MacOSX/English.lproj/CVS/Repository create mode 100644 src/MacOSX/English.lproj/CVS/Root create mode 100644 src/MacOSX/English.lproj/InfoPlist.strings create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/CVS/Entries create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/CVS/Repository create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/CVS/Root create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/Collapsed.tiff create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/Expanded.tiff create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/classes.nib create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/info.nib create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/objects.nib create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/resetH.tiff create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/resetN.tiff create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/shutdownH.tiff create mode 100644 src/MacOSX/English.lproj/MainMenu.nib/shutdownN.tiff create mode 100644 src/MacOSX/HowTo.html create mode 100644 src/MacOSX/Info.plist create mode 100644 src/MacOSX/MacOSX_sound_if.cpp create mode 100644 src/MacOSX/MacOSX_sound_if.h create mode 100644 src/MacOSX/Makefile.in create mode 100644 src/MacOSX/Multiple-Windows/CVS/Entries create mode 100644 src/MacOSX/Multiple-Windows/CVS/Entries.Log create mode 100644 src/MacOSX/Multiple-Windows/CVS/Repository create mode 100644 src/MacOSX/Multiple-Windows/CVS/Root create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/CVS/Entries create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/CVS/Entries.Log create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/CVS/Repository create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/CVS/Root create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/InfoPlist.strings create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/MainMenu.nib/CVS/Entries create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/MainMenu.nib/CVS/Repository create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/MainMenu.nib/CVS/Root create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/MainMenu.nib/classes.nib create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/MainMenu.nib/info.nib create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/MainMenu.nib/objects.nib create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/CVS/Entries create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/CVS/Repository create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/CVS/Root create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/Collapsed.tiff create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/Expanded.tiff create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/classes.nib create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/info.nib create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/objects.nib create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/resetH.tiff create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/resetN.tiff create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/shutdownH.tiff create mode 100644 src/MacOSX/Multiple-Windows/English.lproj/Win512x342.nib/shutdownN.tiff create mode 100644 src/MacOSX/Multiple-Windows/README create mode 100644 src/MacOSX/NNThread.h create mode 100644 src/MacOSX/NNThread.m create mode 100644 src/MacOSX/PrefsEditor.h create mode 100644 src/MacOSX/PrefsEditor.mm create mode 100644 src/MacOSX/ToDo.html create mode 100644 src/MacOSX/Versions.html create mode 100644 src/MacOSX/audio_defs_macosx.h create mode 100644 src/MacOSX/audio_macosx.cpp create mode 100644 src/MacOSX/clip_macosx.cpp create mode 100644 src/MacOSX/config_macosx.h create mode 100644 src/MacOSX/configure.in create mode 100644 src/MacOSX/extfs_macosx.cpp create mode 100644 src/MacOSX/macos_util_macosx.h create mode 100644 src/MacOSX/main_macosx.h create mode 100644 src/MacOSX/main_macosx.mm create mode 100644 src/MacOSX/misc_macosx.h create mode 100644 src/MacOSX/misc_macosx.mm create mode 100644 src/MacOSX/prefs_macosx.cpp create mode 100644 src/MacOSX/sys_darwin.cpp create mode 100644 src/MacOSX/sysdeps.h create mode 100644 src/MacOSX/video_macosx.h create mode 100644 src/MacOSX/video_macosx.mm create mode 100644 src/PSP/BasiliskII.cbp create mode 100644 src/PSP/BasiliskII.layout create mode 100644 src/PSP/ICON0b2.PNG create mode 100644 src/PSP/ICON0blk.PNG create mode 100644 src/PSP/ICON0wht.PNG create mode 100644 src/PSP/PIC1.PNG create mode 100644 src/PSP/SND0.AT3 create mode 100644 src/PSP/audio_psp.cpp create mode 100644 src/PSP/clip_psp.cpp create mode 100644 src/PSP/cpudefs.cpp create mode 100644 src/PSP/cpuemu.cpp create mode 100644 src/PSP/cpustbl.cpp create mode 100644 src/PSP/cputbl.h create mode 100644 src/PSP/danzeff/danzeff.c create mode 100644 src/PSP/danzeff/danzeff.h create mode 100644 src/PSP/danzeff/danzeff_readme.txt create mode 100644 src/PSP/danzeff/graphics/keys.png create mode 100644 src/PSP/danzeff/graphics/keys_c.png create mode 100644 src/PSP/danzeff/graphics/keys_c_t.png create mode 100644 src/PSP/danzeff/graphics/keys_s.png create mode 100644 src/PSP/danzeff/graphics/keys_s_c.png create mode 100644 src/PSP/danzeff/graphics/keys_t.png create mode 100644 src/PSP/danzeff/graphics/nums.png create mode 100644 src/PSP/danzeff/graphics/nums_c.png create mode 100644 src/PSP/danzeff/graphics/nums_c_t.png create mode 100644 src/PSP/danzeff/graphics/nums_s.png create mode 100644 src/PSP/danzeff/graphics/nums_s_c.png create mode 100644 src/PSP/danzeff/graphics/nums_t.png create mode 100644 src/PSP/danzeff/pspctrl_emu.c create mode 100644 src/PSP/danzeff/pspctrl_emu.h create mode 100644 src/PSP/dvemgr/Makefile create mode 100644 src/PSP/dvemgr/dvemgr.elf create mode 100644 src/PSP/dvemgr/dvemgr.prx create mode 100644 src/PSP/dvemgr/exports.exp create mode 100644 src/PSP/dvemgr/exports.o create mode 100644 src/PSP/dvemgr/main.c create mode 100644 src/PSP/dvemgr/main.o create mode 100644 src/PSP/dvemgr/pspDveManager.S create mode 100644 src/PSP/dvemgr/sceGe_driver.S create mode 100644 src/PSP/dvemgr/sceGe_driver.o create mode 100644 src/PSP/ether_psp.cpp create mode 100644 src/PSP/extfs_psp.cpp create mode 100644 src/PSP/extfs_psp_old.cpp create mode 100644 src/PSP/ftruncate.cpp create mode 100644 src/PSP/gui_psp.cpp create mode 100644 src/PSP/gui_psp.h create mode 100644 src/PSP/imaps/Maelstrom create mode 100644 src/PSP/imaps/default create mode 100644 src/PSP/imaps/dpad_mouse create mode 100644 src/PSP/intraFont.cpp create mode 100644 src/PSP/intraFont.h create mode 100644 src/PSP/main_psp.cpp create mode 100644 src/PSP/makefile create mode 100644 src/PSP/prefs_editor_psp.cpp create mode 100644 src/PSP/prefs_psp.cpp create mode 100644 src/PSP/reqfile.cpp create mode 100644 src/PSP/scsi_psp.cpp create mode 100644 src/PSP/serial_psp.cpp create mode 100644 src/PSP/sys_psp.cpp create mode 100644 src/PSP/sysdeps.h create mode 100644 src/PSP/timer_psp.cpp create mode 100644 src/PSP/user_strings_psp.cpp create mode 100644 src/PSP/user_strings_psp.h create mode 100644 src/PSP/video_psp.cpp create mode 100644 src/PSP/video_psp_old.cpp create mode 100644 src/PSP/xpram_psp.cpp create mode 100644 src/SDL/CVS/Entries create mode 100644 src/SDL/CVS/Repository create mode 100644 src/SDL/CVS/Root create mode 100644 src/SDL/audio_sdl.cpp create mode 100644 src/SDL/keycodes create mode 100644 src/SDL/video_sdl.cpp create mode 100644 src/Unix/BasiliskII.1 create mode 100644 src/Unix/CVS/Entries create mode 100644 src/Unix/CVS/Entries.Log create mode 100644 src/Unix/CVS/Repository create mode 100644 src/Unix/CVS/Root create mode 100644 src/Unix/Darwin/CVS/Entries create mode 100644 src/Unix/Darwin/CVS/Repository create mode 100644 src/Unix/Darwin/CVS/Root create mode 100644 src/Unix/Darwin/gtk-osx.patch create mode 100644 src/Unix/Darwin/lowmem.c create mode 100644 src/Unix/Darwin/mkstandalone create mode 100644 src/Unix/Darwin/pagezero.c create mode 100644 src/Unix/Darwin/testlmem.sh create mode 100644 src/Unix/FreeBSD/CVS/Entries create mode 100644 src/Unix/FreeBSD/CVS/Repository create mode 100644 src/Unix/FreeBSD/CVS/Root create mode 100644 src/Unix/FreeBSD/scsi_freebsd.cpp create mode 100644 src/Unix/FreeBSD/scsidump.cpp create mode 100644 src/Unix/Irix/CVS/Entries create mode 100644 src/Unix/Irix/CVS/Repository create mode 100644 src/Unix/Irix/CVS/Root create mode 100644 src/Unix/Irix/README.networking create mode 100644 src/Unix/Irix/audio_irix.cpp create mode 100644 src/Unix/Irix/unaligned.c create mode 100644 src/Unix/Linux/CVS/Entries create mode 100644 src/Unix/Linux/CVS/Entries.Log create mode 100644 src/Unix/Linux/CVS/Repository create mode 100644 src/Unix/Linux/CVS/Root create mode 100644 src/Unix/Linux/NetDriver/CVS/Entries create mode 100644 src/Unix/Linux/NetDriver/CVS/Repository create mode 100644 src/Unix/Linux/NetDriver/CVS/Root create mode 100644 src/Unix/Linux/NetDriver/Makefile create mode 100644 src/Unix/Linux/NetDriver/sheep_net.c create mode 100644 src/Unix/Linux/scsi_linux.cpp create mode 100644 src/Unix/Makefile.in create mode 100644 src/Unix/NetBSD/CVS/Entries create mode 100644 src/Unix/NetBSD/CVS/Repository create mode 100644 src/Unix/NetBSD/CVS/Root create mode 100644 src/Unix/Solaris/CVS/Entries create mode 100644 src/Unix/Solaris/CVS/Repository create mode 100644 src/Unix/Solaris/CVS/Root create mode 100644 src/Unix/Solaris/audio_solaris.cpp create mode 100644 src/Unix/Solaris/which_sparc create mode 100644 src/Unix/acinclude.m4 create mode 100644 src/Unix/asm_support.s create mode 100644 src/Unix/audio_oss_esd.cpp create mode 100644 src/Unix/autogen.sh create mode 100644 src/Unix/clip_unix.cpp create mode 100644 src/Unix/config.guess create mode 100644 src/Unix/config.sub create mode 100644 src/Unix/configure.ac create mode 100644 src/Unix/ether_unix.cpp create mode 100644 src/Unix/extfs_unix.cpp create mode 100644 src/Unix/fbdevices create mode 100644 src/Unix/install-sh create mode 100644 src/Unix/keycodes create mode 100644 src/Unix/ldscripts/CVS/Entries create mode 100644 src/Unix/ldscripts/CVS/Repository create mode 100644 src/Unix/ldscripts/CVS/Root create mode 100644 src/Unix/ldscripts/freebsd-i386.ld create mode 100644 src/Unix/ldscripts/linux-i386.ld create mode 100644 src/Unix/ldscripts/linux-ppc.ld create mode 100644 src/Unix/ldscripts/linux-x86_64.ld create mode 100644 src/Unix/m4/CVS/Entries create mode 100644 src/Unix/m4/CVS/Repository create mode 100644 src/Unix/m4/CVS/Root create mode 100644 src/Unix/m4/egrep.m4 create mode 100644 src/Unix/m4/esd.m4 create mode 100644 src/Unix/m4/gettext.m4 create mode 100644 src/Unix/m4/gtk-2.0.m4 create mode 100644 src/Unix/m4/gtk.m4 create mode 100644 src/Unix/main_unix.cpp create mode 100644 src/Unix/mkinstalldirs create mode 100644 src/Unix/posix_sem.cpp create mode 100644 src/Unix/prefs_editor_gtk.cpp create mode 100644 src/Unix/prefs_unix.cpp create mode 100644 src/Unix/rpc.h create mode 100644 src/Unix/rpc_unix.cpp create mode 100644 src/Unix/semaphore.h create mode 100644 src/Unix/serial_unix.cpp create mode 100644 src/Unix/sigsegv.cpp create mode 100644 src/Unix/sigsegv.h create mode 100644 src/Unix/sshpty.c create mode 100644 src/Unix/sshpty.h create mode 100644 src/Unix/strlcpy.c create mode 100644 src/Unix/strlcpy.h create mode 100644 src/Unix/sys_unix.cpp create mode 100644 src/Unix/sysdeps.h create mode 100644 src/Unix/timer_unix.cpp create mode 100644 src/Unix/tunconfig create mode 100644 src/Unix/user_strings_unix.cpp create mode 100644 src/Unix/user_strings_unix.h create mode 100644 src/Unix/video_blit.cpp create mode 100644 src/Unix/video_blit.h create mode 100644 src/Unix/video_vosf.h create mode 100644 src/Unix/video_x.cpp create mode 100644 src/Unix/vm_alloc.cpp create mode 100644 src/Unix/vm_alloc.h create mode 100644 src/Unix/xpram_unix.cpp create mode 100644 src/Windows/BasiliskII.ico create mode 100644 src/Windows/BasiliskII.rc create mode 100644 src/Windows/BasiliskIIGUI.ico create mode 100644 src/Windows/BasiliskIIGUI.rc create mode 100644 src/Windows/CVS/Entries create mode 100644 src/Windows/CVS/Entries.Log create mode 100644 src/Windows/CVS/Repository create mode 100644 src/Windows/CVS/Root create mode 100644 src/Windows/Makefile.in create mode 100644 src/Windows/b2ether/CVS/Entries create mode 100644 src/Windows/b2ether/CVS/Entries.Log create mode 100644 src/Windows/b2ether/CVS/Repository create mode 100644 src/Windows/b2ether/CVS/Root create mode 100644 src/Windows/b2ether/inc/CVS/Entries create mode 100644 src/Windows/b2ether/inc/CVS/Repository create mode 100644 src/Windows/b2ether/inc/CVS/Root create mode 100644 src/Windows/b2ether/inc/b2ether_hl.h create mode 100644 src/Windows/b2ether/inc/ntddpack.h create mode 100644 src/Windows/b2ether/multiopt.h create mode 100644 src/Windows/b2ether/packet32.cpp create mode 100644 src/Windows/cd_defs.h create mode 100644 src/Windows/cdenable/CVS/Entries create mode 100644 src/Windows/cdenable/CVS/Repository create mode 100644 src/Windows/cdenable/CVS/Root create mode 100644 src/Windows/cdenable/cache.cpp create mode 100644 src/Windows/cdenable/cache.h create mode 100644 src/Windows/cdenable/cdenable.h create mode 100644 src/Windows/cdenable/eject_nt.cpp create mode 100644 src/Windows/cdenable/eject_nt.h create mode 100644 src/Windows/cdenable/ntcd.cpp create mode 100644 src/Windows/cdenable/ntcd.h create mode 100644 src/Windows/clip_windows.cpp create mode 100644 src/Windows/configure.ac create mode 100644 src/Windows/ether_windows.cpp create mode 100644 src/Windows/ether_windows.h create mode 100644 src/Windows/extfs_windows.cpp create mode 100644 src/Windows/kernel_windows.cpp create mode 100644 src/Windows/kernel_windows.h create mode 100644 src/Windows/main_windows.cpp create mode 100644 src/Windows/posix_emu.cpp create mode 100644 src/Windows/posix_emu.h create mode 100644 src/Windows/prefs_editor_gtk.cpp create mode 100644 src/Windows/prefs_windows.cpp create mode 100644 src/Windows/router/CVS/Entries create mode 100644 src/Windows/router/CVS/Entries.Log create mode 100644 src/Windows/router/CVS/Repository create mode 100644 src/Windows/router/CVS/Root create mode 100644 src/Windows/router/arp.cpp create mode 100644 src/Windows/router/arp.h create mode 100644 src/Windows/router/dump.cpp create mode 100644 src/Windows/router/dump.h create mode 100644 src/Windows/router/dynsockets.cpp create mode 100644 src/Windows/router/dynsockets.h create mode 100644 src/Windows/router/ftp.cpp create mode 100644 src/Windows/router/ftp.h create mode 100644 src/Windows/router/icmp.cpp create mode 100644 src/Windows/router/icmp.h create mode 100644 src/Windows/router/iphelp.cpp create mode 100644 src/Windows/router/iphelp.h create mode 100644 src/Windows/router/ipsocket.cpp create mode 100644 src/Windows/router/ipsocket.h create mode 100644 src/Windows/router/mib/CVS/Entries create mode 100644 src/Windows/router/mib/CVS/Repository create mode 100644 src/Windows/router/mib/CVS/Root create mode 100644 src/Windows/router/mib/interfaces.cpp create mode 100644 src/Windows/router/mib/interfaces.h create mode 100644 src/Windows/router/mib/mibaccess.cpp create mode 100644 src/Windows/router/mib/mibaccess.h create mode 100644 src/Windows/router/router.cpp create mode 100644 src/Windows/router/router.h create mode 100644 src/Windows/router/router_types.h create mode 100644 src/Windows/router/tcp.cpp create mode 100644 src/Windows/router/tcp.h create mode 100644 src/Windows/router/udp.cpp create mode 100644 src/Windows/router/udp.h create mode 100644 src/Windows/serial_windows.cpp create mode 100644 src/Windows/sys_windows.cpp create mode 100644 src/Windows/sysdeps.h create mode 100644 src/Windows/timer_windows.cpp create mode 100644 src/Windows/user_strings_windows.cpp create mode 100644 src/Windows/user_strings_windows.h create mode 100644 src/Windows/util_windows.cpp create mode 100644 src/Windows/util_windows.h create mode 100644 src/Windows/xpram_windows.cpp create mode 100644 src/adb.cpp create mode 100644 src/audio.cpp create mode 100644 src/cdrom.cpp create mode 100644 src/disk.cpp create mode 100644 src/dummy/CVS/Entries create mode 100644 src/dummy/CVS/Repository create mode 100644 src/dummy/CVS/Root create mode 100644 src/dummy/audio_dummy.cpp create mode 100644 src/dummy/clip_dummy.cpp create mode 100644 src/dummy/ether_dummy.cpp create mode 100644 src/dummy/prefs_dummy.cpp create mode 100644 src/dummy/prefs_editor_dummy.cpp create mode 100644 src/dummy/scsi_dummy.cpp create mode 100644 src/dummy/serial_dummy.cpp create mode 100644 src/dummy/user_strings_dummy.cpp create mode 100644 src/dummy/xpram_dummy.cpp create mode 100644 src/emul_op.cpp create mode 100644 src/ether.cpp create mode 100644 src/extfs.cpp create mode 100644 src/include/CVS/Entries create mode 100644 src/include/CVS/Repository create mode 100644 src/include/CVS/Root create mode 100644 src/include/adb.h create mode 100644 src/include/audio.h create mode 100644 src/include/audio_defs.h create mode 100644 src/include/cdrom.h create mode 100644 src/include/clip.h create mode 100644 src/include/debug.h create mode 100644 src/include/disk.h create mode 100644 src/include/emul_op.h create mode 100644 src/include/ether.h create mode 100644 src/include/ether_defs.h create mode 100644 src/include/extfs.h create mode 100644 src/include/extfs_defs.h create mode 100644 src/include/macos_util.h create mode 100644 src/include/main.h create mode 100644 src/include/prefs.h create mode 100644 src/include/prefs_editor.h create mode 100644 src/include/rom_patches.h create mode 100644 src/include/rsrc_patches.h create mode 100644 src/include/scsi.h create mode 100644 src/include/serial.h create mode 100644 src/include/serial_defs.h create mode 100644 src/include/slot_rom.h create mode 100644 src/include/sony.h create mode 100644 src/include/sys.h create mode 100644 src/include/timer.h create mode 100644 src/include/user_strings.h create mode 100644 src/include/version.h create mode 100644 src/include/video.h create mode 100644 src/include/video_defs.h create mode 100644 src/include/xpram.h create mode 100644 src/macos_util.cpp create mode 100644 src/main.cpp create mode 100644 src/native_cpu/CVS/Entries create mode 100644 src/native_cpu/CVS/Repository create mode 100644 src/native_cpu/CVS/Root create mode 100644 src/native_cpu/cpu_emulation.h create mode 100644 src/powerrom_cpu/CVS/Entries create mode 100644 src/powerrom_cpu/CVS/Repository create mode 100644 src/powerrom_cpu/CVS/Root create mode 100644 src/powerrom_cpu/cpu_emulation.h create mode 100644 src/powerrom_cpu/powerrom_cpu.cpp create mode 100644 src/prefs.cpp create mode 100644 src/prefs_items.cpp create mode 100644 src/rom_patches.cpp create mode 100644 src/rsrc_patches.cpp create mode 100644 src/scsi.cpp create mode 100644 src/serial.cpp create mode 100644 src/slirp/COPYRIGHT create mode 100644 src/slirp/CVS/Entries create mode 100644 src/slirp/CVS/Repository create mode 100644 src/slirp/CVS/Root create mode 100644 src/slirp/VERSION create mode 100644 src/slirp/bootp.c create mode 100644 src/slirp/bootp.h create mode 100644 src/slirp/cksum.c create mode 100644 src/slirp/ctl.h create mode 100644 src/slirp/debug.c create mode 100644 src/slirp/debug.h create mode 100644 src/slirp/icmp_var.h create mode 100644 src/slirp/if.c create mode 100644 src/slirp/if.h create mode 100644 src/slirp/ip.h create mode 100644 src/slirp/ip_icmp.c create mode 100644 src/slirp/ip_icmp.h create mode 100644 src/slirp/ip_input.c create mode 100644 src/slirp/ip_output.c create mode 100644 src/slirp/libslirp.h create mode 100644 src/slirp/main.h create mode 100644 src/slirp/mbuf.c create mode 100644 src/slirp/mbuf.h create mode 100644 src/slirp/misc.c create mode 100644 src/slirp/misc.h create mode 100644 src/slirp/sbuf.c create mode 100644 src/slirp/sbuf.h create mode 100644 src/slirp/slirp.c create mode 100644 src/slirp/slirp.h create mode 100644 src/slirp/slirp_config.h create mode 100644 src/slirp/socket.c create mode 100644 src/slirp/socket.h create mode 100644 src/slirp/tcp.h create mode 100644 src/slirp/tcp_input.c create mode 100644 src/slirp/tcp_output.c create mode 100644 src/slirp/tcp_subr.c create mode 100644 src/slirp/tcp_timer.c create mode 100644 src/slirp/tcp_timer.h create mode 100644 src/slirp/tcp_var.h create mode 100644 src/slirp/tcpip.h create mode 100644 src/slirp/tftp.c create mode 100644 src/slirp/tftp.h create mode 100644 src/slirp/udp.c create mode 100644 src/slirp/udp.h create mode 100644 src/slot_rom.cpp create mode 100644 src/sony.cpp create mode 100644 src/timer.cpp create mode 100644 src/uae_cpu/CVS/Entries create mode 100644 src/uae_cpu/CVS/Entries.Log create mode 100644 src/uae_cpu/CVS/Repository create mode 100644 src/uae_cpu/CVS/Root create mode 100644 src/uae_cpu/basilisk_glue.cpp create mode 100644 src/uae_cpu/build68k.c create mode 100644 src/uae_cpu/compiler/CVS/Entries create mode 100644 src/uae_cpu/compiler/CVS/Repository create mode 100644 src/uae_cpu/compiler/CVS/Root create mode 100644 src/uae_cpu/compiler/codegen_x86.cpp create mode 100644 src/uae_cpu/compiler/codegen_x86.h create mode 100644 src/uae_cpu/compiler/compemu.h create mode 100644 src/uae_cpu/compiler/compemu_fpp.cpp create mode 100644 src/uae_cpu/compiler/compemu_support.cpp create mode 100644 src/uae_cpu/compiler/flags_x86.h create mode 100644 src/uae_cpu/compiler/gencomp.c create mode 100644 src/uae_cpu/compiler/test_codegen_x86.cpp create mode 100644 src/uae_cpu/cpu_emulation.h create mode 100644 src/uae_cpu/cpuopti.c create mode 100644 src/uae_cpu/fpu/CVS/Entries create mode 100644 src/uae_cpu/fpu/CVS/Repository create mode 100644 src/uae_cpu/fpu/CVS/Root create mode 100644 src/uae_cpu/fpu/core.h create mode 100644 src/uae_cpu/fpu/exceptions.cpp create mode 100644 src/uae_cpu/fpu/exceptions.h create mode 100644 src/uae_cpu/fpu/flags.cpp create mode 100644 src/uae_cpu/fpu/flags.h create mode 100644 src/uae_cpu/fpu/fpu.h create mode 100644 src/uae_cpu/fpu/fpu_ieee.cpp create mode 100644 src/uae_cpu/fpu/fpu_ieee.h create mode 100644 src/uae_cpu/fpu/fpu_soft.cpp create mode 100644 src/uae_cpu/fpu/fpu_soft.h create mode 100644 src/uae_cpu/fpu/fpu_uae.cpp create mode 100644 src/uae_cpu/fpu/fpu_uae.h create mode 100644 src/uae_cpu/fpu/fpu_x86.cpp create mode 100644 src/uae_cpu/fpu/fpu_x86.h create mode 100644 src/uae_cpu/fpu/fpu_x86_asm.h create mode 100644 src/uae_cpu/fpu/impl.h create mode 100644 src/uae_cpu/fpu/mathlib.cpp create mode 100644 src/uae_cpu/fpu/mathlib.h create mode 100644 src/uae_cpu/fpu/rounding.cpp create mode 100644 src/uae_cpu/fpu/rounding.h create mode 100644 src/uae_cpu/fpu/softfloat/softfloat-macros.h create mode 100644 src/uae_cpu/fpu/softfloat/softfloat-native.c create mode 100644 src/uae_cpu/fpu/softfloat/softfloat-native.h create mode 100644 src/uae_cpu/fpu/softfloat/softfloat-specialize.h create mode 100644 src/uae_cpu/fpu/softfloat/softfloat.cpp create mode 100644 src/uae_cpu/fpu/softfloat/softfloat.h create mode 100644 src/uae_cpu/fpu/types.h create mode 100644 src/uae_cpu/gencpu.c create mode 100644 src/uae_cpu/m68k.h create mode 100644 src/uae_cpu/memory.cpp create mode 100644 src/uae_cpu/memory.h create mode 100644 src/uae_cpu/newcpu.cpp create mode 100644 src/uae_cpu/newcpu.h create mode 100644 src/uae_cpu/noflags.h create mode 100644 src/uae_cpu/readcpu.cpp create mode 100644 src/uae_cpu/readcpu.h create mode 100644 src/uae_cpu/spcflags.h create mode 100644 src/uae_cpu/table68k create mode 100644 src/user_strings.cpp create mode 100644 src/video.cpp create mode 100644 src/xpram.cpp diff --git a/BasiliskII.spec b/BasiliskII.spec new file mode 100644 index 0000000..291de26 --- /dev/null +++ b/BasiliskII.spec @@ -0,0 +1,67 @@ +%define name BasiliskII +%define version 1.0rc1 +%define release 1 + +Summary: 68k Macintosh emulator +Name: %{name} +Version: %{version} +Release: %{release} +License: GPL +Group: Applications/Emulators +Source0: %{name}_src_30062005.tar.gz +URL: http://www.uni-mainz.de/~bauec002/B2Main.html +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# While the data file path (/usr/share/BasiliskII) is compiled into the +# executable, the data files are not required for operation and their location +# can be overridden with prefs items, so I consider this package to be +# relocatable. +Prefix: %{_prefix} + +%description +Basilisk II is an Open Source 68k Macintosh emulator. That is, it enables +you to run 68k MacOS software on you computer, even if you are using a +different operating system. However, you still need a copy of MacOS and +a Macintosh ROM image to use Basilisk II. + +Some features of Basilisk II: + - Emulates either a Mac Classic (which runs MacOS 0.x thru 7.5) + or a Mac II series machine (which runs MacOS 7.x, 8.0 and 8.1), + depending on the ROM being used + - Color video display + - CD quality sound output + - Floppy disk driver (only 1.44MB disks supported) + - Driver for HFS partitions and hardfiles + - CD-ROM driver with basic audio functions + - Easy file exchange with the host OS via a "Host Directory Tree" icon + on the Mac desktop + - Ethernet driver + - Serial drivers + - SCSI Manager (old-style) emulation + - Emulates extended ADB keyboard and 3-button mouse + - Uses UAE 68k emulation or (under AmigaOS and NetBSD/m68k) real 68k + processor + +%prep +%setup -q + +%build +cd src/Unix +%configure +make + +%install +rm -rf ${RPM_BUILD_ROOT} +cd src/Unix +%makeinstall + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +%doc ChangeLog COPYING INSTALL README TECH TODO +%{_bindir}/BasiliskII +%{_mandir}/man1/BasiliskII.1* +%config %{_datadir}/BasiliskII/keycodes +%config %{_datadir}/BasiliskII/fbdevices diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..60549be --- /dev/null +++ b/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..4ae8ccf --- /dev/null +++ b/ChangeLog @@ -0,0 +1,516 @@ +V1.0 (snapshot) - + - fixed support for volumes larger than 4 GB + - fixed the problem with Ticks getting incremented on every interrupt, not + just 60Hz (e.g. moving the mouse made the caret blink faster) + - backport "idlewait" feature from SheepShaver + - JIT: integrated dynamic translator for Linux/x86 and FreeBSD/x86 + - JIT: ported backend to support Linux/x86_64 (AMD64 and EM64T platforms) + - JIT: fixed translation through constant jumps ("jitinline" config option) + - JIT: improve detection of newer CPUs based on the P4 core but + fallback to a safe default, if necessary + - Unix: moved minimum autoconf support to 2.52+ + - Unix: add large file support for 2+ GB hard disk images + - Unix: cleaned up pthread attributes [Brian Johnson] + - Unix: fixed floppy problems under Linux + - Unix: implemented "ignoresegv" feature on Linux/x86, Linux/ppc, Darwin/ppc + - Unix: serial port baud rates are now set correctly + - Unix: it is now possible to make the serial drivers pipe their input/output + to programs by using a '|' followed by a command line as the modem or + printer port setting (instead of a device name like '/dev/ttyS0') + [Brian Johnson] + - Unix: the option "--config FILE" tells B2 to use a different config file + - Unix: new prefs options "dsp" and "mixer" to set the OSS device names + instead of the hardcoded '/dev/dsp' and '/dev/mixer' + - Unix: new ether prefs option 'tun' to use a TUN/TAP interface. The + configure script used can be overriden with "etherconfig" + - Unix: SDL audio and video output are now available in option + - Unix: sheep_net driver ported to kernel 2.6 (patches from Mac-On-Linux) + - Unix: fix network code to work correctly on 64-bit platforms + - Unix: add user-mode network emulation stack, enabled with 'slirp' + - Unix: implement X11 to MacOS exchange of text through the clipboard + - Unix: improve overall responsiveness on NetBSD platforms + - Unix: fix GUI to build with newer GTK+2 + - Unix: fix crash when exitting the GUI early + - Unix: fix fullscreen DGA mode with the VidMode extension + - Windows: a new port derived from Lauri's work is now available + +V1.0 (snapshot) - 15.Jan.2002 + - added support for on-the-fly video resolution and depth switching, and + gamma tables + - fsave/frestore emulation under AmigaOS and NetBSD/m68k always behaves like + a 68882/68040 FPU, eliminating the need for 68060 FPU patches + - added support for platform-independant mutexes, used by adb.cpp for + thread-safe mouse handling + - the TIME_OFFSET constant has been replaced by a (portable) function + TimeToMacTime(); file dates in ExtFS should now be correct + - ADBInterrupt() is no longer called from the 60Hz interrupt but has its own + interrupt flag, potentially increasing the smoothness of mouse movement + - ether.cpp: implemented relatively platform-independant "AppleTalk over UDP" + mode that doesn't require any special kernel modules or network drivers but + can only interconnect instances of Basilisk II; this is enabled by setting + "udptunnel" to true + - Unix: windowed display mode supports different resolutions and color depths, + which can be switched on-the-fly + - Unix: Ctrl-F5 grabs mouse in windowed mode (enhanced compatibility with + games like flight simulators) + - Unix: X11 events are handled as soon as they arrive, outside of the 60Hz + video refresh raster + - Unix: audio sample rate, bit depth and channel count are adjustable in the + MacOS "Sound" control panel + +V0.9 (release 0.9-1) - 31.May 2001 + - final adjustments for 0.9 release + +V0.9 (snapshot) - 29.May 2001 + - added help for command line arguments, PrefsInit() now removes all processed + options + - serial_unix.cpp: input/output_thread_cancel weren't initialized + [Kolja Waschk] + - Unix: some performance improvements to VOSF screen update code + [Brian J. Johnson] + - Unix: renewed SIGSEGV support functions. Side effect: configure script + cleanups and probable Direct Addressing/VOSF support for other platforms + (NetBSD, AIX, OSF/1, Irix) [Gwenole Beauchesne] + - Unix: -Ofast option is supplied to MIPSPro compiler [Brian J. Johnson] + - Unix: workaround for IRIX pthreads bug in Delay_usec() [Brian J. Johnson] + - Unix: FreeBSD configure script cleanups [Michael Alyn Miller] + - Unix: ether_linux.cpp moved and renamed to ether_unix.cpp, now also works + with the tap driver under FreeBSD [Michael Alyn Miller] + - BeOS: fixed some bugs in the extfs file types handling + - AmigaOS: SCSI buffer type can be selected + +V0.9 (snapshot) - 17.Feb.2001 + - adapted for cxmon V3.0 which is now the required minimum + - UAE cpu: fixed a bug in the memory handlers preventing from correctly + updating 15 and 16 bpp displays on big endian systems + - Unix: added (experimental) real addressing mode [Gwenole Beauchesne] + (activated through the "--enable-addressing=real" configure option) + - Unix: added direct addressing mode [Gwenole Beauchesne] (default addressing + mode, if possible) + - Unix: added screen updates on SEGV signals [Gwenole Beauchesne] (activated + through the "--enable-vosf" configure option) + - Unix: added IRIX audio driver [Brian J. Johnson] + - Unix: improved timing of periodic threads + - Unix: command line options now use '--'-prefix, e.g. "--rominfo" + - AmigaOS: enabled floppy support, fixed floppy bugs [Jürgen Lachmann] + - AmigaOS: Amiga mouse pointer is hidden inside windowed Mac displays + - AmigaOS/sys_amiga.cpp: workaround for 2060scsi.device bug when when reading + from CD-ROM [Jürgen Lachmann] + - AmigaOS/prefs_editor_amiga.cpp: fixed bug when adding volumes + [Jürgen Lachmann] + - AmigaOS: added MacsBug support (tested with MacsBug6.6.1), fixed + bug [Jürgen Lachmann] + - AmigaOS: disabled 68060 Super Bypass mode because of CPU bug triggered by + MacOS 8 + - AmigaOS: implemented XPRAM watchdog task + - AmigaOS/Unix/extfs_*.cpp: .finf helper file now stores complete + FInfo/FXInfo, replaced get/set_finder_*() functions by get/set_finfo() + - AmigaOS/Unix: it's possible to specify preferences items on the command line + - BeOS: implemented the "powerrom_cpu" CPU engine for BeOS/PPC that uses the + 680x0 emulator contained in an Apple PowerMac ROM to run Basilisk II (ca. + 4x speed improvement); when running on a BeBox, a PCI PowerMac ROM image is + needed to use this (the path name of the ROM file can be set with the + preferences item "powerrom", default is "PowerROM") + - include/macos_util.h: defines FOURCC() macro to make MacOS-like + four-character-codes, replaced most instances of multi-character constants + in the sources by this macro to avoid compiler warnings + - cdrom.cpp: implemented Status(6) call (return format list) [Landon Fuller] + - Imported some changes from the Windows port, most notably FPU fixes and the + 1Hz interrupt [Lauri Pesonen] + - Ported Lauri Pesonen's FPU core to GCC/i386 [Gwenole Beauchesne] + +V0.8 (snapshot) - 13.Jul.2000 + - Unix: runs natively on NetBSD/m68k + - Unix: compiles without pthreads, but without serial/ethernet/audio support + - Unix: "--without-mon" configure option now works + - Unix/video_x.cpp: DGA and SHM are only tried on local X11 displays + - Unix/video_x.cpp: re-integrated old window update method; frameskip=0 + ("Dynamic") selects new method, other values select old method + - Unix/prefs_editor_unix.cpp: new "Input" pane, containing keycode and mouse + wheel options + - AmigaOS: added support for CyberGraphX [Jürgen Lachmann] + - audio.cpp: audio_data is cleared on reset [Lauri Pesonen] + - prefs.cpp: empty string prefs items could be written to prefs file but not + read back correctly + - clip_*.cpp: added prefs item "noclipconversion" for turning off charset + conversion of text clips (only CR->LF gets translated) [Toshimitsu Tanaka] + +V0.8 (snapshot) - 14.Mar.2000 + - Unix/video_x.cpp: new window refresh code [Samuel Lander] + - Unix/timer_unix.cpp: fixed time zone handling under Linux and SVR4 + +V0.8 (release 0.8-1) - 30.Jan.2000 + - extfs: extended size of finf helper files to 32 bytes to eventually allow + storing the complete FInfo/FXInfo in it + +V0.8 (snapshot) - 22.Dec.1999 + - imported UAE CPU 0.8.10 changes + - new utility functions Mac_memset, Mac2Host_memcpy, Host2Mac_memcpu and + Mac2Mac_memcpy + - extfs.cpp: fixed bug in fs_rename() and fs_cat_move() (auxiliary IOParam + block was not in Mac address space and FSItem parent IDs didn't get swapped) + [Lauri Pesonen] + - extfs.cpp: several fixes [Lauri Pesonen] + - some provisions for using UAE CPU compiler (doesn't work yet) + - video_x.cpp: XFree86 VidMode extension is used to switch modes in DGA mode + +V0.8 (snapshot) - 2.Nov.1999 + - fixed many UAE FPU bugs [Lauri Pesonen] + - added replacement for BlockMove() trap + - removed Windows sources from the source archive; a version of these that + actually compiles and works can be downloaded from Lauri Pesonen's site + - removed the MemoryDispatch() replacement routine; the routine in the ROM is + now always used; this fixes the MacOS 8 Finder copying bug and also most + "unimplemented trap" errors on MacOS bootup; yeah :-) + - a warning is issued if the ROM seems to require an FPU but FPU emulation is + turned off + - medium removal is allowed in CDROMExit() + - added (incomplete) emulation of 68040 instructions (CINV, CPUSH, + MOVE16 (Ax)+,(Ay)+, and FPU stack frames), enough to boot MacOS + - UAE CPU: opcode routines no longer return the cycle count + - extfs.cpp: fixed bug with fsResolveWDCB in fs_get_wd_info() + - Unix: added support for ESD audio output; merged with OSS audio and put in + a new "audio_oss_esd.cpp" file which is also used under FreeBSD 3.x + - Unix: added mkinstalldirs to "make install" target + - Unix: cleaned up the configure script + - Unix: ROM breakpoint can be specified with "-break" command line argument + - Unix: "-rominfo" command line argument to print information about ROM + version and tables + - Unix: ExtFS supports resource forks and Finder info (these are kept in + hidden ".finf" and ".rsrc" directories) + - Unix/audio_oss_esd.cpp: AudioStatus is re-set after determining audio + device capabilities (actual sample rate is also determined) + [Alexander R. Pruss] + - Unix/audio_oss_esd.cpp: "silence" in 8-bit mode used wrong fill value + (0 instead of 0x80) [Alexander R. Pruss] + - Unix/video_x.cpp: added mouse wheel support [Alexander R. Pruss] + - Unix/sys_unix.cpp: device size is read correctly under Linux + - AmigaOS: removed support for SAS/C + - AmigaOS/sys_amiga.cpp: supports 64-bit device I/O (NSD) + - AmigaOS/sys_amiga.cpp: device block size is respected on writes + +V0.8 (snapshot) - 21.Oct.1999 + - sony.cpp/disk.cpp/cdrom.cpp: disk insertions are now checked for by an + interrupt routine + - localizable strings are now split into a common and a platform-specific set + - added external file system to access host OS files from the MacOS; root + directory is specified by the "extfs" prefs item + - moved most initialization/deinitialization code to InitAll() and ExitAll() + in main.cpp + - added patches for NetBSD [Bernd Sieker] + - corrected TimerDateTime() in timer_unix.cpp and timer_beos.cpp + [Toshimitsu Tanaka] + - AmigaOS: fixed crash when gtlayout.library was not present + - AmigaOS: now compiles with GCC (Geek Gadgets) + - AmigaOS/clip_amiga.cpp: fixed small bug in CR->LF translation + [Giacomo Magnini] + - Unix: compilation of cpuemu.cpp is now split in 8 parts + - Unix: volume list in GTK prefs editor is reorderable + - Unix: added fbdev DGA support and SPARC assembly optimizations to UAE core + [Gwenole Beauchesne] + +V0.7 (release 0.7-2) - 6.Oct.1999 + - Added BasiliskII.spec for making RPMs [with assistance from Roman + Niewiarowski] + - Unix: "basilisk_ii_keycodes" renamed to "keycodes", default location of + keycodes file is now /usr/local/share/BasiliskII/keycodes + - Unix: improved the install target, added uninstall target + - Unix/Windows: fixed bugs in protocol removal [Lauri Pesonen] + - Unix/Linux/NetDriver: removed MAKEDEV, functionality now included in + Makefile ("make dev") + - Unix/sys_unix.cpp: Sys_open() checks whether an HFS volume is currently + mounted under Linux and tries to unmount it + - Unix/sys_unix.cpp: implemented SysAddDiskPrefs() for Linux (scans /etc/fstab + to find HFS volumes) + - Unix/sys_unix.cpp: implemented Sys(Prevent/Allow)Removal() [Ryan Cumming] + - Unix/main_unix.cpp: added call to gtk_set_locale() before gtk_init() + [Toshimitsu Tanaka] + - Unix/video_x.cpp: "dga" screen preferences now takes width and height as + parameters (e.g. dga/640/480), like "win" [Pablo Averbuj] + - Unix/video_x.cpp: Caps Lock behaves as expected [Pablo Averbuj] + - Unix/prefs_editor_gtk.cpp: made the window width/height widgets comboboxes + providing some useful defaults + +V0.7 (alpha) - 25.Jul.1999 + - with 32-bit clean ROMs, the CPU type is now reported as a 68030 (for those + OpenTransport fans :-) + - added new prefs item "nosound" to disable sound output + - sound output implemented for BeOS, Linux, Solaris and AmigaOS (requires + Sound Manager 3.x) + - dummy/audio_dummy.cpp: created + - dummy/prefs_dummy.cpp: created + - dummy/xpram_dummy.cpp: created + - macos_util.cpp: added FileDiskLayout() + - video.cpp: removed useless BlankMousePointer flag + - uae_cpu: updated to UAE 0.8.9 + - uae_cpu/gencpu.c: fixed bug in CAS2, OpenTransport works now + - Unix: moved Linux- and FreeBSD-specific files to their respective + directories + - Unix: added 64-bit data types (needed by timer_unix.cpp) + - Unix: added keyboard translation method using raw keycodes instead of + keysyms (controlled by "keycodes" and "keycodefile" prefs items) which + doesn't depend on the selected keymap + - Unix: when running as root, Basilisk II tries to assign real-time priorities + to some threads + - Unix: calls to nanosleep() protected by autoconf define + - Unix/main_unix.cpp: tick thread replaced by POSIX.4 timer when possible + - Unix/timer_unix.cpp: uses POSIX.4 timing facilities when possible + - Unix/video_x.cpp: all X calls during emulation are now done from the redraw + thread which is also active in DGA mode; as a result, + XLockServer()/XUnlockServer() are no longer necessary + - Unix/sysdeps.h: changed C++ comments to C comments as this file is included + by some *.c files in uae_cpu [Brian J. Johnson] + - Unix/sysdeps.h: added unaligned access functions for SGI MIPSPro compiler + [Brian J. Johnson] + - Unix/Irix/unaligned.c: created [Brian J. Johnson] + - Windows: updated sources + +V0.6 (alpha) - 12.Jul.1999 + - Unix: Basilisk II now accepts a "-display " argument to specify the + X display to use + - Unix: mounting floppies with Ctrl-F1 now works + - Unix/ether_linux.cpp: now works when ethertap is configured for multicast + support + - Unix/main_unix.cpp: XOpenDisplay() is now called from main() + - Unix/scsi_freebsd.cpp: added support for FreeBSD 2.x [Orlando Bassotto] + - Unix/posix_sem.cpp: updated [Orlando Bassotto] + - Unix/prefs_editor_gtk.cpp: serial pane recognizes FreeBSD serial/printer + devices [Orlando Bassotto] + - Unix/serial_unix.cpp: FreeBSD printer devices are recognized + [Orlando Bassotto] + - Unix/sys_unix.cpp: FreeBSD CD-ROM/floppy support, correct default serial + prefs for FreeBSD [Orlando Bassotto] + - Unix/sys_unix.cpp: fixed SysIsDiskInserted for Linux floppy + - Unix/FreeBSD/scsidump.cpp: added [Orlando Bassotto] + +V0.6 (alpha) - 5.Jul.1999 + - fixed mouse for Classic ROM and MacOS 6.x/7.x + - Unix/ether_linux.cpp: added ethertap support (see README for details) + - dummy/clip_dummy.cpp: created + +V0.6 (alpha) - 2.Jul.1999 + - rom_patches.cpp: added CheckROM() which has to be called before PatchROM() + - rom_patches.cpp: started ROM patches for Classic/SE ROMs + - adb.cpp: ADB handlers get ADBBase passed in a3 + - adb.cpp: moved temporary data area to ADBBase+0x163 (Mac Classic mouse + handler wants it there) + - emul_op.cpp/EMUL_OP_CLKNOMEM: reading from the RTC time registers yields + the correct time and date + - uae_cpu/cpu_emulation.h: added FLAYOUT_NONE to disable frame buffer mapping + - uae_cpu/basilisk_glue.cpp: RAMBaseMac/ROMBaseMac are now set in Init680x0() + (instead of main_*.cpp) + - uae_cpu/memory.cpp: added support for Mac Plus/II memory maps and 24 bit + addressing + - uae_cpu/newcpu.cpp: re-implemented support for 68000/010 emulation + - uae_cpu/cpuopti.c: patched for egcs [Orlando Bassotto] + - main_*.cpp: added TwentyFourBitAddressing flag + - main_*.cpp: CPU type and addressing mode depends on ROM version + - main_*.cpp: tick thread changed to use new TimerDateTime() function + - include/video.h: VideoInit() takes "classic" parameter to select "Classic" + video mode (512x342, 1-bit) + - include/timer.h: new function TimerDateTime() to get local date/time in Mac + format + - Unix: support for FreeBSD [Orlando Bassotto] + - Unix/scsi_freebsd-cam.cpp: created [Orlando Bassotto] + - Unix/posix_sem.cpp: created [Orlando Bassotto] + - Unix/main_unix.cpp: added call to XF86DGAForkApp() + - Unix/video_x.cpp: support for Classic video mode and display on 1-bit + screens + - Unix/video_x.cpp: added check whether screen is really DGA capable + - Unix/video_x.cpp: added check for image endianess + - Unix/sys_unix.cpp: added replacement for Linux llseek() for platforms that + don't have it + - Unix/*.cpp: replaced sleep()/usleep() by nanosleep() + - Amiga/prefs_editor_amiga.cpp: ROM file selection via file requester didn't + work + +V0.6 (alpha) - 22.Jun.1999 + - fixed small compilation problems on BeOS/x86 + - rsrc_patches.cpp: fixed for MacOS 7.6.1 + - dummy/scsi_dummy.cpp: scsi_send_cmd() was missing timeout parameter + - Unix/video_x.cpp: fixed compilation problem on systems without DGA + - BeOS/prefs_editor_beos.cpp: it is now possible to drop ROM files on the + "ROM File" control + - BeOS/sys_beos.cpp: Basilisk II will not try to unmount volumes (from BeOS) + that are to be mounted read-only + +V0.6 (alpha) - 20.Jun.1999 + - scsi.cpp: added "timeout" parameter to scsi_send_cmd() + - scsi_*.cpp: fixed S/G table processing bug in scsi_send_cmd() (every entry + was written to/read from the same buffer address) + - Unix/scsi_linux.cpp: implemented + - Unix/video_x.cpp: new hotkeys: + Ctrl-Esc = emergency quit from DGA mode, + Ctrl-Tab = suspend DGA mode + - Unix/video_x.cpp: implemented VideoQuitFullScreen() (used by ErrorAlert()) + - BeOS/video_beos.cpp: implemented VideoQuitFullScreen() (used by ErrorAlert()) + +V0.6 (alpha) - 19.Jun.1999 + - sys_*.cpp: 400K DiskCopy disk images are now recognized (84 byte header) + - user_strings.cpp: added strings for GTK preferences editor + - Unix: implemented preferences editor (requires GTK) + - Unix: added "install" target to Makefile + - Unix: created minimal man page + - Unix/main_unix.cpp: ErrorAlert() and WarningAlert() pop up dialog boxes when + GTK is present + - BeOS/prefs_editor_beos.cpp: added "Create" button to volume list + - BeOS/prefs_editor_beos.cpp: "About" dialog added + +V0.5 (alpha) - 13.Jun.1999 + - prefs.cpp: added ZapPRAM() + - prefs.cpp: PrefsReplaceString() can now take an index + - user_strings.cpp: added strings for preferences editor + - prefs_editor_*.*: created + - sys.h: SysCDStop() now takes the MSF address of the lead-out track as a + parameter + - AmigaOS: start offset and size of devices is now given in blocks, not bytes + - AmigaOS: implemented preferences editor + - BeOS: implemented preferences editor + - AmigaOS/sys_amiga.cpp: added checks for NSD and 64-bit TD commands (not yet + used) + - AmigaOS/sys_amiga.cpp: implemented CD audio commands + - Unix/sys_unix.cpp: CD-ROM devices are opened with O_NONBLOCK flag + - Unix/sys_unix.cpp: using CDROM_DRIVE_STATUS to check for inserted disks if + drive supports it + - Unix/sys_unix.cpp: CD-ROM devices are closed and reopened on eject to clear + the driver's internal buffers + - Unix/video_x.cpp: added incremental refresh mode [David Lawrence] + - Unix/video_x.cpp: small changes to the DGA code + +V0.5 (alpha) - 17.May 1999 + - new "fpu" prefs item to enable/disable the (buggy) UAE FPU emulation + - Defaults for platform-specific prefs items can be set in the new + AddPlatformPrefsDefault() function which gets called by PrefsInit() + - added dummy audio component, so MacOS versions >=7.5 should be more stable + when running programs that try to do something with sound + - adb.cpp: relative mouse mode should work a bit better + - macos_util.cpp: new function HasMacStarted() to check Mac warm start flag + - macos_util.cpp: new function MountVolume() to aid implementation of manual + volume mounting + - cdrom.cpp: added CDROMMountVolume() + - BeOS: replaced "Mount floppy" menu item by submenu with list of all + removable volumes + - Win32: many fixes and improvements [Lauri Pesonen] + +V0.5 (alpha) - 8.May 1999 + - added information about GPL to all source files + - rom_patches.cpp: fixed one unaligned access problem (Sparc) + - replaced "off_t" by "loff_t" to allow 64 bit disk access under Linux + - created "dummy" platform directory containing generic "do-nothing" versions + of certain files to aid in testing and porting + - Unix: improved autoconf stuff and sysdeps.h + - Unix: now compiles under Solaris + - Unix/video_x.cpp: automatic SHM detection, fallback to XPutImage + +V0.5 (alpha) - 26.Apr.1999 + - main_*.cpp: ramsize is rounded down to 1MB boundary + - uae_cpu/memory.h: added "REGPARAM2" in more places [Lauri Pesonen] + - uae_cpu/memory.cpp: changed "Diff" variables from "uae_8 *" to "uae_u32" + [Lauri Pesonen] + - uae_cpu/memory.cpp: added "REGPARAM2" in more places [Lauri Pesonen] + - uae_cpu/newcpu.h: added "REGPARAM2" in more places [Lauri Pesonen] + - uae_cpu/newcpu.cpp: added "REGPARAM2" in more places [Lauri Pesonen] + - Windows/*: integrated updated Windows sources from Lauri Pesonen + +V0.5 (alpha) - 25.Apr.1999 + - prefs.cpp/PrefsRemoveItem(): deleting the last item now works + - uae_cpu/memory.cpp: changed "uae_u8 REGPARAM2 *func()" to + "uae_u8 *REGPARAM2 func()" + - Unix/ether_unix.cpp: implemented + - Unix/Linux/NetDriver: created + - Unix/video_x.cpp: added support for 32 bit screens, cleaned up VisualInfo + code + - BeOS/ether_beos.cpp: cleaned up the code + - BeOS/video_beos.cpp: full screen video mode and color depth can now be set + via prefs("scr/") + +V0.4 (alpha) - 15.Apr.1999 + - Added some literature references to the source files + - Modularized CPU engine: the interface of the CPU engine is now defined in + cpu_emulation.h, so different CPU engines can be substituted more easily + [as requested by Bill Huey] + - uae_cpu/gencpu.c: duplicate_carry() was missing in SUB and NBCD routines + - Unix: added autoconf stuff + - Unix: modified the makefile so it won't fail if cpuopti didn't work + [Daniel Thompson] + +V0.4 (alpha) - 11.Apr.1999 + - cdrom.cpp: find_hfs_partition() bailed out too soon when finding no "PN" + signature [Lauri Pesonen] + - prefs.cpp: prefs file allows more whitespace between keyword and value + [Lauri Pesonen] + - prefs.cpp: remodeled to allow platform-specific prefs items (list of + keywords is kept in table) + - video.cpp/cscSetEntries: luminance mapping uses integer instead of floating + point math + - video_*.cpp: on most systems, the frame buffer is allocated with two + additional lines as some ROM versions seem to write behind the frame buffer + proper + - BeOS/Unix/sysdeps.h: defined X86_ASSEMBLY on i386/GCC systems + - BeOS/Unix/sysdeps.h: redefined get/put_mem() functions to take and return + an uae_u32 value, added some more x86 optimizations + - Unix/serial_unix.cpp/kSERDBaudRate: rates between 57600 and 65535 result in + a rate of 57600 [Lauri Pesonen] + +V0.4 (alpha) - 10.Apr.1999 + - upgraded to UAE 0.8.8 CPU, CPU is now built with "gencpu", UAE sources moved + to "uae" directory + - new preferences item "rom" to specify the path of the ROM file + - new preferences item "ether" for Ethernet driver + - new INTFLAG_ETHER interrupt flag + - main_*.cpp: added ChoiceAlert() + - main_*.cpp: disabled UAE FPU (as it is buggy) + - serial_*.cpp: device_name is now a "const char *" + - serial_*.cpp: implemented monitor (#define MONITOR 1 to activate) + - *.h: changed "#ifdef _XXX_H_" to "#ifdef XXX_H" as symbols starting with an + underscore are reserved + - rom_patches.cpp: icon data moved to sony/disk/cdrom.cpp + - rom_patches.cpp: removed unnecessary a0/a1 save/restore from drivers + - slot_rom.cpp: removed unnecessary a0/a1 save/restore from drivers + - serial_defs.h: added error codes + - AmigaOS: the Kickstart ROM is no longer used to redirect NIL pointer + accesses as this crashes some machines (especially 68040-based); a scratch + memory block is used instead + - AmigaOS/serial_amiga.cpp: implemented + - AmigaOS/ether_amiga.cpp: implemented + - AmigaOS/sys_amiga.cpp: SysAddSerialPrefs() now returns real defaults + - AmigaOS/main_amiga.cpp: when the memory for the Mac RAM and ROM cannot be + allocated, an error message is displayed (instead of crashing) + - AmigaOS/main_amiga.cpp: interrupts are disabled during execution of an + EMUL_OP routine + - AmigaOS/asm_support.asm: the CTRL-C handler checks for pending AmigaDOS + operations + - AmigaOS/asm_support.asm: the interrupt signal exception is rethrown when the + interrupt level in EmulatedSR gets lowered while interrupts are pending + - BeOS: switched from project files to Be supplied makefile system + - BeOS/ether_beos.cpp: implemented + - BeOS/serial_beos.cpp: modem status of parallel device is returned as + (dsrEvent | dcdEvent | ctsEvent) + - BeOS/serial_beos.cpp: implemented kSERDBaudRate + - BeOS/serial_beos.cpp: serdtDCE is set in PrimeIn()/PrimeOut() + - Unix/serial_unix.cpp: added support for parallel ports + - Unix/serial_unix.cpp: serdtDCE is set in PrimeIn()/PrimeOut() + - Unix/video_x.cpp: pressing F12 and q will quit Basilisk II in DGA mode + (useful when it crashed) + +V0.3 (alpha) - 14.Mar.1999 + - Unix/video_x.cpp: added 15, 16 and 32 bit window modes [Bill Huey] + - BeOS/video_beos.cpp: "screen" prefs item is now either "win//" + for window mode or "scr" for full-screen mode + - added documentation of preferences file format to README + +V0.2 (alpha) - 11.Mar.1999 + - tested with ROM versions 19 and 26 + - prefs.cpp: renamed TYPE_BOOL to TYPE_BOOLEAN beacuse of name clash on BeOS + R4.1 + - uae_memory.cpp: added support for frame buffer pixel type conversion in + virtual addressing mode, the Mac frame buffer layout now has to be specified + in MacFrameLayout (video.h) + - Unix/video_x.cpp: the "screen" prefs item is now read to select window mode + (with a specified window size) or DGA mode + - Unix/video_x.cpp: DGA mode supports 15, 16 and 32 bit modes (packed 24 bit + pixels don't work) + - Unix/Makefile.linux: added -D_REENTRANT to compiler flags + +V0.2 (alpha) - 23.Jan.1999 + - first alpha release diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..b029c5a --- /dev/null +++ b/INSTALL @@ -0,0 +1,160 @@ +BASILISK II INSTALLATION INSTRUCTIONS +===================================== + +System Requirements +------------------- + +To use Basilisk II, you need either a 512K Mac Classic ROM image or a +512K or 1MB 32-bit clean Macintosh ROM image. You also need a copy of MacOS +(0.x thru 7.5 for Classic emulation, 7.x or 8.0/8.1 for Mac II emulation). +For copyright reasons, none of these items are included with Basilisk II. +MacOS 7.5.3 and earlier versions can be downloaded from Apple and various +other Internet sites. Mac ROM files are not freely available. You have to +own a real Mac and read out its ROM. No, I don't know where you can download +ROM files. No, I won't send you one. + +Depending on the platform you use, Basilisk II has additional requirements: + +BeOS: + You need BeOS R4 or later versions. + Basilisk II cannot do Mac Classic emulation. + +Unix: + You need X11R6 and a "make" utility with the VPATH feature (e.g. GNU make). + For serial, ethernet and audio support, you need pthreads. To use the GUI + preferences editor, you also need GTK+ version 1.2 or better. On Linux, you + need glibc 2.0 or better. + +AmigaOS: + You need at least a 68020 and AmigaOS 3.0 or better. To get the GUI + preferences editor, you need gtlayout.library V39 or later. To get sound + output, you need AHI V2 or later. Both items can be found on Aminet. You + also need the "PrepareEmul" utility that somes with ShapeShifter (or any + equivalent PrepareEmul substitute). The AmigaOS version of Basilisk II + cannot do Mac Classic emulation. + +Windows: + You need at least Windows NT 4.0. Windows 95 and 98 can be used too, with a + somewhat reduced set of features. Basilisk II supports DirectX version 5 or + later, but version 3 may also work, depending on your graphics card. + +Mac OS X: + Versions 10.0 thru 10.2 can be used, and 10.3 will probably be no problem. + (OS X public beta is not supported by the current executable or source code, + but if you really need to use it, I can provide versions that will work) + +Installation +------------ + +BeOS: + If you have a binary distribution of Basilisk II for BeOS, there are + executables for BeOS/PPC and/or BeOS/x86 included. Basilisk II cannot run + concurrently with SheepShaver. Trying to do so will crash Basilisk II, or + SheepShaver, or both. + + If you have the source distribution, do the following: + + cd src/BeOS + make + + This will produce an executable "BasiliskII" in the "obj.ppc" or "obj.x86" + directory. To use Ethernet, you also have to do: + + cd SheepNet + make install + + On a PowerPC system, you also have to do: + + cd SheepDriver + make install + +Unix: + To compile Basilisk II, do the following: + + cd src/Unix + ./configure + make [or "gmake" if you have GNU make and "make" fails] + make install [optionally] + + To use Ethernet networking under Linux, you either have to configure your + kernel for ethertap support or make and install the "sheep_net" driver + (this is explained in the README file, at the description of the "ether" + preferences item). + + This is what Brian J. Johnson says about compiling for IRIX: + "I recommend compiling with "-Ofast". This requires changing "-g" + to "-Ofast" in the Makefile, and adding "-ipa" to LDFLAGS. This + turns on massive interprocedural optimization, and makes for much + better performance." + + ATTENTION NetBSD/m68k USERS: + If you want to run Basilisk II natively (i.e. without CPU emulation), you + must NOT use a pthreads library. User-level threads libraries such as PTL + interfere with the signal handlers installed by Basilisk II and kernel- + level threads are not supported by NetBSD, so you will have to live without + pthreads, and thus without serial/ethernet/audio support (but the "UDP + tunnelling" network should work). + + ATTENTION NetBSD/mac68k USERS: + Current (as of July 2000) versions of the NetBSD/mac68k kernel have a bug + that not only prevents Basilisk II from running properly but seems to even + cause kernel panics under certain conditions! Apply the following patch to + /sys/arch/mac68k/mac68k/macromasm.s, recompile and re-install the kernel + and reboot before using Basilisk II: + + --- macromasm.s.orig Wed Jul 5 19:29:01 2000 + +++ macromasm.s Wed Jul 5 19:12:34 2000 + @@ -37,6 +37,8 @@ + + #include "opt_adb.h" + #include "assym.h" + +#include + +#include + + + /* Define this symbol as global with (v) value */ + @@ -437,8 +439,9 @@ + movw sp@(FR_HW + 4), d0 | retrieve status register + andw #PSL_S, d0 | supervisor state? + bne Lalnosup | branch if supervisor + - jbsr _mrg_aline_user | user a-line trap + - bra Lalrts + + addql #4, sp | pop frame ptr + + movql #T_ILLINST, d0 | user-mode fault + + jra _ASM_LABEL(fault) + Lalnosup: + #define FR_PC (FR_HW+2) + movl sp@(FR_PC + 4), a0 | retrieve PC + +AmigaOS: + If you have a binary distribution of Basilisk II for AmigaOS, there is an + executable included. You must also have the "PrepareEmul" utility installed + that comes with ShapeShifter (or any equivalent PrepareEmul substitute, + see the ShapeShifter docs). If you have the source distribution, do the + following: + + cd src/AmigaOS + make + + To recompile Basilisk II, you need the GeekGadgets development suite and + PhxAss (which can be found on Aminet). + +Windows NT: + If you have a binary distribution of Basilisk II for Windows, there is a + Windows NT binary included. To access CD-ROMs under Windows NT, the driver + "cdenable.sys" must be copied to your "\WinNT\System32\drivers" directory. + To access CD-ROMs under Windows 9x, the driver "cdenable.vxd" must be copied + to the "\Windows\System" directory. To recompile Basilisk II, you need + MS Visual V++ 5.0 or later. Symantec C++ should work, too, with some + modifications. See the "sysdeps.h" file in the "Windows" directory. + +Mac OS X: + If you have the prebuilt application, there is nothing to do. + If you have the developer tools installed, and want to built it yourself, + look in the file src/MacOSX/0_HOW_TO_BUILD.txt + + +The ROM file has to be named "ROM" and put in the same directory as the +Basilisk II executable but you can specify a different location for the ROM +file with the "rom" option in the preferences file (or with the preferences +GUI). diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d13e26f --- /dev/null +++ b/Makefile @@ -0,0 +1,124 @@ +# Makefile for creating Basilisk II distributions +# Written in 2002 by Christian Bauer + +VERSION := $(shell sed + + This item describes one MacOS volume to be mounted by Basilisk II. + There can be multiple "disk" lines in the preferences file. Basilisk II + can handle hardfiles (byte-per-byte images of HFS volumes in a file on + the host system), HFS partitions on hard disks etc., and MacOS-partitioned + disks (it can only access the first partition, though). The "volume + description" is either the pathname of a hardfile or a platform-dependant + description of an HFS partition or drive. If the volume description is + prefixed by an asterisk ("*"), the volume is write protected for MacOS. + + Basilisk II can also handle some types of Mac "disk image" files directly, + as long as they are uncompressed and unencoded. + + BeOS: + To specify an HFS partition, simply specify its path (e.g. + "/dev/disk/scsi/0/1/0/0_3"). If you don't specify any volumes, Basilisk II + will search for and use all available HFS partitions. + + Unix: + To specify an HFS partition, simply specify its path (e.g. "/dev/sda5"). + If you want to access a MacOS-partitioned hard disk or removable volume + (Jaz, Zip etc.) and your operating system doesn't understand MacOS + partition tables, you can specify the block device name (e.g. "/dev/sda") + to access the first HFS partition on the device. Under Linux, if you + don't specify any volumes, Basilisk II will search /etc/fstab for + unmounted HFS partitions and use these. + + AmigaOS: + Partitions/drives are specified in the following format: + /dev////// + "start block" and "size" are given in blocks, "block size" is given in + bytes. + + Windows: + To define a logical volume (Windows NT only), specify its path (e.g. "c:\"). + To define a physical volume (NT and 9x), additionally give the "physical" + keyword (E.g. "physical c:\"). For safety reasons, volumes are mounted as + read-only. This is due to the bugs in PC Exchange. If you don't specify + any volume, the files *.hfv and *.dsk are searched from the current + directory. Note that in this case, Basilisk II tries to boot from the first + volume file found, which is random and may not be what you want. + +floppy + + This item describes one floppy drive to be used by Basilisk II. There + can be multiple "floppy" lines in the preferences file. If no "floppy" + line is given, Basilisk II will try to automatically detect and use + installed floppy drives. The format of the "floppy drive description" + is the same as that of "disk" lines. + +cdrom + + This item describes one CD-ROM drive to be used by Basilisk II. There + can be multiple "cdrom" lines in the preferences file. If no "cdrom" + line is given, Basilisk II will try to automatically detect and use + installed CD-ROM drives. The format of the "CD-ROM drive description" + is the same as that of "disk" lines. + +extfs + + This item specifies the root directory for the "Host Directory Tree" + file system (the "Unix/BeOS/Amiga/..." icon on the Finder desktop). + All objects contained in that directory are accessible by Mac applications. + + This feature is only available when File System Manager V1.2 or later + is installed on the Mac side. FSM 1.2 is built-in beginning with MacOS 7.6 + and can be installed as a system extension (downloadable from Apple, look + for the FSM SDK in the developer section) for earlier MacOS versions. + +scsi0 ... scsi6 + + These items describe the SCSI target to be used for a given Mac SCSI + ID by Basilisk II. Basilisk II emulates the old SCSI Manager and allows + to assign a different SCSI target (they don't even have to be on the + same SCSI bus) for each SCSI ID (0..6) as seen by the MacOS. "scsi0" + describes the target for ID 0, "scsi1" the target for ID 1 etc. + The format of the "SCSI target" is platform specific. + + BeOS: + The "SCSI target" has the format "/" (e.g. "0/2"). + Due to a bug in BeOS, using SCSI with Basilisk II may cause the + SCSI bus to hang. Use with caution. + + Linux: + The "SCSI target" has to be the name of a device that complies to + the Generic SCSI driver API. On a standard Linux installation, these + devices are "/dev/sg0", "/dev/sg1" etc. Note that you must have + appropriate access rights to these devices and that Generic SCSI + support has to be compiled into the kernel. + + FreeBSD: + The "SCSI target" has the format "/" (e.g. "2/0"). + + AmigaOS: + The "SCSI target" has the format "/" (e.g. + "scsi.device/2"). + + Windows: + The "SCSI target" has the format <"Vendor"> <"Model"> (e.g. + scsi0 "HP" "CD-Writer+ 7100"). Note the use of quotes. + +screen