Commit Graph

440 Commits

Author SHA1 Message Date
gbeauche
281460fba0 - New arch support for IP retrieval on SIGSEGV. 2002-07-17 06:51:05 +00:00
nigel
370d5dcb95 Updated for latest Controller and EmulatorView class methods 2002-07-02 10:23:39 +00:00
nigel
5ef6d3d08c Compatibility with latest C++ monitor object. Unfortunately this requires
a terrible hack to guess the number of bytes per row for each mode, which
is terribly hardware dependant, but is the only way at the moment.
2002-07-02 09:47:57 +00:00
gbeauche
69847c3ea2 Correctly guard FreeBSD bits 2002-06-27 14:28:59 +00:00
jlachmann
abcf74039d Adapted to OO video scheme; Audio volume/muting/sample rate now settable 2002-06-23 08:27:05 +00:00
nigel
ca896c0838 Better mouse event control for full screen mode 2002-06-05 10:18:51 +00:00
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
gbeauche
def097803e - B2_TOPDIR: new macro specifying where Basilisk II directory can be found.
Update "links" rule to take care of it and don't PREFIX with current path
  if B2_TOPDIR yields an absolute path.
  (Simply cosmetic so that I can have multiple SS work dirs, effortlessly ;-)
2002-05-09 09:55:45 +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
gbeauche
665c64b4aa Add support to decode parcels-based ROMs
- include/rom_patches.h (DecodeROM): Declare.
- rom_patches.cpp (DecodeROM): Define.
- Unix/main_unix.cpp, BeOS/main_beos.cpp (decode_lzss): Move to...
- rom_patches.cpp (decode_lzss): ... here.
- Unix/main_unix.cpp (main): Call DecodeROM().
- BeOS/main_beos.cpp (SheepShaver::load_rom): Call DecodeROM().
2002-04-21 15:07:09 +00:00
gbeauche
05d3e990a5 - Do match APPLE_16_BIT to the underlying X depth (either 15 or 16 bpp) 2002-04-21 11:47:18 +00:00
gbeauche
e89d481489 Match changes from glibc 2.2 (?)
- #define status as __status
- #define spinlock as __spinlock
2002-04-21 11:42:30 +00:00
gbeauche
d1b8e62cc9 - Invert AC_CHECK_LIB for readline and termcap so that the test program
for readline detection is actually linked against -ltermcap -lreadline.
  Also add other term libs and finally prefer ncurses over the rest.
2002-04-21 11:21:26 +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