ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/video.cpp
Revision 1.29 - (view) (annotate) - [select for diffs]
2008-01-01T09:40:31Z (16 years, 4 months ago) by gbeauche
Branch: MAIN
CVS Tags: HEAD
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
Happy New Year!

Revision 1.28 - (view) (annotate) - [select for diffs]
2005-01-30T21:42:13Z (19 years, 3 months ago) by gbeauche
Branch: MAIN
CVS Tags: nigel-build-17, nigel-build-19
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
Happy New Year!

Revision 1.27 - (view) (annotate) - [select for diffs]
2004-01-12T15:29:22Z (20 years, 3 months ago) by cebix
Branch: MAIN
CVS Tags: nigel-build-15, nigel-build-16
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
Happy New Year! :)

Revision 1.26 - (view) (annotate) - [select for diffs]
2002-04-25T13:14:11Z (22 years ago) by cebix
Branch: MAIN
CVS Tags: nigel-build-12, nigel-build-13
Changes since 1.25: +12 -4 lines
Diff to previous 1.25
added some safety checks

Revision 1.25 - (view) (annotate) - [select for diffs]
2002-04-25T11:00:30Z (22 years ago) by cebix
Branch: MAIN
Changes since 1.24: +261 -229 lines
Diff to previous 1.24
- 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

Revision 1.24 - (view) (annotate) - [select for diffs]
2002-01-15T14:58:32Z (22 years, 3 months ago) by cebix
Branch: MAIN
CVS Tags: snapshot-15012002
Changes since 1.23: +2 -2 lines
Diff to previous 1.23
- documentation updates
- 2001 -> 2002
- version 0.9 -> 1.0

Revision 1.23 - (view) (annotate) - [select for diffs]
2001-07-11T19:26:13Z (22 years, 9 months ago) by cebix
Branch: MAIN
Changes since 1.22: +7 -22 lines
Diff to previous 1.22
fixed a couple of compiler warnings

Revision 1.22 - (view) (annotate) - [select for diffs]
2001-07-09T11:21:59Z (22 years, 9 months ago) by cebix
Branch: MAIN
Changes since 1.21: +2 -0 lines
Diff to previous 1.21
- ADB has its own interrupt flag, INTFLAG_ADB
- ADBMouseMoved(), ADBMouseDown/Up() and ADBKeyDown/Up() trigger the ADB
  interrupt
- ADB mutex is only used for mouse movement (the only input state where it
  matters)
- adb.cpp: toggling relative mouse mode resets mouse_x/y
- PrimeTime(0) schedules a timer task with 0 delay time; this is still not
  the correct implementation, but it makes MacSyndicate work...
- Unix: pthreads are preferred to POSIX.4 timers for 60Hz ticks because the
  timers drift badly under Linux and the thread can compensate for drifting
  well enough
- Unix: moved GetTicks_usec() and Delay_usec() to timer_unix.cpp
- video_x.cpp: X mouse acceleration is disabled in relative mouse mode because
  MacOS does its own acceleration
- video_x.cpp: palette[].pixel and palette[].flags are always preset
- video_x.cpp: decoupled X event handling from 60Hz video refresh cycle by
  using select() with a timeout on the X fd

Revision 1.21 - (view) (annotate) - [select for diffs]
2001-07-04T11:12:19Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.20: +25 -6 lines
Diff to previous 1.20
some small fixes

Revision 1.20 - (view) (annotate) - [select for diffs]
2001-07-03T19:20:38Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.19: +72 -6 lines
Diff to previous 1.19
- 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

Revision 1.19 - (view) (annotate) - [select for diffs]
2001-07-01T21:09:26Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.18: +21 -3 lines
Diff to previous 1.18
- video_set_palette() gets passed the number of used palette entries
- video_x.cpp supports 2- and 4-bit modes on truecolor screens

Revision 1.18 - (view) (annotate) - [select for diffs]
2001-07-01T14:38:02Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.17: +80 -75 lines
Diff to previous 1.17
- 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

Revision 1.17 - (view) (annotate) - [select for diffs]
2001-07-01T12:42:01Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.16: +9 -9 lines
Diff to previous 1.16
fixed compilation problems on BeOS/ppc

Revision 1.16 - (view) (annotate) - [select for diffs]
2001-07-01T00:46:31Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15
- 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

Revision 1.15 - (view) (annotate) - [select for diffs]
2001-06-30T22:23:43Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.14: +1 -3 lines
Diff to previous 1.14
gamma tables work with X11

Revision 1.14 - (view) (annotate) - [select for diffs]
2001-06-30T17:21:51Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.13: +190 -22 lines
Diff to previous 1.13
- experimental gamma table support
- restructured video_x.cpp: uses classes for display types

Revision 1.13 - (view) (annotate) - [select for diffs]
2001-06-29T12:51:20Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.12: +5 -1 lines
Diff to previous 1.12
slot ROM checksum is recalculated after patching during resolution switch

Revision 1.12 - (view) (annotate) - [select for diffs]
2001-06-28T21:36:46Z (22 years, 10 months ago) by gbeauche
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11
vector<> is in namespace std

Revision 1.11 - (view) (annotate) - [select for diffs]
2001-06-28T21:19:59Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.10: +192 -65 lines
Diff to previous 1.10
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.

Revision 1.10 - (view) (annotate) - [select for diffs]
2001-06-27T20:05:23Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.9: +41 -15 lines
Diff to previous 1.9
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)

Revision 1.9 - (view) (annotate) - [select for diffs]
2001-06-27T19:03:35Z (22 years, 10 months ago) by cebix
Branch: MAIN
Changes since 1.8: +271 -42 lines
Diff to previous 1.8
added infrastructure for resolution/depth switching (currently, all video
drivers only support one mode, the one selected by the user)

Revision 1.8 - (view) (annotate) - [select for diffs]
2001-05-31T15:36:33Z (22 years, 11 months ago) by cebix
Branch: MAIN
CVS Tags: release-0_9-1
Changes since 1.7: +2 -4 lines
Diff to previous 1.7
small cleanup

Revision 1.7 - (view) (annotate) - [select for diffs]
2001-02-02T20:52:57Z (23 years, 2 months ago) by cebix
Branch: MAIN
CVS Tags: snapshot-17022001, snapshot-29052001
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
- bumped version number to 0.9
- updated copyright dates

Revision 1.6 - (view) (annotate) - [select for diffs]
2000-08-22T12:44:29Z (23 years, 8 months ago) by cebix
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
- fixed compilation problem under Linux
- TriggerNMI() declaration moved to cpu_emulation.h

Revision 1.5 - (view) (annotate) - [select for diffs]
2000-08-20T14:08:40Z (23 years, 8 months ago) by jlachmann
Branch: MAIN
Changes since 1.4: +10 -2 lines
Diff to previous 1.4
added MacsBug Support -jl-

Revision 1.4 - (view) (annotate) - [select for diffs]
2000-07-22T16:07:19Z (23 years, 9 months ago) by cebix
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
- new FOURCC() macro in macos_util.h

Revision 1.3 - (view) (annotate) - [select for diffs]
2000-04-10T18:52:32Z (24 years ago) by cebix
Branch: MAIN
CVS Tags: snapshot-13072000
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
- updated copyright info: 1999->2000

Revision 1.2 - (view) (annotate) - [select for diffs]
1999-10-19T19:28:12Z (24 years, 6 months ago) by cebix
Branch: MAIN
CVS Tags: release-0_8-1, snapshot-02111999, snapshot-21101999, snapshot-22121999
Changes since 1.1: +8 -8 lines
Diff to previous 1.1
- now compiles with GCC under AmigaOS

Revision 1.1.1.1 - (view) (annotate) - [select for diffs] (vendor branch)
1999-10-03T14:16:25Z (24 years, 7 months ago) by cebix
Branch: cebix
CVS Tags: release-0_7-2, start
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.29
Imported sources

Revision 1.1 - (view) (annotate) - [select for diffs]
1999-10-03T14:16:25Z (24 years, 7 months ago) by cebix
Branch: MAIN
Branch point for: cebix
Initial revision

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a