ViewVC Help
View Directory | Root Listing
root/cebix/BasiliskII/src/Unix
File (rev) Last Change
 ../
m4/
ldscripts/
Solaris/
NetBSD/
Linux/
Irix/
FreeBSD/
Darwin/
xpram_unix.cpp 1.10 (15 years ago) by asvitkine: BasiliskII side of changes to support .sheepvm bundles for SheepShaver
vm_alloc.h 1.15 (12 years ago) by asvitkine: Fix CrashReporter poping up when PPC is not emulated on pre-10.5 systems.
vm_alloc.cpp 1.35 (12 years ago) by asvitkine: cleanup ifdef chain syntax
video_x.cpp 1.86 (14 years ago) by cebix: fixed warnings
video_vosf.h 1.64 (16 years ago) by gbeauche: Err, restore a reasonnable value for the emulators. ;-)
video_blit.h 1.15 (16 years ago) by gbeauche: Happy New Year!
video_blit.cpp 1.21 (14 years ago) by asvitkine: .
vhd_unix.h 1.1 (14 years ago) by asvitkine: [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.
vhd_unix.cpp 1.1 (14 years ago) by asvitkine: [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.
user_strings_unix.h 1.23 (16 years ago) by gbeauche: Happy New Year!
user_strings_unix.cpp 1.25 (16 years ago) by gbeauche: Happy New Year!
tunconfig 1.2 (19 years ago) by gbeauche: Try to improve the documentation concerning the "tun" interface. Take note that that kernel module must be loaded and IP forwarding enabled. Also add slight improvements to the "tunconfig" script so that sudo /sbin/ifconfig and sudo /sbin/iptables are really supported for current user if not root.
timer_unix.cpp 1.22 (15 years ago) by asvitkine: Change #include <mach/mach_host.h> to #include <mach/mach.h>
sysdeps.h 1.35 (15 years ago) by asvitkine: [Charles Srstka] Attached is a set of patches to port the precise timer that is currently used in the Linux and BeOS builds of SheepShaver to Mac OS X (and any other Mach-based operating systems). Currently, the Linux build uses the clock_gettime() function to get nanosecond-precision time, and falls back on gettimeofday() if it is not present. Unfortunately, Mac OS X does not currently support clock_gettime(), and gettimeofday() has only microsecond granularity. The Mach kernel, however, has a clock_get_time() function that does very nearly the same thing as clock_gettime(). The patches to BasiliskII cause the timing functions such as timer_current_time() to use clock_get_time() instead of gettimeofday() on Mach-based systems that do not support clock_gettime(). The changes to SheepShaver involve the precise timer. The existing code for Linux uses pthreads and real-time signals to handle the timing. Mac OS X unfortunately does not seem to support real-time signals, so Mach calls are again used to suspend and resume the timer thread in order to attempt to duplicate the Linux and BeOS versions of the timer. The code is somewhat ugly right now, as I decided to leave alone the pre-existing style of the source file, which unfortunately involves #ifdefs scattered throughout the file and some duplication of code. A future patch may want to clean this up to separate out the OS-specific code and put it all together at the top of the file. However, for the time being, this seems to work. This has not been extensively tested, because I have not been able to get my hands on a good test-case app for the classic Mac OS that would run inside the emulator and try out the timer. However, performance does seem to be better than with the pre-existing code, and nothing seems to have blown up as far as I can tell. I did find a game via a Google search - Cap'n Magneto - that is known to have problems with Basilisk/SheepShaver's legacy 60 Hz timer, and the opening fade-to-color for this game appears to run much more smoothly with the precise timer code in place.
sys_unix.cpp 1.35 (12 years ago) by asvitkine: fix a warning
strlcpy.h 1.1 (22 years ago) by cebix: - 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] - the option "--config FILE" tells B2 to use a different config file
strlcpy.c 1.1 (22 years ago) by cebix: - 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] - the option "--config FILE" tells B2 to use a different config file
sshpty.h 1.1 (22 years ago) by cebix: - 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] - the option "--config FILE" tells B2 to use a different config file
sshpty.c 1.7 (12 years ago) by asvitkine: another try to get sshpty.c compiling on bsd
sigsegv.h 1.15 (14 years ago) by asvitkine: Fix issue from my last change where it ended up not defining SIGSEGV_FAULT_ADDRESS_FAST at all on PPC builds.
sigsegv.cpp 1.91 (14 years ago) by asvitkine: [Joel Mauras] GCC has become too smart - we need to slice the binary created to be sure the address of the trap is within the test addresses. This is why each trap occurs between two case labels and a new section of assembly code is set in between.
serial_unix.cpp 1.17 (14 years ago) by asvitkine: fix sentinel warning
semaphore.h 1.2 (19 years ago) by gbeauche: MacOS X doesn't implement unnamed POSIX semaphores even though their libc defines the functions. Use Mach semaphores instead.
rpc_unix.cpp 1.5 (16 years ago) by gbeauche: Happy New Year!
rpc.h 1.3 (16 years ago) by gbeauche: Happy New Year!
prefs_unix.cpp 1.19 (15 years ago) by asvitkine: BasiliskII side of changes to support .sheepvm bundles for SheepShaver
prefs_editor_gtk.cpp 1.41 (14 years ago) by asvitkine: Fix PrefsInit() calls to take correct number of parameter
posix_sem.cpp 1.10 (16 years ago) by gbeauche: Happy New Year!
mkinstalldirs 1.3 (21 years ago) by cebix: updated autoconf auxiliary files
main_unix.cpp 1.82 (12 years ago) by asvitkine: |Description: important compiler warnings fixes | This patch fix a compiler warning about the direct printing of strings | using formatted printing functions without the use of a format string. |Author: Giulio Paci <giuliopaci@gmail.com> |Forwarded: no |Last-Update: 2012-03-04
keycodes 1.7 (19 years ago) by gbeauche: Happy New Year!
install-sh 1.2 (21 years ago) by cebix: updated autoconf auxiliary files
fbdevices 1.1 (25 years ago) by cebix: - added fbdev video code and SPARC assembly optimizations
extfs_unix.cpp 1.23 (16 years ago) by gbeauche: Happy New Year!
ether_unix.cpp 1.34 (12 years ago) by asvitkine: |Description: important compiler warnings fixes | This patch fix a compiler warning about the direct printing of strings | using formatted printing functions without the use of a format string. |Author: Giulio Paci <giuliopaci@gmail.com> |Forwarded: no |Last-Update: 2012-03-04
cpr.sh 1.1 (15 years ago) by asvitkine: [patch from Mike Sliczniak] Here is a patch that has a shell script cpr.sh to recursively copy directories but discarding things that cause problems at least on 10.4 when making the .app bundles.
configure.ac 1.84 (12 years ago) by asvitkine: another try to get sshpty.c compiling on bsd
config.sub 1.4 (21 years ago) by cebix: updated autoconf auxiliary files
config.guess 1.4 (21 years ago) by cebix: updated autoconf auxiliary files
clip_unix.cpp 1.15 (14 years ago) by cebix: fixed compiler warnings
bincue_unix.h 1.1 (14 years ago) by asvitkine: [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
bincue_unix.cpp 1.1 (14 years ago) by asvitkine: [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
autogen.sh 1.7 (17 years ago) by gbeauche: Fix autogen.sh to automatically include the local m4 directory, used as a fallback if system-wide defs are not found.
audio_oss_esd.cpp 1.21 (16 years ago) by gbeauche: Happy New Year!
asm_support.s 1.7 (19 years ago) by gbeauche: Happy New Year!
acinclude.m4 1.3 (19 years ago) by cebix: minor cleanups
Makefile.in 1.50 (12 years ago) by asvitkine: |Description: avoid stripping binaries |Author: Jonas Smedegaard <dr@jones.dk> |Last-Update: 2012-03-04
BasiliskII.1 1.13 (12 years ago) by asvitkine: |Description: fix to the documentation | This patch aims at improving the man page. |Author: Giulio Paci <giuliopaci@gmail.com> |Forwarded: no |Last-Update: 2012-03-04
8 directories and 48 files shown