Commit Graph

476 Commits

Author SHA1 Message Date
nigel
15baaf886a Sequencing changes in init_screen(), removed some global vars and functions,
assorted tidyup, big changes to video_switch_to_mode()
2002-06-05 10:11:40 +00:00
nigel
2880cf6251 Debug statements were not in D() macros 2002-06-05 09:41:27 +00:00
nigel
3319c41d9d Un-necessary function and global int 2002-06-02 12:20:38 +00:00
nigel
f2749d2222 Hanging after minimising icon no longer relevant (I don't minimise anymore).
Replaced with "fullscreen cursor jump" error.
2002-06-02 10:26:55 +00:00
nigel
fdac401a5a Sheet and fullscreen-safe input processing, small tidyup 2002-05-30 12:50:21 +00:00
nigel
3053defd16 New way of storing if emulator is in full screen mode 2002-05-30 12:46:15 +00:00
nigel
3b2c66602f Removed duplicate modes, new way of checking fullscreen mode, use sheets
instead of panels for warnings & errors
2002-05-30 12:43:32 +00:00
nigel
26f40f2630 Minor tidyup 2002-05-30 12:36:17 +00:00
nigel
dc41a2b10c EndSheet() to end non-modal (i.e. non Error) sheets, fixed leak in ErrorSheet() 2002-05-30 12:28:38 +00:00
nigel
c0201dfc68 A better screens prefs change 2002-05-26 00:12:32 +00:00
nigel
edc98d37d2 Removed redundant (old C++ environment) stuff 2002-05-25 23:58:51 +00:00
nigel
0dcf103d24 Fix for screen radio-button selection bug, general tidyup. 2002-05-25 23:56:05 +00:00
nigel
d5995f053a Blocking sheet presentation routines, simpler interfaces 2002-05-25 23:54:39 +00:00
nigel
72129b9348 Added simpler interfaces to panels (less arguments).
Note that this file is now Objective C++ only, so I should rename it to .hh
2002-05-25 23:54:02 +00:00
nigel
5288bdcb94 Extfs version doco change 2002-05-23 12:57:07 +00:00
nigel
8bcd6c180e Added ScreenHideShow: action 2002-05-23 12:48:38 +00:00
gbeauche
d7c4d7afbf Backout "ignoresegv" support on FreeBSD/x86 for now. Unfortunately, the
configure script would hang whereas standalone testing will pass all tests.
Any idea why??
- Unix/sigsegv.cpp (ix86_skip_instruction): Add decoder for mozbl instruction.
  (SIGSEGV_REGISTER_FILE [FreeBSD/x86]): Note why we start at EDI offset
  rather than plain sigcontext pointer. i.e. I don't know sigset_t size
  beforehand and don't intend to.
2002-05-20 18:12:01 +00:00
gbeauche
edb377f181 Implement "ignoresegv" feature on FreeBSD/x86
- Update README and ChangeLog accordingly.
2002-05-20 17:50:39 +00:00
gbeauche
2bd9ee71e8 Implement "ignoresegv" feature on FreeBSD/x86 (tested on FreeBSD 4.5)
- sigsegv.cpp (ix86_skip_instruction): Add decoder for movzwl instructions.
  (main): oddly, FreeBSD doesn't seem to let a write to a page if it is
  write-only. Aka. make the page readable too.
2002-05-20 17:49:04 +00:00
gbeauche
b9e84cfb94 - Notify "ignoresegv" feature in ChangeLog 2002-05-20 16:06:24 +00:00
gbeauche
ae93f1e0d8 - Fix compilation on Linux/x86 with SIGCONTEXT_SUBTERFUGE 2002-05-20 16:03:37 +00:00
gbeauche
c2d3d08a7a - sigsegv.cpp (ix86_skip_instruction): Fix DEBUG compilation. 2002-05-20 16:00:07 +00:00
gbeauche
e81b9ace6d Implement "ignoresegv" feature on Darwin/ppc (tested on MacOS X)
- Unix/sigsegv.cpp (powerpc_decode_instruction): New.
  (get_fault_instruction [MacOS X]): Factorize code.
  (get_fault_instruction [Linux/m68k]): Don't use expression statement.
- README (ignoresegv): Add Darwin/ppc to list of supported platforms.
2002-05-20 15:56:13 +00:00
gbeauche
c47819020c Implement "ignoresegv" feature on Linux/ppc:
- Unix/sigsegv.cpp (powerpc_skip_instruction): New from SheepShaver code.
- README (ignoresegv): Add Linux/ppc to list of supported platforms.
2002-05-19 21:58:42 +00:00
gbeauche
39d97f5b04 - video_vosh.h (Screen_fault_handler): Move unrecoverable fault case to...
- main_unix.cpp (sigsegv_dump_state): ... Here.
- sigsegv.h (sigsegv_fault_handler_t): Rename from sigsegv_handler_t.
- sigsegv.h (sigsegv_state_dumper_t): New.
2002-05-16 15:48:06 +00:00
gbeauche
d5be07f449 - Merge with clisp SIGSEGV library version 1.2 with support added for
HP-UX (contributed by Paolo Bonzini)
- Add missing? include <ucontext.h> for Irix and OSF/1 support
2002-05-12 13:51:22 +00:00
gbeauche
266fc18f8a Implement the "ignoresegv" feature from SheepShaver. This is Unix-specific
so far. Target platform is currently Linux/x86.
2002-05-12 11:10:50 +00:00
nigel
d9892009cc Took out redundant method (was used before event handling re-write) 2002-05-12 10:34:16 +00:00
nigel
0b27de2c57 Minor corrections 2002-05-05 09:48:17 +00:00
nigel
7244cdf618 Changes from recent Unix version 2002-04-29 11:23:59 +00:00
nigel
3e76d393e1 Minor doco changes 2002-04-29 11:17:29 +00:00
cebix
cc423d283f default CD-ROM drive is /dev/cd0c on NetBSD 2002-04-28 14:06:17 +00:00
cebix
00a32a9afb fixed compilation problem in fbdev code 2002-04-28 12:09:23 +00:00
cebix
72bb930435 added some safety checks 2002-04-25 13:14:11 +00:00
cebix
8871da753d - added infrastructure for multi-monitor support; only video_x.cpp is
converted for the new scheme; not actually tested with a mult-monitor
  setup yet but at least single-monitor display doesn't seem to be broken
  (UAE banked addressing would definitely require some extensions to handle
  multiple frame buffers)
- struct video_mode has an extra field that is free for use by platform-
  specific code
2002-04-25 11:00:31 +00:00
nigel
4b96b51050 caddr_t change (to go with vm_alloc.* change?) from Unix files 2002-04-05 13:00:05 +00:00
nigel
71c4389094 Modify getCFint32() to cope with values of zero
(it was assuming 0 was an error condition)
2002-04-05 12:15:34 +00:00
gbeauche
c9563ddb5c - Clarified test of access() return value
- s/strcpy/sprintf/ for cd_dev concatenation
- Statically allocate fd_dev[] and cd_dev[]
Better testing is yet to be done
2002-03-29 16:24:18 +00:00
nigel
15ce8c14f9 Added 'nogui' to unimplemented 2002-03-29 01:30:58 +00:00
cebix
5f9f63dea3 support for Linux devfs 2002-03-27 20:11:12 +00:00
gbeauche
9534ec2fc8 - Update to fix build with gcc-3.1 and -O3 optimization level 2002-03-27 10:45:59 +00:00
gbeauche
f5e58c95d6 - When X86_ASSEMBLY is set, aka when cpuopti is used, do call the
instruction handler by hand and make sure to save %ebp too
- Really merge cpu core with uae-0.8.21:
  - Trace mode fixes (Bernd Roesch & Bernd Schmidt)
  - Reintegrate PTEST and PFLUSH instructions back as no-ops
2002-03-23 13:57:38 +00:00
cebix
ed628a548b fix for IRIX [Marcus Herbert] 2002-03-20 19:37:37 +00:00
cebix
78254ebddd added missing return values 2002-03-20 19:03:41 +00:00
cebix
640130c275 XPRAM gets loaded with default values if "NuMc" signature isn't found. This is
done so the correct (default) video mode is used if the PRAM was wiped.
2002-03-19 14:25:50 +00:00
gbeauche
a42a559bf1 - Close log file 2002-03-18 21:25:07 +00:00
gbeauche
097b4509ee - Add even more term libs and prefer ncurses over the rest. 2002-03-18 13:30:07 +00:00
gbeauche
faa3d07211 - Invert AC_CHECK_LIB for readline and termcap so that the test program
for readline detection is actually linked against -ltermcap -lreadline.
2002-03-18 12:59:44 +00:00
nigel
93cf51385f New script to set up everything for doing a make 2002-03-18 11:40:41 +00:00
nigel
9f7affe816 Updated version to 10 2002-03-18 11:07:27 +00:00
nigel
3d6bd6c5cf Added to comment for add_rsrc() 2002-03-18 11:05:43 +00:00
nigel
bfbfcd22e8 Added version 10 2002-03-18 11:04:15 +00:00
nigel
37ff77fa2c Noted fix of cursor key bug, added 'full screen startup' bug,
corrected memory mapping (mmap) comment
2002-03-18 11:02:16 +00:00
nigel
262c59442e Extra code to map cursor keys 2002-03-18 11:00:27 +00:00
nigel
cfca085155 Simplified for use with new '1_prepare_files.sh' script 2002-03-18 10:58:49 +00:00
nigel
abbc3cc253 Bug fix. Key events were not being passed in full screen mode,
because the window, having been minimised, is no longer 'Key.'
2002-03-18 10:48:25 +00:00
gbeauche
b8ffa860a2 - Add fault instruction recovery for Linux/ppc and siginfo_t handlers 2002-03-16 21:36:12 +00:00
gbeauche
2762a7dd48 - Add Flight Recorder for m68k too. That helps. ;-) 2002-03-16 16:31:54 +00:00
nigel
e9963fa5fb New script to generate symlinks, remove any symlink generation from Makefile,
Makefile now generates 8 wrappers for cpuemu.cpp to slightly improve compile
time, added the 8 wrappers to the Project Builder file, updated doco
2002-03-16 11:50:45 +00:00
gbeauche
2161b984ab - Large File support is now specific to Linux since it breaks build on
other platforms like Solaris/SPARC and I could only test under Linux.
  TODO: Better use the AC_SYS_LARGEFILE macro from autoconf-2.5.
2002-03-16 10:58:22 +00:00
gbeauche
99efbfc712 - Check for caddr_t. On some systems like Solaris/SPARC, mmap() address
type (first parameter) is caddr_t instead of void *. Explicitly cast
  address to (caddr_t) type and C++ implicit pointer conversion rules
  will do the rest. aka. caddr_t -> void * is OK unlike the opposite.
2002-03-16 10:51:17 +00:00
gbeauche
7ec7300784 - Also include <sys/types.h> if system has <unistd.h> 2002-03-16 10:49:00 +00:00
gbeauche
00a63b5e88 - Expand TYPE_SOCKLEN_T as it is a non-standard autoconf macro that lives
in ac-archive/Miscellaneous. Extracted from version 1.2 (2000/07/19) by
  Lars Brinkhoff <lars@nocrew.org>.
2002-03-16 10:12:49 +00:00
nigel
bae4d3e29e Initial revision of Mac OS X port code. Uses Objective-C++. Needs Mac OS 10.1 2002-03-16 10:03:35 +00:00
nigel
a102f8da2c Added latest changes in Unix version 2002-03-16 09:16:18 +00:00
nigel
c9c818cde6 Added BasiliskII.icns (needed to build the application), and a rule
to generate it (empty file) if the developer doesn't supply an icon
2002-03-16 09:09:19 +00:00
nigel
3612015d2c Updated final "make" message 2002-03-16 05:47:12 +00:00
nigel
2d9f3673fb Add Project builder and resource directories 2002-03-16 05:47:11 +00:00
nigel
08a00c378e Added Mac OS X screen preferences, Mac OS X to the 'ported to' list,
my details to the Acknowledgements/Contributions
2002-03-16 05:27:56 +00:00
nigel
a3051c90fe Initial revision of Mac OS X port code. Uses Objective-C++. Needs Mac OS 10.1 2002-03-16 04:01:09 +00:00
nigel
496ab59297 Initial revision of Mac OS X port code. Uses Objective-C++. Needs Mac OS 10.1 2002-03-16 04:00:35 +00:00
cebix
491d75a9aa minor cleanups 2002-03-10 20:17:14 +00:00
cebix
9009fc63a0 some cleanups in the sound component 2002-03-10 19:34:11 +00:00
cebix
3e58028cb1 fixed floppy disk change detection problems under Linux 2002-02-23 17:54:24 +00:00
cebix
5ac532edfd - default floppy device under Linux is now /dev/fd?u1440 because /dev/fd?H1440
is deprecated
2002-02-22 17:48:31 +00:00
gbeauche
2f652a42e5 - vm_acquire_fixed: Fix memset() and vm_protect() calls so that the address
is really the one specified instead of always zero.
2002-02-11 14:28:02 +00:00
cebix
7627f346ee cleaned up pthread attributes [Brian Johnson] 2002-02-07 16:10:57 +00:00
cebix
dc4d9a56c7 direct addressing works under FreeBSD (says Michael Alyn Miller :-) 2002-02-01 19:25:49 +00:00
cebix
d6d7976939 - scsi_linux.cpp uses SCSI generic interface version 2
- slightly more verbose SCSI debugging messages
2002-01-26 18:10:13 +00:00
cebix
0662d7a1f1 added missing file 2002-01-25 12:14:21 +00:00
cebix
7385602242 GNOME-style about box and GNOME file entries are used if libgnomeui is present 2002-01-22 17:15:10 +00:00
cebix
3c7535d252 aclocal.m4 is generated by aclocal via autogen.sh 2002-01-22 16:07:29 +00:00
cebix
e3cfaffb1c 2001 -> 2002 2002-01-20 16:58:56 +00:00
cebix
fe9643c0e9 - fixed the problem with Ticks getting incremented on every interrupt, not
just 60Hz (e.g. moving the mouse made the caret blink faster)
- removed the TAB characters from the ChangeLog file
2002-01-18 21:06:03 +00:00
cebix
53509f02d7 added mon_lowmem.cpp to mon sources 2002-01-18 19:14:46 +00:00
cebix
077d335584 patch for compilation problem under Irix 2002-01-17 20:31:01 +00:00
cebix
628533940d - documentation updates
- 2001 -> 2002
- version 0.9 -> 1.0
2002-01-15 14:58:43 +00:00
gbeauche
00ef1ff5da - Add EIP recovery on Linux/x86 when using siginfo_t based signal handlers 2002-01-07 16:30:39 +00:00
cebix
8fb29cf11b updated for kernel 2.4.9 2002-01-06 14:05:35 +00:00
gbeauche
74e6688987 - Add 64-bit file size support, at least for Linux 2002-01-06 08:22:08 +00:00
gbeauche
eec091e56b - Fix condition codes handling for BFINS instructions (uae 0.8.20) 2002-01-06 08:21:09 +00:00
jlachmann
e3e86a68a9 AmigaOS: Improved video mode switching - more strict error checking 2001-10-16 17:27:52 +00:00
jlachmann
583f0cdbbf AmigaOS: added Video depth/resolution switching 2001-10-14 18:00:44 +00:00
cebix
b36675d9c2 prepared XPRAM code for PowerMac emulation (8192 bytes NVRAM) 2001-10-07 19:50:21 +00:00
cebix
3492bae5e2 updated autoconf/automake helper files 2001-09-18 17:16:47 +00:00
cebix
67eddf896a - added IRIX patches from Brian Johnson
- the existence of socklen_t is now checked by the configure script
2001-09-02 13:50:05 +00:00
gbeauche
4852a06dd2 - 64-bit blitters will use native "quad"-sized loads/stores, if available. 2001-08-19 17:38:11 +00:00
gbeauche
f93d1b483d - merge 680x0 emulation core with uae 0.8.17 2001-08-19 16:21:01 +00:00
gbeauche
bcc6b4b0ac - configure.in: actually save CXXFLAGS instead of CFLAGS in the code to
detect whether the compiler supports -fno-merge-constants or not
- Makefile.in: make sure to link gencpu with g++ since it contains objects
  compiled from C++ code. Fix build problems with gcc 3.0.1
2001-08-19 16:18:30 +00:00
gbeauche
d64a00ed62 * Don't merge constants (pass -fno-merge-constants to the compiler) since
it breaks B2 in fpu/fpu_x86.cpp on the second call to fpu_init(), at the
  fsave instruction. This problem appeared with the following compilers:
  - "Official" : gcc-3.1 (mainline CVS)
  - Mandrake   : gcc-2.96 >= 0.59mdk, gcc-3.0.1 >= 0.1mdk
  - Red Hat    : gcc-2.96 >= 89, gcc-3.0 >= 1
2001-08-02 13:52:24 +00:00