BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / accelerants / neomagic / GetTimingConstraints.c
blobbda20eb133d0cbd36643fe64480f7a08b7d63658
1 /*
2 Author:
3 Rudolf Cornelissen 11/2004
4 */
6 #define MODULE_BIT 0x01000000
8 #include "acc_std.h"
10 /* Used to help generate mode lines */
11 status_t GET_TIMING_CONSTRAINTS(display_timing_constraints * dtc)
13 LOG(4, ("GET_TIMING_CONSTRAINTS: returning info\n"));
15 /* specs are identical for all Neomagic cards */
16 dtc->h_res = 8;
17 dtc->h_sync_min = 8;
18 dtc->h_sync_max = 248;
19 /* Note:
20 * h_blank info is used to determine the max. diff. between h_total and h_display! */
21 dtc->h_blank_min = 8;
22 dtc->h_blank_max = 504;
24 dtc->v_res = 1;
25 dtc->v_sync_min = 1;
26 dtc->v_sync_max = 15;
27 /* Note:
28 * v_blank info is used to determine the max. diff. between v_total and v_display! */
29 dtc->v_blank_min = 1;
30 dtc->v_blank_max = 255;
32 return B_OK;