gbeauche
808b3e34c8
Add heuristic to deitermine run-time effect of VOSF acceleration, and
...
disable it if it turns out to not be profitable
2004-06-26 15:22:02 +00:00
gbeauche
46a9054861
Enable hardware cursor acceleration in SheepShaver/SDL version too.
2004-06-24 22:38:42 +00:00
gbeauche
1b5a3a6069
Check for the "true" command better with AC_PATH_PROG. aka fix BLESS
...
command checking on MacOS X.
2004-06-24 22:34:43 +00:00
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
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
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
342db1fb26
Handle Control key in "MacX" mappings.
2004-06-22 20:04:51 +00:00
cebix
d048916fda
updated
2004-05-27 13:58:07 +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
nigel
451d7b22c9
v16-classic
2004-05-25 04:26:54 +00:00
nigel
e77112aab0
Added howto import files using Disk Copy
2004-05-25 04:24:01 +00:00
nigel
8eb9ead7cd
Added Classic building option
2004-05-25 04:22:49 +00:00
gbeauche
237ab8ffc6
Delay_usec() for BeOS too
2004-05-15 16:21:37 +00:00
gbeauche
9445ccb5ad
typos
2004-05-12 11:46:34 +00:00
gbeauche
a8c8c1d4d9
Move and fix tun interface shutdown call
2004-05-09 16:32:12 +00:00
gbeauche
2ce9491e96
TUN/TAP support
2004-05-09 16:16:05 +00:00
gbeauche
fa0ea48eed
Try to document TUN/TAP use.
2004-05-09 16:15:36 +00:00
nigel
0cee6a8fba
Added notes about the classic version of the app
2004-05-02 11:34:49 +00:00
nigel
4441484404
Working code to locate floppy drives
2004-05-02 11:12:07 +00:00
nigel
c44036a4ce
Always remove cdrom & floppy prefs, as we always need to locate them freshly
2004-05-02 11:09:25 +00:00
nigel
b0c4669f04
v16, now in two flavours!
2004-05-02 11:06:14 +00:00
nigel
69d86724a1
More ideas
2004-05-02 11:03:32 +00:00
nigel
2fb48eaab2
Cope with non-ASCII directory/file names
2004-05-02 11:02:34 +00:00
gbeauche
815390707a
Decode MOVSX r32, r/m16 (generated by icc v8.0 on x86)
2004-02-16 16:02:48 +00:00
nigel
c0db6d3f47
Typo in IDE auto-detection
2004-01-29 12:28:53 +00:00
nigel
4a33797b48
On second thoughts, not many people will be building on 10.1,
...
so it is better to create a dummy file now.
2004-01-29 12:26:28 +00:00
nigel
d2602583e2
Try to get nowrite.icns from 10.1 install
2004-01-29 12:24:43 +00:00
nigel
622a0e6e23
Some project files had absolute paths (i.e. ~nigel), and the compiler
...
-D flags had values that are more correctly picked up from config.h
2004-01-29 12:20:59 +00:00
nigel
6412114eab
Properties of target when built in Xcode
2004-01-29 12:15:18 +00:00
nigel
f2d79b7773
Protect from bug/crash when a click in the window would
...
try to send ADB mouse events to a non-existant emulator
2004-01-29 12:10:47 +00:00
nigel
de2d213c88
Remove defines for OS_, BSD_COMP, *_ADDRESSING and FPU_, as these should be
...
included by config.h, and defining them here makes them hard to change
2004-01-28 07:31:03 +00:00
nigel
cd15959140
John Daniel's changes; CarbonCore is hard to find (sub framework of the
...
CoreServices framework). Easier to include full Carbon header instead
(and remove extra defs).
2004-01-28 07:29:38 +00:00
nigel
8f50d27091
/bin/true isn't on OS X, auto-detect Xcode (vs Project Builder),
...
some textual changes to make it even more like Unix/autoconfigure.ac
2004-01-28 07:26:00 +00:00
nigel
c983b0e80f
Xcode vs Project Builder is now automatically configured - no extra rules
2004-01-28 07:24:31 +00:00
nigel
8f2870ac0e
Correct comment about ENABLE_MULTIPLE
2004-01-28 07:21:32 +00:00
nigel
c9d4da6303
Mention Xcode, add note about strange 10.1 linking bug
2004-01-28 07:20:36 +00:00
nigel
9798e97c5b
Added help items on some buttons
2004-01-28 04:09:24 +00:00
nigel
28263d86c3
Shorten slightly - General Public License didn't fit in the about window
2004-01-28 04:07:59 +00:00
nigel
d42aeaa95d
Use xcode for app target, too (thanks to John Daniel)
2004-01-27 22:04:12 +00:00
nigel
5bbde8f9fe
Minor changes for latest code
2004-01-27 11:54:37 +00:00
nigel
710140c04b
Project file for Xcode (10.3 development IDE)
2004-01-27 11:48:19 +00:00
nigel
9cdba256f8
Corrected removal of bad serial prefs data
2004-01-27 11:31:01 +00:00
nigel
a77b3c7204
Typo in comment
2004-01-27 11:28:19 +00:00
nigel
35d3ea9991
Code to cope with errors from an incomplete preferences file
2004-01-27 11:20:24 +00:00
nigel
c9af62f191
Happy New Year :)
2004-01-27 04:44:36 +00:00
nigel
4a61b727af
On 10.1, parse_screen_prefs() was being called with a nil string
...
(i.e. PrefsInit wasn't getting a screen pref item). Cope with that.
2004-01-27 04:39:33 +00:00
nigel
db3c11dd75
Can only use floppy location code on OS X 10.2 or above?
2004-01-27 04:37:23 +00:00
nigel
5e528f2d6f
Some latest changes from Unix version, add subterfuge test back in
...
(even though it will still hang - it is not needed on OS X),
use DIRECT/REAL_ADDRESSING/FPU_IEEE/UAE from config
2004-01-27 04:35:30 +00:00
nigel
7f20240b34
Link to new Darwin test apps, copy some Unix source that has to be compiled
...
using the local sysdeps.h, REAL ADDRESSING configure example
2004-01-27 01:18:02 +00:00
nigel
ef0dfde608
Cleanup extra Darwin generated link and programs, stuff from 10.3's autoconf,
...
OS X finder cache, ide rule now uses xcode, oldide rule for Project Builder.
2004-01-27 01:15:17 +00:00
nigel
e166715fcd
JIT flush changes from latest unix_main.cpp
2004-01-27 00:18:24 +00:00
nigel
a8b53dcb8e
Added AQUA symbol, made more like latest Unix version
2004-01-26 12:06:02 +00:00
nigel
a51ba44ffe
Added code to remove my broken old floppy & serial prefs values
2004-01-26 11:12:46 +00:00
nigel
631aa2003a
Special serial/floppy device locating code
2004-01-26 11:11:33 +00:00
nigel
9c57351dba
Tidy up Aqua/Darwin specific code
2004-01-26 11:08:52 +00:00
nigel
885eb469b1
Version 15 changes
2004-01-26 11:06:11 +00:00
nigel
5224682cb3
Floppy/real addressing changes
2004-01-26 11:01:13 +00:00
gbeauche
93c472ec0a
cosmetic fixes when printing movsbq operation summary
2004-01-22 00:00:55 +00:00
gbeauche
7a0681c44b
handle (skip) x86 movsbl instructions
2004-01-21 23:50:06 +00:00
gbeauche
1a6c128ab2
Summary: possible support of SheepShaver on Zaurus PDAs
...
Add Linux/ARM instruction skipping, includes support for ARMv4+ halfword
and signed data transfer instructions. Note that load/store multiple are
not handled and someone has to make sure post-incr/write-back logic is
correctly implemented.
2004-01-21 23:14:28 +00:00
nigel
2208c5460b
Added missing switch value to eliminate a warning
2004-01-20 23:49:32 +00:00
nigel
69a30f4c8e
Updated screen update comment. 10.3 can achieve over 600fps!
2004-01-20 23:44:13 +00:00
nigel
4f566d62b4
Fix for non CGIMAGEREF drawing, dummy Screen_fault_handler()
2004-01-20 23:41:11 +00:00
nigel
9579c58008
Incorporate recent changes from Unix/sysdeps.h
2004-01-20 23:35:47 +00:00
nigel
ff36326ea8
Use correct (non-deprecated) names for some keys
2004-01-20 23:31:46 +00:00
nigel
3d4961887c
Make distclean remove some extra files/dirs generated by autoconf,
...
and some Darwin test programs generated by configure.
Note - Ideally it would also remove configure?
2004-01-20 03:30:52 +00:00
gbeauche
d09df6d1fa
ARM/linux sigsegv handler. Instruction skipper yet to be written for
...
happy Zaurus owners.
2004-01-19 16:59:13 +00:00
cebix
5098c8ae83
Happy New Year!
2004-01-12 15:55:51 +00:00
cebix
9e7932abf0
Happy New Year! :)
2004-01-12 15:29:31 +00:00
gbeauche
3b68b863c7
Make sure 68k procedures are stored on 16-bit word boundaries.
2004-01-10 08:54:14 +00:00
gbeauche
866919579f
Force DSP_RESET on AudioExit() so that we don't get "clicks" (?).
2004-01-04 16:35:32 +00:00
gbeauche
f054ce8648
Always prefer our (inlined) spinlocks.
2004-01-04 06:11:49 +00:00
gbeauche
3fd927f404
Force device to stop immediately with an SNDCTL_DSP_RESET. Otherwise, a
...
regular close() sends SNDCTL_DSP_SYNC which can hang (and does on PPC)
2004-01-04 05:47:08 +00:00
gbeauche
c48515b6d5
Instruction skipper for Solaris/SPARC.
2003-12-20 23:22:25 +00:00
gbeauche
47f64bdcb8
Add support for Linux/hppa, FreeBSD/alpha. Misc debugging output.
2003-12-20 21:50:08 +00:00
gbeauche
36ee9370a6
Fix build with DEC C++ compiler on Tru64.
2003-12-20 21:44:52 +00:00
gbeauche
9b99a095f0
MIPS instruction skipper. TODO: check LWL/LWR semantics.
2003-12-20 10:06:18 +00:00
gbeauche
fdf5970c28
Fix subterfuge mode on IRIX/mips. Get PC in both modes for Irix too
2003-12-20 07:43:56 +00:00
cebix
ea0d909ce5
run depmod after installing module
2003-11-28 15:49:16 +00:00
gbeauche
10c04e2654
Enable possibility to manually pass VM_MAP_32BIT & friends. This is needed
...
for the PowerPC "JIT1" engine.
2003-11-24 23:27:18 +00:00
gbeauche
45df157a5e
Implement lazy icache range invalidation. Disable for now until it shows
...
a real benefit over only 2%
2003-11-21 14:20:01 +00:00
gbeauche
1af0362296
fix loff_t & caddr_t type checks
2003-11-21 14:16:02 +00:00
gbeauche
3630404307
fix fp_do_sgn1() for "double"-targets
2003-11-21 13:27:47 +00:00
nigel
d9a7e20b8b
Latest changes from Unix version (which I don't think work)
2003-11-18 11:19:35 +00:00
nigel
39cc371988
Latest changes from Unix version (mostly signal/page zero fixes)
2003-11-18 11:17:55 +00:00
nigel
ee0958380c
Compile fix for OS X (which does not define loff_t)
2003-11-18 11:14:43 +00:00
gbeauche
d4ad77d734
really fix writes to byte registers
2003-11-11 00:10:39 +00:00
gbeauche
4bce0876c0
fix configure tests. i.e. move up arch_insn_skipper_tests()
2003-11-10 23:54:31 +00:00
gbeauche
1169001df7
Extend x86 instruction skipper to AMD64. Add plenty of arch dependent
...
opcodes to test it. Also fix DEBUG output & writes (zero'ing) to %xH regs
2003-11-10 23:47:39 +00:00
gbeauche
9057fda327
- FreeBSD/i386 sigcontext subterfuge support for instruction skipper
...
- NetBSD/alpha support from Boehm GC
- NetBSD/i386 won't work in sigcontext subterfuge mode unless instruction
is decoded more accurately to compute the effective address. Also note
that NetBSD 1.6 does not support siginfo_t yet.
2003-10-21 23:10:19 +00:00
gbeauche
f8a0f363ea
Solaris/SPARC support for SIGSEGV_FAULT_INSTRUCTION
2003-10-21 21:59:41 +00:00
gbeauche
309c2f0bd5
Add "jitblacklist" prefs item so that opcodes ranges could be excluded for
...
translation. This should help debugging of (badly) translated code.
Usage: jitblacklist xxxx(-yyyy)?(;xxxx(-yyyy)?)*
where xxxx/yyyy are hexadecimal numbers
2003-10-14 10:29:19 +00:00
gbeauche
75df809ff7
fix merge with Mach exception filters, we have preconditions to check
2003-10-13 20:15:41 +00:00
gbeauche
6a60d56bf2
indentation fixes, optimize handle_badaccess() to receive only necessary
...
data and don't copy a struct sigcontext again on x86.
2003-10-13 19:56:17 +00:00
gbeauche
14b51b9519
return something more convenient to debug on errors
2003-10-13 19:43:09 +00:00
gbeauche
45c30ba9f2
Merge in __PAGEZERO hack from Michael Z. Sliczniak so that REAL_ADDRESSING
...
mode can work under Darwin.
2003-10-12 22:39:59 +00:00
gbeauche
4641be3209
Really make sure VERSION & PACKAGE macros are defined when generating a
...
configure script with autoconf 2.52.
2003-10-12 21:58:02 +00:00
gbeauche
c04603adce
Add hacks to disable "floppy" & "serial[ab]" entries that would cause
...
Basilisk II to hang on MacOS X as an X11 build. I am not sure this is
supposed to work in an Aqua build so I leave that enable there, assuming
<AvailabilityMacros.h> is included somehow, thus defining MAC_OS_X_VERSION_*
and friends.
2003-10-12 21:55:44 +00:00
gbeauche
46dc8c5391
Make sure reported fault instruction address falls into the expected code
...
range. This is a configure-time safety net that depends on the GCC "Labels
as Values" extension.
2003-10-12 21:41:19 +00:00
gbeauche
006f72c9fe
Report failure to install the SIGSEGV handler correctly
2003-10-12 21:21:35 +00:00
gbeauche
cf3d36a3a7
Mach memory fault recovery from Michael Z. Sliczniak
2003-10-12 21:15:52 +00:00
gbeauche
b2fee2f576
Mach bad access recovery support from Michael Z. Sliczniak
2003-10-12 15:56:00 +00:00
gbeauche
192943f46c
Fix vm_acquire() and friend on MacOS X
2003-10-12 11:00:12 +00:00
gbeauche
b66f5972f9
Make sure a 32-bit B2/JIT works reasonnably well on AMD64 too. This implies
...
to force RAMBaseHost < 0x80000000. This is empirically determined to work on
Linux/x86 and Linux/amd64.
2003-10-03 18:18:15 +00:00
gbeauche
87e4d48b3e
flags are live after a call to fflags_into_flags_internal()
2003-10-02 09:51:14 +00:00
gbeauche
c464b19f06
get a chance to see some illegal instruction variants if we ever come to
...
encounter them.
2003-10-02 09:48:10 +00:00
cebix
ddcfbe2bda
parallel build uses NCPU jobs instead of NCPU+1
2003-09-29 13:30:29 +00:00
gbeauche
f9dd276a47
use spinlocks on SheepShaver/Linux/PPC, and possibly others where spinlocks
...
are available. TODO: check the fastest & safest means to lock VOSF stuff.
2003-09-29 08:27:24 +00:00
gbeauche
23c4ebcdf3
really fix typo!
2003-09-29 08:04:22 +00:00
gbeauche
aa61c47591
fix typo
2003-09-29 08:02:04 +00:00
gbeauche
a48a804c15
New SIGSEGV API so that skip-instruction requests are more explicit. Yes,
...
that's api change, but that's cooler now for SheepShaver. ;-)
2003-09-29 07:02:58 +00:00
gbeauche
505455c8c4
Check for readline headers in the headers check section as otherwise, and
...
I don't exactly know why, AC_HEADER_STDC would fail with newer autoconf
versions.
2003-08-17 11:58:00 +00:00
gbeauche
ac027954dc
Bring x86 instruction skipper back to life
2003-08-17 10:52:52 +00:00
gbeauche
797cb8825a
Aliases for PACKAGE and VERSION used for localisation if compiling cxmon
...
now that we check for AM_GNU_GETTEXT. Yes, life sucks sometimes.
2003-08-17 10:35:18 +00:00
gbeauche
ff483b7800
#define log printf in B2 stubs
2003-08-17 10:20:22 +00:00
gbeauche
f40f7ab91f
AM_GNU_GETTEXT for gnome stuff
2003-08-17 10:16:23 +00:00
nigel
c7f5e13813
Corrected names in keyboard menu
2003-08-17 00:27:34 +00:00
nigel
415c2721bc
Cope with invalid keyboard ids
2003-08-16 11:16:36 +00:00
nigel
14a5fd6aaf
Restart now works if the emulator is paused
...
(i.e. it unpauses it first)
2003-08-16 11:14:50 +00:00
nigel
35fcf4d98c
Added new keyboardtype preference (stolen from the Windows port)
2003-08-16 03:28:58 +00:00
nigel
ddb433382d
Added new keyboardtype popup menu
2003-08-16 03:03:52 +00:00
nigel
09bb402d31
Corrected path on some Unix source, added HowTo.html,
...
updated vers. no, turned off debugging
2003-08-16 02:59:17 +00:00
nigel
583fb6cd74
New version (still at beta), new ideas, slight reformatting
2003-08-16 02:53:50 +00:00
nigel
a861c1c322
Extra code for keyboardtype popup menu, renamed a variable
2003-08-16 02:51:46 +00:00
nigel
cb6adb6291
Default app for HowTo.html (instead of TextEdit), formatting (spaces->tabs)
2003-08-16 02:47:27 +00:00
nigel
75f84b51ce
Some segmentation trap changes from latest main_unix.cpp
2003-08-02 11:03:15 +00:00
nigel
786072d3a6
extfs now defaults to user's home directory (mounting / is a bit dangerous, and slow)
2003-08-02 10:43:06 +00:00
nigel
665ef27a0e
Added OS X sections
2003-08-02 08:48:38 +00:00
nigel
4b4a2de13e
Small tidyup
2003-08-02 08:47:26 +00:00
nigel
74b3b4b669
Updated Unix config.{guess,sub} which know about Darwin means that
...
we can use them instead of looking for the OS X installed versions.
2003-08-02 08:19:48 +00:00
nigel
ff841e7ea3
App needs Unix/sigsegv.cpp. How did I miss this?
2003-08-02 07:26:17 +00:00
nigel
7934f6d322
Added minor changes from latest Unix version
2003-08-02 06:22:54 +00:00
cebix
91c9cf1879
fixed the test for GCC [Brian J. Johnson]
2003-07-25 13:45:25 +00:00
cebix
2257e7be3f
fix for no-threads case for an emulated 68k [Todd Vierling]
2003-07-25 13:41:58 +00:00
cebix
16b21014ef
added format switching and other improvements [Brian Johnson]
2003-07-12 11:04:38 +00:00
cebix
0074b3346e
modernized the autoconf stuff
2003-07-01 18:10:38 +00:00
cebix
c945f0484e
updated autoconf auxiliary files
2003-06-27 13:59:16 +00:00
nigel
846715a208
New items for changing prefs file
2003-06-03 12:46:33 +00:00
nigel
c5e4d8dbb4
Incomporated some more stuff from latest Unix version, formatting changes
2003-06-03 12:40:02 +00:00