Commit Graph

347 Commits

Author SHA1 Message Date
cebix
abd6539568 some small fixes 2001-07-04 11:12:20 +00:00
cebix
680ff996eb fixed typo and added VideoQuitFullScreen() 2001-07-03 19:26:51 +00:00
cebix
d0a4b3e5fc - improved compatibility of multiple depth/resolution handling with versions
of MacOS before 7.6:
   - Apple mode IDs are now allocated contiguously from 0x80 (the video_*.cpp
     module must call video_init_depth_list() after adding all modes)
   - if the video driver didn't receive a GetVideoParameters call, it patches
     ScrnBase and the main GDevice upon a video mode switch (otherwise MacOS
     will continue to use the old frame buffer base)
   - the rowBytes values in the video parameters slot resources are correct
     for all bit depths
2001-07-03 19:20:47 +00:00
cebix
cf22cb032a - added support for platform-independant mutexes, currently only properly
implemented under Unix
- adb.cpp uses mutexes for thread-safe mouse handling
- video_x.cpp: pressing Ctrl-F5 in windowed mode switches to a "grabbed"
  relative mouse mode, useful for some games
- video_x.cpp: fixed some bugs relating to the hotkeys (key releases are no
  longer treated as hotkeys)
2001-07-03 15:59:49 +00:00
gbeauche
6aff4fb327 - there is no implicit conversion from vector<T>::iterator to T& 2001-07-02 11:59:31 +00:00
cebix
5bd08dac88 - video_set_palette() gets passed the number of used palette entries
- video_x.cpp supports 2- and 4-bit modes on truecolor screens
2001-07-01 21:09:30 +00:00
cebix
f4243a191b added support for 8-bit windowed modes on 16 and 32-bit screens (for the
games, man, the games! :-)
2001-07-01 19:57:55 +00:00
cebix
af35353cf0 - sony.cpp/disk.cpp/cdrom.cpp use vector<> of drive_info objects instead of
linked list
- color depth switching updates slot ROM
- video_x.cpp always supports 1-bit window modes
- timer_create()/clock_gettime() are pulled from librt if present
2001-07-01 14:38:03 +00:00
cebix
73912e732e fixed compilation problems on BeOS/ppc 2001-07-01 12:42:04 +00:00
cebix
a4b36fd674 - added some documentation
- VidLocal.sp -> VidLocal.slot_param
- X11 color map is loaded with ramp upon startup to avoid the annoying black
  screen during initialization
2001-07-01 00:46:38 +00:00
cebix
50520dcf2f gamma tables work with X11 2001-06-30 22:23:44 +00:00
cebix
a3ea4f3ead - fixed compilation problems in fbdev DGA code
- nicer "about" dialog in GTK prefs editor
- display refresh is inhibited during mode switch if !HAVE_PTHREADS
2001-06-30 20:18:36 +00:00
cebix
b0b21f7fe6 - experimental gamma table support
- restructured video_x.cpp: uses classes for display types
2001-06-30 17:21:56 +00:00
gbeauche
d56ea02151 typo ;-) 2001-06-30 14:48:27 +00:00
cebix
f17b9006d6 - fixed compilation problems under AmigaOS
- fsave/frestore on AmigaOS and NetBSD/m68k always use a 68882/68040-style
  FPU frame, eliminating the need for 68060 FPU patches
2001-06-30 12:58:08 +00:00
cebix
738fa25344 slot ROM checksum is recalculated after patching during resolution switch 2001-06-29 12:51:21 +00:00
gbeauche
d011594d4e zero_fd is not longer used since vm_alloc.cpp should handle that correctly.
However, vm_init() and vm_exit() are called in main_unix.cpp to ensure proper
initialization of the internal zero_fd descriptor, if needed. i.e. no
anonymous mapping for mmap()-based memory allocation.
2001-06-28 22:06:18 +00:00
gbeauche
2ab43425c5 vector<> is in namespace std 2001-06-28 21:36:46 +00:00
cebix
0cf3f32b7d video_x.cpp supports resolution switching in windowed mode: the available
resolutions are 512x384, 640x480, 800x600, 1024x768 and 1280x1024 (the prefs
editor has to be updated to reflect this). The resolution selected in the
prefs editor is used as the default, but it can be changed in the Monitors
control panel. So far only tested with direct addressing.
2001-06-28 21:20:02 +00:00
cebix
0fe2584d92 depth/resolution switching infrastructure should be complete now; slot ROM
contains all supported depths, default mode is stored in XPRAM upon startup,
and added video_switch_to_mode() call (currently unimplemented in all drivers)
2001-06-27 20:05:31 +00:00
cebix
1be8a821a8 added infrastructure for resolution/depth switching (currently, all video
drivers only support one mode, the one selected by the user)
2001-06-27 19:03:38 +00:00
gbeauche
dae4fb627c - added SIGSEGV support for Linux/Alpha (to be checked), Darwin/PPC
- added uniform virtual memory allocation
  (supports mmap(), vm_allocate(), or fallbacks to malloc()/free())
- cleaned up memory allocation in main_unix.cpp
2001-06-26 22:35:42 +00:00
gbeauche
673c53231f - In banked addressing mode, the UAE memory handlers should already handle
reads/writes to/from the frame buffer correctly. i.e. specialised blitters
  should not be used there.
2001-06-22 08:34:49 +00:00
gbeauche
4d03a57251 - cleaned up removal of '-g' for gcc 2001-06-19 08:29:50 +00:00
gbeauche
da9f22d930 - config.guess: import CVS version 1.195
- config.sub: import CVS version 1.212
As a side effect, it now recognizes MacOS X
2001-06-19 08:29:07 +00:00
gbeauche
19cda89b5e - NEGX may use X & Z flags 2001-06-05 12:23:27 +00:00
gbeauche
fe6ad83317 - use "volatile" to prevent from optimization for writes to page 2001-06-05 12:16:34 +00:00
cebix
ea1f0a0761 fixed location of FPU source for PPC 2001-05-31 21:46:25 +00:00
cebix
ad7fbb0698 final adjustments for 0.9 release 2001-05-31 20:53:53 +00:00
cebix
31610651eb small cleanup 2001-05-31 15:36:33 +00:00
cebix
0cb5ef8767 don't call aclocal 2001-05-31 15:33:44 +00:00
cebix
dbf260f29b updated source archive name 2001-05-31 14:34:52 +00:00
cebix
560636ee8d prepared for snapshot release 2001-05-29 15:02:16 +00:00
cebix
b652896918 "About" window looks nicer 2001-05-26 12:31:00 +00:00
cebix
8c6f419c37 - VOSF is enabled by default 2001-05-24 15:06:13 +00:00
cebix
68310129fe - AmigaOS: SCSI buffer memory type can be selected via prefs 2001-05-24 14:31:07 +00:00
cebix
d88fac31e1 default FPUSRC was wrong 2001-05-22 19:01:44 +00:00
gbeauche
b7d1ee252c - fixed "SIGSEGV recovery" not supported case 2001-05-21 03:21:54 +00:00
gbeauche
98192c4ba9 - new and updated SIGSEGV support functions:
+ configure script cleanups
  + possible support for Direct Addressing / VOSF on other platforms
2001-05-20 20:31:50 +00:00
cebix
8e93379eb4 PrefsExit() sets the_prefs to NULL 2001-05-15 14:24:25 +00:00
gbeauche
fedb56d8af - fixes for gcc-3.0 2001-04-25 14:53:45 +00:00
cebix
eba40b9865 fixed bug with -Ofast on IRIX 2001-04-10 18:33:57 +00:00
cebix
017fc451b7 fixed compilation problems under BeOS/x86 2001-04-10 11:05:13 +00:00
gbeauche
ebb5be06cf - fixed operand number for source register (do_fmod) 2001-04-09 14:19:58 +00:00
cebix
3fcce55c7d serial_unix.cpp: input/output_thread_cancel weren't initialized [Kolja Waschk] 2001-04-08 12:21:46 +00:00
cebix
e0307117d2 - added help for command line options
- PrefsInit() removes all processed options
2001-04-01 12:11:45 +00:00
cebix
5ffe6505dc - fixed bugs in the BeOS extfs file types handling 2001-03-31 14:32:01 +00:00
cebix
085855e083 updated copyright dates 2001-03-31 11:44:48 +00:00
cebix
3b54f1f8de - FreeBSD configure script cleanups [Michael Alyn Miller]
- ether_linux.cpp moved and renamed to ether_unix.cpp, now also works with
  the tap driver under FreeBSD [Michael Alyn Miller]
- fpu_x86_asm.h: fixed problem in with newer GCC pre-processors
2001-03-29 14:20:55 +00:00
cebix
0cf579b49e - "-Ofast" option is supplied to MIPSPro compiler [Brian J. Johnson
- workaround for IRIX pthreads bug in Delay_usec() [Brian J. Johnson]
2001-03-28 16:53:39 +00:00
cebix
3c0d6f6e43 cleaned up a little 2001-03-28 14:18:58 +00:00
gbeauche
d1ea113beb - fixed FPU core auto-detection for non-x86 architectures 2001-03-24 08:56:15 +00:00
gbeauche
6059507910 Moved FPU emulation code sources to uae_cpu/fpu/ 2001-03-20 18:05:36 +00:00
gbeauche
28b71c0972 - removed old JIT compiler, its related support functions and files
(compiler.{h,cpp})
2001-03-20 17:35:46 +00:00
gbeauche
7535a1042f Additions:
- MOVE16 (Ay)+,(xxx).L
- MOVE16 (xxx).L,(Ay)+
- MOVE16 (Ay),(xxx).L
- MOVE16 (xxx).L,(Ay)

Fixes:
- MOVE16 (Ax)+,(Ay)+ where x == y: address register shall be incremented
  only once
- CINV, CPUSH: 'p' field matches correctly the instruction 'cache field'
2001-03-19 13:11:40 +00:00
cebix
53973d4b84 backported the changes from the Mac-On-Linux project:
- now compiles under Linux 2.4 kernels
 - Ethernet hardware address is virtualized on the Mac side
 - automatically filters IP packets based on the IP address of the Mac side
2001-03-18 15:41:17 +00:00
cebix
ff01052ee4 testing the basilisk-cvs mailing list 2001-03-11 16:03:14 +00:00
cebix
e985209cd0 This is a test. Ignore. 2001-03-11 14:25:15 +00:00
cebix
a3bf445958 testing again 2001-03-11 14:24:03 +00:00
cebix
f1187fc1b0 testing the basilisk-cvs list 2001-03-11 14:21:18 +00:00
cebix
050a1a9177 testing the basilisk-cvs list 2001-03-11 13:39:58 +00:00
cebix
11030b234b testing again 2001-03-11 13:38:42 +00:00
cebix
ce802f5dfd testing the basilisk-cvs list 2001-03-11 13:30:26 +00:00
cebix
eec6b9acf6 testing the basilisk-cvs list 2001-03-11 13:21:38 +00:00
cebix
4d5028655f added patches from Brian J. Johnson (better VOSF performance and responsiveness) 2001-03-06 18:41:12 +00:00
cebix
8c39ddb2a2 added date of CVS snapshot 2001-02-17 16:35:39 +00:00
cebix
6494332010 documentation update (networking under BeOS) 2001-02-10 20:58:03 +00:00
cebix
cb4d38e711 fixed compilation problem under BeOS/x86 2001-02-10 20:46:17 +00:00
cebix
1cca65ee5b compilation aborts on x86 machines 2001-02-10 20:42:46 +00:00
cebix
7e29a242e0 documentation updates 2001-02-10 20:04:17 +00:00
cebix
57c4e2dcda floppy driver updates DskErr 2001-02-10 20:03:55 +00:00
cebix
73872e23cb added missing TriggerNMI() function 2001-02-10 19:58:46 +00:00
cebix
16203c298f "make install" failed when driver was already installed 2001-02-10 19:58:20 +00:00
cebix
4b2c1d9a23 implemented VOSF on Linux/ppc 2001-02-10 15:29:01 +00:00
gbeauche
a76e2d5da4 - added code to fake HWBases to scratch memory area 2001-02-10 11:37:42 +00:00
gbeauche
52d36668fe Mode of operations
- detailed a little more Banked Memory Addressing
- added a description of Direct (Constant-Offset) Addressing
- real addressing works on some non-68k, little-endian systems
2001-02-10 09:20:54 +00:00
cebix
4785ea2b9a fixed compilation problems under BeOS 2001-02-09 20:04:15 +00:00
cebix
c23567ab14 - bumped version number to 0.9
- updated copyright dates
2001-02-02 20:53:00 +00:00
gbeauche
e8862d8cbe - Added blitters for BGR 555 mode 2001-01-31 21:28:58 +00:00
gbeauche
9b2ed3594e - Faked VIA, SCCRd, SCCWr base addressed to scratch memory area in
EMUL_OP_INSTALL_DRIVERS
2001-01-30 07:27:23 +00:00
gbeauche
e94d644b19 Mainly changes to the VOSF code:
- improved blitters selection
- improved blitters performance if UNALIGNED_PROFITABLE is set
- cleaned up 8 bpp blitters
2001-01-28 14:05:19 +00:00
gbeauche
069a1ba3ad - removed --enable-16bit-vidmode (unused and useless) 2001-01-28 14:04:32 +00:00
gbeauche
97d7dcc005 - added do_byteswap_16() and do_byteswap_32() 2001-01-28 14:03:19 +00:00
cebix
81f357c42c - AmigaOS: implemented XPRAM watchdog thread
- AmigaOS: disabled 68060 Super Bypass mode because of CPU bug triggered
  by MacOS 8
- minor documentation updates
2001-01-25 22:24:36 +00:00
cebix
049092ac3d added numeric values to video driver control/status codes 2001-01-25 21:37:41 +00:00
cebix
aa018d1bdd updated autogen.sh script 2001-01-16 14:14:10 +00:00
gbeauche
252d602e96 - Cleaned up some comments again
- The dirtyPages[] array overrun conditions should be really safe now
2001-01-11 18:00:40 +00:00
gbeauche
5d671689db - Added UNALIGNED_PROFITABLE to the list of i386 macro definitions
- Changed OPTFLAGS macro definitions to OPTIMIZED_FLAGS
2001-01-11 16:39:25 +00:00
gbeauche
bd3734e10a Changes made to the update routines
- Cleaned up the process for determining the ranges of pages touched
  that have to be blitted onto the screen (find_next_page_set() and
  find_next_page_clear() functions)
Changes made to do_handle_screen_fault()
- An unhandled address is now dealt by the default SIGSEGV handler
- Print out the address of the instruction that caused the exception
2001-01-11 16:39:08 +00:00
gbeauche
d583307d6b - Cleaned up the process for determining the ranges of pages touched
that have to be blitted onto the screen (find_next_page_set() and
  find_next_page_clear() functions)
- Cleaned up some comments
Changes from Brian J. Johnson
- Fixed mainBuffer.dirtyPages[] array overrun in VOSF code
- Fixed calculation of the frames-per-second value
2001-01-11 16:38:48 +00:00
gbeauche
d21cbd327d - From Lauri's ChangeLog: "Fixed a bug in FPU FTAN opcode (didn't pop the value
1.0 that x86 partial tangent FPTAN always pushes to stack for 8087/287
  compatibility)."
2001-01-11 13:19:30 +00:00
cebix
c7d71ae1ab XFree() doesn't need casting 2001-01-06 22:15:35 +00:00
cebix
6b92e785c7 - removed the INT16 prefs item type; use INT32 instead
- AmigaOS/Unix: it's now possible to specify preferences items on the
  command line
- Unix: command line options now take "--"-prefix, e.g. "--rominfo"
2001-01-04 19:50:23 +00:00
cebix
29768a331f - man page is included in RPM whether or not it is compressed 2001-01-02 21:03:27 +00:00
cebix
a27c99d440 - removed USE_MAPPED_MEMORY (unused)
- fixed Delay_usec() on Solaris
2000-11-30 16:20:52 +00:00
cebix
bc2b95f73b fixed fbcopy_16_obo on big-endian systems 2000-11-30 16:09:03 +00:00
cebix
4fa9af7465 added sources for "sheep" driver and "sheep_net" network add-on 2000-11-13 16:59:42 +00:00
cebix
4162bfeffb window close widget now maps to Mac "power" key 2000-11-03 18:27:55 +00:00
cebix
3a777718bd - clicking on the "close" widget of the MacOS display window rings the bell
but doesn't actually close the window to prevent Basilisk II from being
  accidentally killed without a proper shutdown of MacOS
- replaced many #ifdef HAVE_PTHREADS constructs with LOCK/UNLOCK macros
- minor cleanups
2000-11-03 18:21:43 +00:00
cebix
3e6bb33b15 removed unnecessary window attributes 2000-11-03 12:23:49 +00:00