gbeauche
35a29f57df
rearrange for win32 cross-compilation
2005-03-24 23:38:10 +00:00
gbeauche
a6070dcdf3
enable cross-compilation
2005-03-24 23:13:09 +00:00
gbeauche
35e8c8c9cd
Enable instruction skipping for OpenBSD 3.4 on i386
2005-03-23 22:00:06 +00:00
gbeauche
f2908fe7bf
instruction skipper for Solaris/i386 (Solaris 9)
2005-03-23 21:37:24 +00:00
gbeauche
5c001ba645
Allocate executable space to detect cpu features (cpuid). aka don't crash
...
on non-executable .data sections on x86-64 with NX support enabled.
2005-03-22 16:12:18 +00:00
gbeauche
569d916664
fix for 2.4.21
2005-03-22 13:43:50 +00:00
gbeauche
afe033a63d
fix build with kernels >= 2.6.9
2005-03-22 13:31:13 +00:00
gbeauche
04a331e827
Avoid use of pthread_cancel() for redraw thread cancellation. Use an extra
...
variable to acknowledge cancellation. This avoids Xserver events queue
corruption when clipboard is in use. Concretely, this fixes following errors:
Xlib: unexpected async reply (sequence 0xHEX)!
2005-03-21 23:57:34 +00:00
gbeauche
2871aefa87
Use autogen.sh to generate configure scripts, likewise for Windows
2005-03-21 22:45:09 +00:00
gbeauche
f028a9d217
Extra changes I forgot to mention in the ChangeLog
2005-03-21 22:39:59 +00:00
gbeauche
2d6df7d54d
Respin snapshot with functional Windows port + extra SDL keysym translations
...
in case keycodes were not used (e.g. includes key-'3')
2005-03-20 23:58:43 +00:00
gbeauche
86b049678f
Windows specific configure script and Makefile
2005-03-20 23:45:17 +00:00
gbeauche
5892c6c286
more sdl key conversions
2005-03-20 23:43:17 +00:00
gbeauche
0db0d48bf0
Avoid the use of floating-point when loading/storing from/to memory. This
...
could have caused some rounding thus alterations to integer registers on
context switches when lfd/stfd instructions were used. e.g. cygwin compilers
defaulted to i686 code generation and exhibed this behaviour, you could also
see this behavior with -march=i586 -mtune=pentiumpro. GCC is perfectly right
to do those optimizations.
2005-03-20 23:07:11 +00:00
gbeauche
1fb076bc7b
Check that we are running a Windows NT kernel >= 4.0 and drivers are
...
installed correctly (namely cdenable.sys)
2005-03-19 19:09:44 +00:00
gbeauche
7b6d062c9d
Check that drivers are installed (e.g. CD-ROM driver)
2005-03-19 19:01:49 +00:00
gbeauche
143b18c752
Make ethernet really work on 64-bit platforms, especially x86-64
2005-03-19 17:43:03 +00:00
gbeauche
9383e5bd50
Enable build with gtk2 and default to that UI if found. Otherwise, it's
...
still possible to select GTK1 as --with-gtk=gtk1 or --with-gtk=gtk.
2005-03-19 09:59:30 +00:00
gbeauche
b29b5e4e23
let it build against gtk2
2005-03-19 09:35:01 +00:00
gbeauche
8071d90849
workaround weird bug lying somewhere in cygwin generated micro-ops for
...
FP load/store of doubles
2005-03-19 07:18:18 +00:00
gbeauche
ae6555fd46
SDL_ListModes() sometimes does not return a sorted list from largest to
...
smallest screen dimensions (e.g. on windows)
2005-03-19 05:34:15 +00:00
gbeauche
7fcb230d67
the current ethernet code is not direct addressing clean, so enable it only
...
if real addressing mode is available (e.g. this excludes win32 platforms for
now)
2005-03-19 04:31:59 +00:00
gbeauche
c044b1d8eb
add windows specific sysdeps.h as they are stable enough now. lowered constant
...
offset to 0x02000000 so that we can cope with the new RAM_BASE value.
2005-03-18 00:03:32 +00:00
gbeauche
2990a3ddfc
add missing AboutWindow file for Windows, that have yet to be fully
...
implemented however
2005-03-18 00:01:37 +00:00
gbeauche
cf16210d3a
add other symlinks to B2/Windows files
2005-03-17 23:56:04 +00:00
gbeauche
0f90a78b5a
Always set RAM_BASE to 0x20000000 for now as there could be some weird
...
problems depending on the amount of memory requested. Also fix
initialization of the system dependent timers. Remove unixism.
2005-03-17 23:48:50 +00:00
gbeauche
068e2075fc
fix for native compilation under windows
2005-03-17 23:45:28 +00:00
gbeauche
536c81f641
fix when cross-compiling or using cygwin
2005-03-17 23:44:48 +00:00
gbeauche
287296b363
it makes more sense to dump the crash dump header to stderr
2005-03-17 23:40:01 +00:00
gbeauche
016b58007a
And finally the Windows specific configure script to be generated with
...
../Unix/autogen.sh. Who would be the first to see Basilisk II is fully
buildable from CVS now with SDL and Cygwin? ;-)
2005-03-17 00:27:54 +00:00
gbeauche
535a658c72
Windows specific Makefile, this could be improved though
2005-03-17 00:25:50 +00:00
gbeauche
7f7b2185c2
Windows specific sysdeps.h
2005-03-17 00:24:25 +00:00
gbeauche
87c8860b92
add missing windows specific header files
2005-03-17 00:22:37 +00:00
gbeauche
608c1f65bd
close opened files and make sure to flush stdout on exit, this used to
...
cause weird results on windows otherwise
2005-03-17 00:21:36 +00:00
gbeauche
fcb323c511
Default to BasiliskII_keycodes file on Windows if user wants keycodes but
...
no keycodefile is specified
2005-03-17 00:19:39 +00:00
gbeauche
dd7b09ebe8
Use a mutex to protect wakeup_time instead of a semaphore, do we want some
...
sort of barrier synchronisation? Anyhow, the current implementation looks
reasonable enough now when using old LinuxThreads without TLS.
XXX: in the past, the sem_post in sigsuspend_handler would not release the
calling thread thus entering into a mutual waiting condition.
2005-03-16 00:35:51 +00:00
gbeauche
260614a873
fix initialization of timer thread that could be put in indefinite suspended
...
state from the start.
2005-03-15 20:46:50 +00:00
gbeauche
cd31ea2d80
mention improvements to the altivec code
2005-03-14 00:32:12 +00:00
gbeauche
cbf0c3debf
shorten vsldoi native code by one instruction, aka. avoid superfluous
...
shuffle of stale vector value
2005-03-14 00:30:44 +00:00
gbeauche
4918fe8d2d
default to 8 MB cache size on non-{alpha,powerpc} platforms
2005-03-13 23:41:42 +00:00
gbeauche
05a7453d54
MMX/SSE/SSE2 optimizations are now converted to full inline assembly code,
...
aka avoid use of (possibly broken) GCC intrinsics. Add some SSE2 optimizations.
Translate VSLDOI, MFVSCR, MTVSCR instructions. AltiVec Fractal Carbon now
shows more than 1 GFlops performance!
2005-03-13 12:49:30 +00:00
gbeauche
7cc49ca739
fix vsldoi implementation and testsuite
2005-03-13 11:38:35 +00:00
gbeauche
4d96076c62
fix SheepShaver wrappers in PowerPC CPU tester
2005-03-13 11:23:52 +00:00
gbeauche
fa6c3a521b
Try to document major changes between released snapshots
2005-03-09 00:12:27 +00:00
gbeauche
e7d8a54e21
Enable high precision timings on POSIX systems supporting clock_nanosleep().
...
Since pthread_suspend_np() is not available to Linux (but NetBSD 2.0), thread
suspend is implemented likewise to boehm-gc.
2005-03-05 19:07:35 +00:00
gbeauche
48213aa5eb
Revert to no nested native ppc interrupt processing, also filter out cases
...
where InterruptFlags is 0.
2005-03-05 18:33:30 +00:00
gbeauche
fb42e00b8d
Don't require an instruction skipper to fake SCSI globals
2005-03-05 15:44:03 +00:00
gbeauche
9019e71cfc
Preserve all necessary registers on interrupt, thus also permitting nested
...
interrupts to occur. SheepShaver locks should now be reduced.
2005-03-05 15:25:10 +00:00
gbeauche
663facbf97
Fix native Linux/ppc with recent enough glibc that supports TLS; r2 is used
...
in that case. Tell me if I broke other arches, e.g. r13 is no longer saved
in Video and Ethernet stubs, though it seems to be OK.
Colateral feature: SheepShaver should now run on Linux/ppc64 with relevant
32-bit runtime. Native Linux/ppc64 support is harder as low mem globals are
32-bit in mind and e.g. the TLS register there is %r13, %r2 is the TOC
(PowerOpen/AIX ABI)
2005-02-27 21:52:06 +00:00
gbeauche
f29eb7dd1d
nanosleep() delays seem better suited to MacOS X, instead of select()
2005-02-21 22:57:03 +00:00