* Using VESA BIOS in Framebuffer driver
@ 2003-05-14 4:20 seetaram Tekkalakot
2003-05-14 22:40 ` James Simmons
0 siblings, 1 reply; 3+ messages in thread
From: seetaram Tekkalakot @ 2003-05-14 4:20 UTC (permalink / raw)
To: linux-fbdev-devel
Hi Guys
I am developing a framebuffer driver for my PLC 69030 video card.
I have gone through the Source code of the Sample framebuffer driver and i have some clarifications needed. Please clarify my doubts.
1.How does the Frame buffer driver Switches graphics modes, i mean how does it initializes the graphics system say in 640*480*256 mode and switch to say 800*600*24 mode.
Does it depend on VESA BIOS calls to do this ?
Let me know.
2.How does the framebuffer driver achieve paging ?
Say my display memoy is 4mb and i want divide it into 4 pages then how will i do this ?
Please clarify my doubts
Thanks and regards
Seetaram
--
______________________________________________
http://www.india.com
Now with POP3/SMTP access for only US$14.95/yr
Powered by Outblaze
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using VESA BIOS in Framebuffer driver
@ 2003-05-14 21:37 Cheshire Cat Fish
0 siblings, 0 replies; 3+ messages in thread
From: Cheshire Cat Fish @ 2003-05-14 21:37 UTC (permalink / raw)
To: seetaram_nt, linux-fbdev-devel
--
A precariously balanced mixture of myopic optimism and rampant paranoia.
>I am developing a framebuffer driver for my PLC 69030 video card.
>I have gone through the Source code of the Sample framebuffer driver and i
>have some clarifications needed. Please clarify my doubts.
I am in the process of doing exactly this for a custom board. So this will
be like the blind leading the blind I suspect, but for what it is worth,
here is what I know...
>1.How does the Frame buffer driver Switches graphics modes, i mean how does
>it initializes the graphics system say in 640*480*256 mode and switch to
>say 800*600*24 mode.
>Does it depend on VESA BIOS calls to do this ?
I think this is up to you how you want to do this. In mine, I do it by
directly programming the hardware (no BIOS calls whatsoever). Basically,
you are told to set a mode - how you do that is up to you.
>2.How does the framebuffer driver achieve paging ?
>Say my display memoy is 4mb and i want divide it into 4 pages then how will
>i do this ?
I'm not sure what you mean by paging. Video memory isn't typically paged.
Is not all 4MB available at once?
Noel.
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using VESA BIOS in Framebuffer driver
2003-05-14 4:20 Using VESA BIOS in Framebuffer driver seetaram Tekkalakot
@ 2003-05-14 22:40 ` James Simmons
0 siblings, 0 replies; 3+ messages in thread
From: James Simmons @ 2003-05-14 22:40 UTC (permalink / raw)
To: seetaram Tekkalakot; +Cc: linux-fbdev-devel
> I am developing a framebuffer driver for my PLC 69030 video card.
> I have gone through the Source code of the Sample framebuffer driver and
> i have some clarifications needed. Please clarify my doubts.
>
> 1.How does the Frame buffer driver Switches graphics modes, i mean how does
> it initializes the graphics system say in 640*480*256 mode and switch
> to say 800*600*24 mode.
Well that is very hardware dependent. Which kernel are you working with?
> Does it depend on VESA BIOS calls to do this ?
NO!!! There does exist vesafb.c for this but this only works on a system
with a BIOS. If you have a system with no BIOS you are out of luck.
> 2.How does the framebuffer driver achieve paging ?
> Say my display memoy is 4mb and i want divide it into 4 pages then how
> will i do this ?
4 pages?
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-05-14 22:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-14 4:20 Using VESA BIOS in Framebuffer driver seetaram Tekkalakot
2003-05-14 22:40 ` James Simmons
-- strict thread matches above, loose matches on Subject: below --
2003-05-14 21:37 Cheshire Cat Fish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).