flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Generic UGA Driver- need help with CRTC and Sequencer

Author
Thread Post new topic Reply to topic
andy_m



Joined: 10 Jul 2007
Posts: 4
andy_m 10 Jul 2007, 12:31
I am working on converting an UGA driver to a generic one, sort of.
I have the binary and the sources of a driver for Cirrus Logic 5430.

I changed the vendor ID and device ID and loaded it in vmware.
Since the CRTC and Sequencer settings are rather specific to this adapter, it only shows me some distorted image in vmware.

I sought some info on this topic on google and found a few things, nothing very detailed.

What I need to do is to change the modes in CirrusLogicUGADraw.c to something more generic ( talking about the CRTC and the Sequencer settings for those modes). Having something like a 800x600x24bit at 60hz would be great.

Can someone help me with that, please?
Thanks.


Description:
Download
Filename: CirrusLogic5430.rar
Filesize: 10.93 KB
Downloaded: 302 Time(s)

Post 10 Jul 2007, 12:31
View user's profile Send private message Reply with quote
hckr83



Joined: 12 Nov 2006
Posts: 86
Location: usa
hckr83 11 Jul 2007, 01:43
UGA? never heard of that...
this is what wikipedia says(and only this)
Quote:
Universal Graphics Adapter", the replacement for the VGA standard as part of the EFI 1.10 specifcation. (Obsolete in the current EFI revision)


so should this really be developed for?
Post 11 Jul 2007, 01:43
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger Reply with quote
andy_m



Joined: 10 Jul 2007
Posts: 4
andy_m 11 Jul 2007, 06:24
This is for a project I'm working on and yes, it should be.

I found the required information and I'll try to modify it so that it works on other video adapters.
This is a classical UGA driver, it doesn't use a display adapater which has an EFI option ROM, it uses a regular BIOS VGA display adapter.

Just google for AMI APTIO UGA VESA and you can find more information.
Creating an UGA VESA driver would be great.
Post 11 Jul 2007, 06:24
View user's profile Send private message Reply with quote
hckr83



Joined: 12 Nov 2006
Posts: 86
Location: usa
hckr83 12 Jul 2007, 02:59
you know of anywhere to find UGA info? that short thing above is all I could find about UGA in general...
Post 12 Jul 2007, 02:59
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger Reply with quote
andy_m



Joined: 10 Jul 2007
Posts: 4
andy_m 12 Jul 2007, 04:02
Of course I do, here are some presentations from INTEL:
http://download.microsoft.com/download/whistler/WHP/1.0/WXP/EN-US/WH02_Driver04.exe
http://download.intel.com/technology/efi/docs/EFI95uga.zip
http://download.intel.com/technology/efi/docs/efi49uga.zip
http://download.intel.com/technology/efi/docs/pdfs/uga_idf_final_rev2.pdf

I kind of figured that driver out: what it needs is a rewrite so that it uses VESA 1/2/3 and that's about it.

Here's my explanation of UGA: it is meant to be a replacement for the VGA standard.However, this VGA standard will "die" together with BIOS and it means EFI will replace it. The problem is that any kind of development that I do atm is rather useless without such a driver.

This might also be helpful to those who like to write some OSes, an EFI shell (EFI on top of BIOS - this is how we would use that generic UGA-VESA driver) enables us to mess easily with it.

The EFI apps and drivers are written in CLEAN standard C, that means it can be easily extended.

Waiting to see if someone is willing to help me out with this one.
Post 12 Jul 2007, 04:02
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 13 Jul 2007, 14:00
I can not see EFI happening, that because with EFI you have a basic OS, with its own tcp/ip stack etc.
Once you add a web browser, than the cats out of the bag, as far as M$ dominion is concerned.

Note i not saying there will be no EFI, but i think it will bellow 10% .
Post 13 Jul 2007, 14:00
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 13 Jul 2007, 14:10
Why would that be a problem to Microsoft? You still wouldn't have 3d-acceleration etc., and drivers would probably be pretty basic.

So you'd have something even less functional than linux or Mac OS X, and those still don't pose too big a threat to windows.
Post 13 Jul 2007, 14:10
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 14 Jul 2007, 00:48
If you had a OS with built in drivers and tcp/ip stack, a web browser, email, IM, a sys that can read/write delete, move files on a fat32 file sys, plus usb drivers, plus can boot very fast and play all music and DVD, that comes with every PC.
And you say its not a threat to M$.
On top of this M$, will be full of DRM stuff, which makes there OS a pain.
Co will code APP, to run on top of EFI, giving more functionality to it.
Post 14 Jul 2007, 00:48
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 14 Jul 2007, 02:38
Dex4u wrote:

If you had a OS with built in drivers and tcp/ip stack, a web browser, email, IM, a sys that can read/write delete, move files on a fat32 file sys, plus usb drivers, plus can boot very fast and play all music and DVD, that comes with every PC.

The only part where linux isn't included in this would be "comes with every PC" (and do keep in mind that I'm not a big fan of linux). Wouldn't be a big problem piecing together a custom linux "distribution" that did just these things, did them pretty well (ease of use etc), and booted fast.

So, no, I don't see UEFI as a particular threat Smile
Post 14 Jul 2007, 02:38
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 14 Jul 2007, 12:47
@f0dder, Thats why we are asm coders, because we are individuals with our own idea about things.

Dex will put his money on
1. EFI will not replace BIOS.
2. If it does, it will be a threat to M$.

f0dder will put his money on
1. EFI will replace BIOS.
2. But it will not be a threat to M$.

Time will tell who is right Smile .
Post 14 Jul 2007, 12:47
View user's profile Send private message Reply with quote
andy_m



Joined: 10 Jul 2007
Posts: 4
andy_m 14 Jul 2007, 14:32
Doesn't matter what will happen, however, I'd really love to see this driver happening.

One already exists, but it can be found on a 800 USD AMI APTIO development board.

So, is anyone willing to try to help me, please?
Post 14 Jul 2007, 14:32
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 17 Jul 2007, 13:23
Dex4u: the only thing I'm putting my money on is that UEFI isn't and won't be a threat to MS - whether or not it will replace BIOS I'm not gonna guesstimate. (But even if it does, it still won't be a threat).
Post 17 Jul 2007, 13:23
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.