Commit Graph

96 Commits

Author SHA1 Message Date
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
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
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
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
4d5028655f added patches from Brian J. Johnson (better VOSF performance and responsiveness) 2001-03-06 18:41:12 +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
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
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
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
bc2b95f73b fixed fbcopy_16_obo on big-endian systems 2000-11-30 16:09:03 +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
cebix
348606cc5d - added audio support for IRIX [Brian J. Johnson]
- improved Delay_usec() under FreeBSD and IRIX
- fixed typo ("HAVE_PTHREDS") in video_x.cpp
2000-11-02 14:45:17 +00:00
cebix
c3df0cee5a video_x.cpp: window asks for input focus with XSetWMHints() 2000-10-27 17:01:40 +00:00
cebix
01d43035d5 - replaced floating-point page shift calculation by integer routine, fixing
the VOSF problems under NetBSD/m68k
- fixed off-by-7 error in 1-bit window update routines
2000-10-13 16:47:52 +00:00
cebix
a1097b080d - added a few more emulated privileged instructions to NetBSD/m68k
- tried to make VOSF run under NetBSD/m68k, little success (shows stripes and
  sometimes crashes)
2000-10-11 17:55:06 +00:00
cebix
efc60c7f60 works again under NetBSD/m68k 2000-10-09 17:05:17 +00:00
cebix
3c2e4f8c06 added SA_SIGINFO to sa_flags when sa_sigaction is used 2000-10-08 18:41:35 +00:00
gbeauche
147f72cb41 - fixed a bug in the previous patch that would fail to redraw the screen if
dynamic refresh is used.
- cleaned up resume_emul() in DGA mode with VOSF.
2000-09-25 22:33:49 +00:00
gbeauche
48f9ee5477 - cleaned up Expose event handling with VOSF 2000-09-25 21:49:19 +00:00
gbeauche
f882c34591 - added direct and real addressing modes support
- added Video on SEGV signals support
2000-09-22 17:16:31 +00:00
cebix
ce02e4fc56 - improved timing of periodic threads 2000-07-22 18:12:35 +00:00
cebix
675c5f1d7b - new FOURCC() macro in macos_util.h 2000-07-22 16:07:23 +00:00
cebix
343ff7f53b - DGA and SHM are only tried on local X11 displays
- re-integrated old window update method (better performance over a networked
  display connection), frameskip=0 selects new method, other values select
  old method
- fixed compilation errors
2000-07-13 16:12:33 +00:00
cebix
ff5fcd83a7 - first version to run natively on NetBSD/m68k 2000-07-13 13:47:12 +00:00
cebix
97d96bddea - updated copyright info: 1999->2000 2000-04-10 18:53:46 +00:00
cebix
d6429cb00a - new window refresh code from Samuel Lander 2000-02-11 17:20:44 +00:00
cebix
baf8c9438c *** empty log message *** 1999-11-03 21:04:23 +00:00
cebix
90312d104c - imported UAE CPU 0.8.10 changes
- new utility functions Mac_memset, Mac2Host_memcpy, Host2Mac_memcpu and
  Mac2Mac_memcpy
- extfs.cpp: fixed bug in fs_rename() and fs_cat_move() (auxiliary IOParam
  block was not in Mac address space)
- some provisions for using UAE CPU compiler (doesn't work yet)
1999-11-03 10:56:43 +00:00
cebix
5e6cc100f8 - added mouse wheel support 1999-10-25 20:22:35 +00:00
cebix
775ff87b31 - small fixes to fbdev DGA code 1999-10-21 16:40:49 +00:00
cebix
d6b83e4715 - added fbdev DGA preferences to GTK prefs editor 1999-10-21 16:07:36 +00:00
cebix
4c0aab3113 - added fbdev video code and SPARC assembly optimizations 1999-10-21 13:19:27 +00:00
cebix
f9ccb1dffc - disabled X backing store 1999-10-07 13:15:15 +00:00
cebix
05d24b1455 - fixed some compiler warnings
- video_x.cpp: now checks whether the X server has the XFree86DGA extension
1999-10-05 14:59:46 +00:00
cebix
183447c2d7 - improved configuration and installation 1999-10-04 21:07:18 +00:00
cebix
9a68908882 - screen prefs "dga" changed to "dga/<width>/<height>", with zero width/height
meaning "maximum" (also for window mode)
- Caps Lock now behaves as expected
1999-10-03 19:43:28 +00:00
cebix
e828de0c41 - renamed basilisk_ii_keycodes to keycodes
- default location of keycodes file is now $(sharedir)/keycodes
  (depends on install prefix)
- improved the install target
1999-10-03 16:20:08 +00:00
cebix
8e491572ca Imported sources 1999-10-03 14:16:26 +00:00