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
gbeauche
3f1eb78c6e
having both ppc_asm.S and ppc_asm.s in the same dir on MacOS X is a bad idea...
2005-02-21 22:29:49 +00:00
gbeauche
4aa9a22f41
native NetBSD/ppc support
2005-02-20 18:26:39 +00:00
gbeauche
c602bcb201
Move Linux/asm_linux.S to ppc_asm.S suitable for Linux, MacOS X and NetBSD
2005-02-20 18:25:45 +00:00
gbeauche
81204ca2d9
NetBSD/ppc paranoia checks
2005-02-20 18:25:05 +00:00
gbeauche
8500381648
Initial support for NetBSD/ppc in native mode (some crashes occur but I
...
could boot MacOS 9.0.4)
2005-02-20 18:08:50 +00:00
gbeauche
436522186e
Implement SheepThreads on NetBSD/ppc so that sigaltstack()s are really used
2005-02-20 18:06:40 +00:00
gbeauche
10f38d4b50
NetBSD/ppc support
2005-02-20 11:39:12 +00:00
gbeauche
6d5303c868
Support FreeBSD 5.3:
...
- fix implementation of offsetof() with GCC >= 3.4 and C++ code
2005-02-13 18:18:59 +00:00
gbeauche
3aeed84471
<machine/soundcard.h> was simply a compatibility symlink on FreeBSD and it
...
is now gone away.
2005-02-13 17:56:55 +00:00