gbeauche
6287978c19
enable build of the cpu tester from the SheepShaver tree
2004-11-25 19:14:15 +00:00
gbeauche
6d68826725
cope with cygwin assembler'isms
2004-11-25 00:29:36 +00:00
gbeauche
3caa663fc8
try to cope with cygwin assembler
2004-11-25 00:25:53 +00:00
gbeauche
a6109dbec5
fix i386 offsets for direct patching. Fix Cygwin support.
2004-11-25 00:24:07 +00:00
gbeauche
53dfcecb54
16-byte aligned memory allocator only for sheepshaver_cpu
2004-11-25 00:21:09 +00:00
gbeauche
73a3269ea5
Merge in Win32 (COFF) executable support from QEMU. Also add Mach parser
...
but it's unlikely to work, simply keep it in sync.
2004-11-24 23:07:55 +00:00
gbeauche
602851a68e
move ppc-execute-impl.cpp dep down after DYNGENDEPS is defined
...
(fix parallel build, tested as make -j5)
2004-11-24 22:57:10 +00:00
gbeauche
f6d5e64088
cosmetics (only include <stddef.h> for size_t definition)
2004-11-24 22:49:15 +00:00
gbeauche
061b9512f3
fix coff symbol table decoding
2004-11-24 22:48:38 +00:00
gbeauche
a5837cd989
check for <fenv.h>
2004-11-24 22:48:02 +00:00
gbeauche
7114f0d4cd
a.out definitions for the cygwin coff object analyzer
2004-11-23 23:18:54 +00:00
gbeauche
ba20dc55d7
fix build with dyngen JIT
2004-11-22 23:35:05 +00:00
gbeauche
bf2185c208
fix build on unixish platforms
2004-11-22 23:17:32 +00:00
gbeauche
26a128bf6a
use new ieeefp.hpp wrapping over <fenv.h>
2004-11-22 22:55:50 +00:00
gbeauche
ddcd7a8df8
Implement some <fenv.h> functions on systems that don't support them
...
yet. This includes Cygwin/x86. The code is derived from the GNU C Library.
2004-11-22 22:54:53 +00:00
gbeauche
a9928fe707
Cygwin support. Only generate NATMEM_OFFSET definitions in Direct Addressing
...
mode. Merge sshpty.c support detection code from Basilisk II.
2004-11-22 22:51:54 +00:00
gbeauche
aa6e44d380
Generate CursorDeviceDispatch() call onto the SheepShaver Procedures region
2004-11-22 22:42:55 +00:00
gbeauche
1eab606dcb
Cygwin Direct Addressing hack.
2004-11-22 22:40:26 +00:00
gbeauche
22af21e7fa
Add .exe extensions accordingly. Fix build without dyngen JIT support
2004-11-22 22:23:55 +00:00
gbeauche
0a61d5ea64
Add missing symlinks. Fix LN_S with source dirs contains spaces.
2004-11-22 22:21:33 +00:00
gbeauche
40fcbdc172
Avoid use of Host2MacAddr() with static data as it may need to force
...
a 32-bit address truncation on 64-bit platforms with DIRECT_ADDRESSING
or with platforms with particular Direct Addressing modes (a.g. Cygwin)
2004-11-22 22:16:09 +00:00
gbeauche
e1bbf0714b
PPC_REENTRANT_JIT is only valid with JIT enabled
2004-11-22 22:09:05 +00:00
gbeauche
114f5ff6c7
Use BUILD_SHEEPSHAVER_PROCEDURE to allocate static procedures into the
...
SheepShaver globals. Fix build of sheepshaver_glue.cpp without JIT.
2004-11-22 22:04:38 +00:00
gbeauche
7be8af917c
Try to explain the SheepShaver globals
2004-11-22 21:50:45 +00:00
gbeauche
d6c7e0eb23
New SheepShaver globals layout, move ZeroPage into the middle. Since it is
...
a read-only page, it can also be used to detect overlaps between Procedure
space and Data space.
Provide native Windows implementation of shared MacOS KernelData allocation.
This is moved under main() so that to avoid a weird linking error. This native
implementation is independent of Cygwin IPC (and possible background server)
2004-11-22 21:33:32 +00:00
gbeauche
40367bd931
new SheepShaver globals layout
2004-11-22 21:22:58 +00:00
gbeauche
970bc59e40
fix build without dyngen enabled
2004-11-21 20:50:51 +00:00
gbeauche
655269516d
Windows debug functions only in native win32 mode
2004-11-21 08:11:20 +00:00
gbeauche
a6bf2d0928
add some code to gather stats on m68k registers used in translated blocks
2004-11-20 23:35:16 +00:00
gbeauche
01a1d4e8b2
Use Windows clipboard code with SDL graphics only. X11 output will use
...
the X server glue anyway
2004-11-17 00:59:04 +00:00
gbeauche
c427f0f536
Windows clipboard support (copy-paste)
2004-11-17 00:57:06 +00:00
gbeauche
ba11daf004
Inherit clip_unix.cpp from Basilisk II, now they are identical.
2004-11-15 23:41:08 +00:00
gbeauche
ce67261af4
lock X11 display better around update_display_window_vosf()
2004-11-15 23:40:23 +00:00
gbeauche
e85f4397c8
Backport copy-paste of 'TEXT' from SheepShaver
2004-11-15 23:27:43 +00:00
gbeauche
e7fb4be12f
Fast spinlocks from SheepShaver for X11 clipboard handling
2004-11-15 23:24:09 +00:00
gbeauche
df471bbbe6
Fix build on Windows with recent gcc (winbug)
2004-11-15 00:24:16 +00:00
gbeauche
dc13732db0
Add Lauri's icon for Basilisk II builds on Windows
2004-11-15 00:07:54 +00:00
gbeauche
df85bf7885
Windows resources (icon)
2004-11-14 23:47:22 +00:00
gbeauche
5f44aa0266
Check for egrep early, as AC_EGREP_CPP wouldn't work correctly otherwise
...
(e.g. GCC version not detected, likewise for ANSI C headers). Add check
for Windows exceptions support. Some cosmetics for Cygwin.
2004-11-14 23:24:51 +00:00
gbeauche
cb99e7673d
Don't use pthread_mutexattr_setprotocol() on Cygwin targets as
...
PTHREAD_PRIO_INHERIT is not defined correctly and it probably wouldn't
work as expected anyway.
2004-11-14 23:23:07 +00:00
gbeauche
adf82c8f45
Handle .exe suffix for Windows builds. Remove obsolete rules for cpuopti.
2004-11-14 23:21:54 +00:00
gbeauche
87a73ed054
Windows keycodes
2004-11-14 23:01:18 +00:00
gbeauche
48b39b9eb1
Implement RGB555 mode on 16-bit displays (Windows)
2004-11-14 21:41:46 +00:00
gbeauche
68083d1102
Integrate SIGSEGV recovery from libsigsegv for Windows and Cygwin.
...
Also implement instruction skipper for Windows/x86.
2004-11-13 23:44:11 +00:00
gbeauche
347f7ce77b
Windows memory allocators
2004-11-13 23:39:58 +00:00
gbeauche
7533cac203
Implement Direct Addressing mode for SheepShaver.
2004-11-13 14:28:49 +00:00
gbeauche
3ace37f4eb
Implement Direct Addressing mode similarly to Basilisk II. This is to get
...
SheepShaver working on OSes that don't support maipping of Low Memory globals
at 0x00000000, e.g. Windows.
2004-11-13 14:09:16 +00:00
gbeauche
9e330d5615
fix cpuid test on x86_64 and newer binutils
2004-11-11 07:25:45 +00:00
gbeauche
6774a0821d
fix tester for BSF flags handling
2004-11-11 07:07:55 +00:00
gbeauche
62f9a4bbba
fix build on 32-bit platforms
2004-11-10 10:23:38 +00:00