SDL, FBCon and non-standard resolutions

Hello,

I am about attempt to use SDL on an embedded device that uses
a graphic console (fbcon) in a non-standard resolution of
720x480. Actually the system boots in 640x480 then I play with
some of the registers (some custom hardware is involved) to get
the 720x480. If I modify the SDL_fbcon.c source to the new
resolution and pitch (this is very important because the fb
driver reports the info as if it was 640x480), will all the
other functions work as expected.

It should work fine.

Let me know how it goes!

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Hello,

I am about attempt to use SDL on an embedded device that uses
a graphic console (fbcon) in a non-standard resolution of
720x480. Actually the system boots in 640x480 then I play with
some of the registers (some custom hardware is involved) to get
the 720x480. If I modify the SDL_fbcon.c source to the new
resolution and pitch (this is very important because the fb
driver reports the info as if it was 640x480), will all the
other functions work as expected.

Thanks for the help,
Adam

In article ,
slouken at devolution.com says…

Hello,

I am about attempt to use SDL on an embedded device that uses
a graphic console (fbcon) in a non-standard resolution of
720x480. Actually the system boots in 640x480 then I play with
some of the registers (some custom hardware is involved) to get
the 720x480. If I modify the SDL_fbcon.c source to the new
resolution and pitch (this is very important because the fb
driver reports the info as if it was 640x480), will all the
other functions work as expected.

It should work fine.

Let me know how it goes!

-Sam Lantinga (slouken at devolution.com)

Will do. Actually I had SDL running on the system yesterday but in
640x480 mode. Worked fine. I also tried smpeg on the system, it worked
but was VERY VERY SLOW. I guess this is to be expected. Its a 486 based
device. If your interested is the STPC by st. Very neat chip. If you
have any interest go to www.st.com/stpc… Did you get the DIRECTCOLOR
code I emailed you?

Thanks Sam
Adam