gbeauche
3706fbc70d
Try to get maximum display width by assuming that would match maximum
...
possible resolution for fullscreen+hwsurface. Fix, termination of VModes[].
Really handle "windowmodes" prefs item, but this needs code factoring.
2004-06-24 21:46:55 +00:00
gbeauche
df3cf1ac52
Add --enable-sdl-static option to use static SDL libraries. Useful e.g. on
...
MacOS X as user might not have SDL installed and I am using self-built
libraries placed into /usr/local/lib/*. Note this can add extra dependencies
to unused libraries.
2004-06-24 16:32:12 +00:00
gbeauche
67da895ec6
Check for strlcpy(). Check for "true" better with AC_PROG_PATH
2004-06-24 16:13:53 +00:00
gbeauche
0dcb2b4516
SDL support in SheepShaver too, though it doesn't work in native mode
...
on Linux/ppc as libSDL is pulling in libpthread which conflicts with
our sheepthreads.
2004-06-24 15:37:26 +00:00
gbeauche
20014c1c7c
Provide Host2MacAddr(), which returns address in Mac address space.
2004-06-24 15:34:59 +00:00
gbeauche
10e94e8abd
Symlink dummy/clip_dummy.cpp and SDL directory.
2004-06-24 15:31:50 +00:00
gbeauche
2d05122bdb
Initial SDL support for SheepShaver, though it seems to slow down the
...
emulator somehow. Also use better timing in redraw_func().
2004-06-24 15:25:57 +00:00
gbeauche
b76aab08e4
Move VideoMode wrappers to video_blit.h.
2004-06-24 15:19:56 +00:00
gbeauche
8948ce2a49
Use atexit(SDL_Quit) idiom. XCloseDisplay() only when using X11 graphics.
2004-06-24 15:18:42 +00:00
gbeauche
14587bed4d
SDL_WaitThread() works better when the thread arg is valid. ;-)
2004-06-23 22:55:47 +00:00
gbeauche
6b903f3d18
Fix events processing on MacOS X, though mouse motion is still not smooth
...
enough.
2004-06-23 22:37:33 +00:00
gbeauche
c6ff8bc709
Use clip_unix.cpp only with X11 targets. Otherwise, default to clip_dummy.cpp
2004-06-23 22:33:45 +00:00
gbeauche
cc61fe9dd2
Add GetScrap(). Use FOURCC for Mac 4-char codes
2004-06-23 16:32:00 +00:00
gbeauche
358def87a4
Fix for new SDL code in Basilisk II.
2004-06-23 14:41:49 +00:00
gbeauche
19494038b3
Initial SDL/video support. Fix VOSF code could lead to a crash on run-time
...
resolution/depth switching. Rearrange blitter lookup code, aka make it cleaner.
2004-06-23 14:30:48 +00:00
gbeauche
7af8aaed40
Initial SDL support.
2004-06-23 13:47:20 +00:00
gbeauche
25f205c535
Fix double mappings in "MacX" section, aka do recognize 'r' key.
2004-06-22 22:42:37 +00:00
gbeauche
1c8f60e63a
Disable VOSF on OSX, SIGSEGV recovery is too slow.
2004-06-22 22:41:44 +00:00
gbeauche
342db1fb26
Handle Control key in "MacX" mappings.
2004-06-22 20:04:51 +00:00
gbeauche
15f0ca6a22
Force use of MacX mappings on MacOS X with Apple's X server.
2004-06-22 20:01:18 +00:00
gbeauche
5357aac108
Fix VideoExit() on OSX, there was no cancellation point in redraw_thread.
2004-06-22 19:32:00 +00:00
gbeauche
e0a76f9e38
Don't handle XLM_IRQ_NEST atomically in emulated mode. That's useless since
...
this variable is modified only within a single thread and interrupts are
not handled asynchronously.
2004-06-22 17:10:08 +00:00
gbeauche
1988a45a16
More realistic "mftb" implementation, aka. fix AbsoluteToNanoseconds() and
...
generally speaking UpTime()-based stopwatchers.
2004-06-22 15:48:50 +00:00
gbeauche
070ac7079f
Always handle interrupt even if InterruptFlags == 0, though it should not
...
really happen in practise.
2004-06-22 14:18:35 +00:00
gbeauche
f2324520b7
Improve timing of periodic threads (from Basilisk II), aka. make 10 seconds
...
really last 10 seconds, not 18. ;-)
2004-06-22 12:20:17 +00:00
gbeauche
2224cc63d0
MacOS 9.0.4 support. ;-)
2004-06-20 19:10:02 +00:00
gbeauche
cb46ffe97a
Get PVR information et al. through (slow) ioreg -c IOPlatformDevice
2004-06-17 05:15:25 +00:00
gbeauche
5f98a013a5
Don't bother with predecode cache when using JIT.
2004-06-15 21:37:22 +00:00
gbeauche
72b26d7ff7
Stop forced compilation when entering a new JIT execution level.
2004-06-15 21:27:46 +00:00
gbeauche
aeab320c3f
Speed up testsuite with JIT compilers. Fix exit code.
2004-06-15 21:02:24 +00:00
gbeauche
6eb8c20565
Merge event2keycode() from Basilisk II, aka. make Option key mapped to
...
Mode_Switch work as real option key. Merge caps_on handling from B2 too.
2004-06-11 22:09:27 +00:00
gbeauche
f574a5df05
Cleanups. Rewrite gen_bc() so that no push/pop could be inserted thus
...
causing crahes with some compilers. However, that's slower.
2004-06-09 16:36:44 +00:00
gbeauche
301d3a3192
STATS: Account for all interrupts, but still count native interrupts. It
...
turns out that for a regular bootup sequence to the Finder, less than 30%
interrupts triggered were in native mode.
Default EMUL_TIME_STATS to 0, end user probably doesn't want garbage to
be printed to his console.
2004-06-05 07:09:38 +00:00
gbeauche
1a4e0d5c40
remove now obsolete code
2004-06-05 06:30:58 +00:00
gbeauche
d5f6d59ad0
When no fullscreen mode requested nor available, always try to pick the
...
first windowed mode matching current depth.
2004-06-05 06:28:21 +00:00
gbeauche
a9c38c3598
Add "jit68k" prefs item to enable built-in 68k DR emulator.
2004-06-03 21:52:55 +00:00
gbeauche
bf17f78ac4
Disable testandset() locks, use pthread's as SheepShaver occasionnally hangs
...
with spinlocks. Weird as those are derived from x86 linuxthreads.
2004-06-02 16:11:49 +00:00
gbeauche
76c06c52e0
Fix and enable NQD (bitblt, fillrect) on little-endian platforms too
2004-06-02 15:41:34 +00:00
gbeauche
c8d897b558
Disable DR Cache for now, as I don't know why it occasionnally crashes.
2004-05-31 11:00:13 +00:00
gbeauche
374101ee9e
Make DR Cache executable by default in native PowerPC mode.
2004-05-31 10:55:42 +00:00
gbeauche
389dd61d0d
Check for SIGSEGVs from DR Cache code too.
2004-05-31 10:08:31 +00:00
gbeauche
a533a9c455
Enable DR emulator with OldWorld ROMs too. It turned out that translated
...
code was also trying to access Serial memory.
Note however that I noticed some rare crashes with the DR emulator.
Probably caused by nested runs from EmulOps? We'd really want a native
68k emulator too for Execute68k() things.
2004-05-31 10:02:20 +00:00
gbeauche
7bc86b27ee
Enable Apple DR emulator from NewWorld ROMs only.
2004-05-31 09:04:44 +00:00
cebix
d048916fda
updated
2004-05-27 13:58:07 +00:00
gbeauche
0241704587
Add GUI items for "idlewait" and "gfxaccel"
2004-05-25 16:12:14 +00:00
gbeauche
6eb7262000
STR_1152x768_CTRL => "Fullscreen 1152x768"
2004-05-25 15:33:24 +00:00
nigel
a141e8dd9e
New Autorelease pool stuff for NNTimer
2004-05-25 07:50:14 +00:00
nigel
826329a1c8
New Autorelease pool stuff for NNTimer
2004-05-25 07:38:27 +00:00
nigel
44e1e0455e
Some confusion about method name in NNTimer. Renamed it.
2004-05-25 07:37:52 +00:00
nigel
12e723e9a4
Force an autorelease pool around the redraw thread.
...
Requires an updated NNThread class
2004-05-25 05:26:41 +00:00