comparison src/video/xbios/SDL_xbios.c @ 972:15a7d0c44e73

Sort video modes by width then height
author Patrice Mandin <patmandin@gmail.com>
date Sat, 13 Nov 2004 09:57:20 +0000
parents ff1058d642dc
children 3b1ba22f5a28
comparison
equal deleted inserted replaced
971:96671ebc50a4 972:15a7d0c44e73
91 91
92 /* Falcon RVB modes */ 92 /* Falcon RVB modes */
93 static int xbiosnummodes_f30rvb=16; 93 static int xbiosnummodes_f30rvb=16;
94 static xbiosmode_t xbiosmodelist_f30rvb[]={ 94 static xbiosmode_t xbiosmodelist_f30rvb[]={
95 {BPS16|COL80|OVERSCAN|VERTFLAG,768,480,16,SDL_FALSE}, 95 {BPS16|COL80|OVERSCAN|VERTFLAG,768,480,16,SDL_FALSE},
96 {BPS16|COL80|OVERSCAN,768,240,16,SDL_FALSE},
97 {BPS16|COL80|VERTFLAG,640,400,16,SDL_FALSE},
98 {BPS16|COL80,640,200,16,SDL_FALSE},
96 {BPS16|OVERSCAN|VERTFLAG,384,480,16,SDL_FALSE}, 99 {BPS16|OVERSCAN|VERTFLAG,384,480,16,SDL_FALSE},
97 {BPS16|COL80|VERTFLAG,640,400,16,SDL_FALSE}, 100 {BPS16|OVERSCAN,384,240,16,SDL_FALSE},
98 {BPS16|VERTFLAG,320,400,16,SDL_FALSE}, 101 {BPS16|VERTFLAG,320,400,16,SDL_FALSE},
99 {BPS16|COL80|OVERSCAN,768,240,16,SDL_FALSE},
100 {BPS16|OVERSCAN,384,240,16,SDL_FALSE},
101 {BPS16|COL80,640,200,16,SDL_FALSE},
102 {BPS16,320,200,16,SDL_FALSE}, 102 {BPS16,320,200,16,SDL_FALSE},
103 103
104 {BPS8|COL80|OVERSCAN|VERTFLAG,768,480,8,SDL_FALSE}, 104 {BPS8|COL80|OVERSCAN|VERTFLAG,768,480,8,SDL_FALSE},
105 {BPS8|COL80|OVERSCAN,768,240,8,SDL_FALSE},
106 {BPS8|COL80|VERTFLAG,640,400,8,SDL_FALSE},
107 {BPS8|COL80,640,200,8,SDL_FALSE},
105 {BPS8|OVERSCAN|VERTFLAG,384,480,8,SDL_FALSE}, 108 {BPS8|OVERSCAN|VERTFLAG,384,480,8,SDL_FALSE},
106 {BPS8|COL80|VERTFLAG,640,400,8,SDL_FALSE}, 109 {BPS8|OVERSCAN,384,240,8,SDL_FALSE},
107 {BPS8|VERTFLAG,320,400,8,SDL_FALSE}, 110 {BPS8|VERTFLAG,320,400,8,SDL_FALSE},
108 {BPS8|COL80|OVERSCAN,768,240,8,SDL_FALSE},
109 {BPS8|OVERSCAN,384,240,8,SDL_FALSE},
110 {BPS8|COL80,640,200,8,SDL_FALSE},
111 {BPS8,320,200,8,SDL_FALSE} 111 {BPS8,320,200,8,SDL_FALSE}
112 }; 112 };
113 113
114 /* Falcon VGA modes */ 114 /* Falcon VGA modes */
115 static int xbiosnummodes_f30vga=6; 115 static int xbiosnummodes_f30vga=6;
116 static xbiosmode_t xbiosmodelist_f30vga[]={ 116 static xbiosmode_t xbiosmodelist_f30vga[]={
117 {BPS16,320,480,16,SDL_FALSE}, 117 {BPS16,320,480,16,SDL_FALSE},
118 {BPS16|VERTFLAG,320,240,16,SDL_FALSE}, 118 {BPS16|VERTFLAG,320,240,16,SDL_FALSE},
119 119
120 {BPS8|COL80,640,480,8,SDL_FALSE}, 120 {BPS8|COL80,640,480,8,SDL_FALSE},
121 {BPS8|COL80|VERTFLAG,640,240,8,SDL_FALSE},
121 {BPS8,320,480,8,SDL_FALSE}, 122 {BPS8,320,480,8,SDL_FALSE},
122 {BPS8|COL80|VERTFLAG,640,240,8,SDL_FALSE},
123 {BPS8|VERTFLAG,320,240,8,SDL_FALSE} 123 {BPS8|VERTFLAG,320,240,8,SDL_FALSE}
124 }; 124 };
125 125
126 /* To setup palette */ 126 /* To setup palette */
127 127