fix a warning
rename file_handle to mac_file_handle since file_handle is defined in system headers on some systems
[Geoffrey Brown] For my work on digital preservation it's important to have "golden" disk images that are not corrupted by user action. In order to enable this, I've added support for VHD virtual disks (especially snapshots !) to the Linux and OS X versions of BasiliskII and SheepShaver. The support uses the open source libvhd library which is part of xen, available here: http://www.xen.org/products/xen_source.html The piece that's needed is libvhd which is in tools/blktap2 and it can be separately compiled. The vhd-util enables creation of vhd disks and snapshots. Compiling libvhd for OS X is non-trivial and required 1) a new config and 2) a number of small changes to the include files and c files. Compiling for linux is a snap. I use this as follows. 1) create my "golden image" gold.dsk in the usual way 2) create a snapshot: vhd-util snapshot -n gold.vhd -p gold.dsk -m 3) use the snapshot in my prefs file In my work the golden images are in an AFS system which means the golden images can reside at "universal" addresses. The snapshots are initially tiny, so a complete virtual machine configuration -- prefs + snapshot is quick to download for the end user. The snapshots are copy on write which has the pleasant side effect of letting the end user keep any changes.
[Geoffrey Brown] Add bin/cue support. The following should work: 1) Basilisk and SheepShaver with sdl-audio and bincue on linux and os x 2) SheepShaver with bincue and core audio on os x
fixed missing INT_MAX
Happy New Year!
Rewrite MacOS X CD-ROM support. Other bugs fixed: - CD-ROM media are polled and now can be changed without rebooting - Buffer overflow, memory leak and extra wait in CD-ROM ejection code
ignore floppy device open fail in Sys_open() so the floppy drive will be operative even if no disk was inserted at startup
modernized Linux floppy detection
Drop the old _llseek() hack. That was causing problems and we "now" use the right approach with LFS for a few years now.
sys_darwin.cpp depends on CoreFoundation stuff, disable it for OpenDarwin
Happy New Year!
Add configure macros to check for -framework Carbon & -framework IOKit so that we choose to include ../MacOSX/clip_macosx.cpp, sys_darwin.cpp or not.
Tidy up Aqua/Darwin specific code
Happy New Year! :)
Add hacks to disable "floppy" & "serial[ab]" entries that would cause Basilisk II to hang on MacOS X as an X11 build. I am not sure this is supposed to work in an Aqua build so I leave that enable there, assuming <AvailabilityMacros.h> is included somehow, thus defining MAC_OS_X_VERSION_* and friends.
Darwin-specific prefs and initial CD code. Since some of the CD code is just too weird to include here, I just call extern functions which I currently implement in a file sys_darwin.cpp
default CD-ROM drive is /dev/cd0c on NetBSD
- Clarified test of access() return value - s/strcpy/sprintf/ for cd_dev concatenation - Statically allocate fd_dev[] and cd_dev[] Better testing is yet to be done
support for Linux devfs
added missing return values
fixed floppy disk change detection problems under Linux
- default floppy device under Linux is now /dev/fd?u1440 because /dev/fd?H1440 is deprecated
cleaned up pthread attributes [Brian Johnson]
- documentation updates - 2001 -> 2002 - version 0.9 -> 1.0
fstab parsing ignores comment lines
- bumped version number to 0.9 - updated copyright dates
- CD-ROM under Linux only worked when a CD was in the drive when B2 was started - Unix/main_unix.cpp: 1Hz interrupt wasn't triggered
- updated copyright info: 1999->2000
- Unix: changed time zone handling (again)
- removed MemoryDispatch() replacement; routine from ROM is now used if possible - rom_patches.cpp: check for double PACK 4 resources; if only one is found, assume that the ROM requires an FPU and issue a warning if FPU emulation is turned off - UAE CPU opcode routines no longer return the cycle count - main_unix.cpp: pressing Ctrl-C dumps the UAE CPU state before entering mon - sys_unix.cpp: under Linux, partition sizes are read with BLKGETSIZE instead of llseek()
- some fixes for NetBSD
- integrated patches for NetBSD
- sys_unix.cpp: changed one #ifdef that should really have been an #if - Makefile.in: provided uninstall target
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.