11-26-2003
intel 845, framebuffer£¿
I can only use 771£¬
Anybody can use 787, 788, 789 modes£¬
3ks£¡
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have just recently installed solaris8 on my box, and got two minor problems: Based on the size of partitions i should have approx 10gigs of mem., but the system registeres 0 space available on my harddrive....That problem results in a slight inability to install any apps... The second problem is... (3 Replies)
Discussion started by: Diesel
3 Replies
2. Programming
:confused:
I wanted to get Sun Solaris 9 for NT. I went on the SUn.com site but I couldnt exactly locate the link. Anyone has an idea?
thanks
Jigar (6 Replies)
Discussion started by: jigarlakhani
6 Replies
3. UNIX for Dummies Questions & Answers
Where can I download Solaris for Intel PIII platform. I'm trying to learn Unix at home, I have a spare PC and just need to get the OS? I'm an absolute nubie, so maybe this post doesn't even make sense? I tried looking at the Sun site and didn't see anything listed for download (1 Reply)
Discussion started by: wpblencowe
1 Replies
4. UNIX for Advanced & Expert Users
I was wondering what features are not available on Solaris installed on Intel architecture as compared to the SPARC archietecture??
:-) (3 Replies)
Discussion started by: encrypted
3 Replies
5. UNIX for Dummies Questions & Answers
I am having a hard time getting the framebuffer configured for the correct resolution. The card is a XVR-1200 and it is (or should be) linked to (do not know if that is the correct term) jfb0a & b. When I run fbconfig on /dev/fbs/jfb0a and ask for a list of resolutions, they all come back with ... (0 Replies)
Discussion started by: jetaber
0 Replies
6. UNIX for Dummies Questions & Answers
How to set up a framebuffer desktop (environment) / no X desktop (environment)? In my case: Debian etch, allready with framebuffer but I mean that I have in framebuffer all I use in X - also read pdf (without hanging up the whole system..) and so on. (3 Replies)
Discussion started by: Action
3 Replies
7. Fedora
I have a pc with intel 845GLLY board with integrated i845g graphics, 768mb ram, and 1.7ghz p4. I've tried some linux distros before, ubuntu and linux mint and fedora, and older versions of ubuntu, but none of them work! They keep crashing. I searched for answers online and seems that linux kernels... (6 Replies)
Discussion started by: Mooches
6 Replies
8. What is on Your Mind?
Just a quicky...
I am learning AT&T x86-64 assembly syntax and boy how different Intel and AT&T are.
At least there are similarities between AT&T and Motorola 68K syntax the way they are laid out so that does make it a little easier.
I have all the Manuals for the Intel Instruction Set and... (0 Replies)
Discussion started by: wisecracker
0 Replies
LEARN ABOUT SUSE
sdl_listmodes
SDL_ListModes(3) SDL API Reference SDL_ListModes(3)
NAME
SDL_ListModes - Returns a pointer to an array of available screen dimensions for the given format and video flags
SYNOPSIS
#include "SDL.h"
SDL_Rect **SDL_ListModes(SDL_PixelFormat *format, Uint32 flags);
DESCRIPTION
Return a pointer to an array of available screen dimensions for the given format and video flags, sorted largest to smallest. Returns NULL
if there are no dimensions available for a particular format, or -1 if any dimension is okay for the given format.
If format is NULL, the mode list will be for the format returned by SDL_GetVideoInfo()->vfmt. The flag parameter is an OR'd combination of
surface flags. The flags are the same as those used SDL_SetVideoMode and they play a strong role in deciding what modes are valid. For
instance, if you pass SDL_HWSURFACE as a flag only modes that support hardware video surfaces will be returned.
EXAMPLE
SDL_Rect **modes;
int i;
.
.
.
/* Get available fullscreen/hardware modes */
modes=SDL_ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE);
/* Check is there are any modes available */
if(modes == (SDL_Rect **)0){
printf("No modes available!
");
exit(-1);
}
/* Check if or resolution is restricted */
if(modes == (SDL_Rect **)-1){
printf("All resolutions available.
");
}
else{
/* Print valid modes */
printf("Available Modes
");
for(i=0;modes[i];++i)
printf(" %d x %d
", modes[i]->w, modes[i]->h);
}
.
.
SEE ALSO
SDL_SetVideoMode, SDL_GetVideoInfo, SDL_Rect, SDL_PixelFormat
SDL
Tue 11 Sep 2001, 23:01 SDL_ListModes(3)