Commit Graph

1712 Commits

Author SHA1 Message Date
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
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