flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > I NEED HELP! *and I don't know where to turn!? |
Author |
|
vid 05 May 2005, 21:46
mode itself doesn't have speed. You mean fastest screen refresh rate, or fastest drawing routines, or what?
|
|||
05 May 2005, 21:46 |
|
dCool101d 08 May 2005, 18:18
I want fastest drawing routines...refresh rate would be nice too, but I'm looking for mainly drawing speed right now!
I want refresh rates of at least 60 hz too. |
|||
08 May 2005, 18:18 |
|
Scanner 14 May 2005, 11:47
The fastest possible VGA mode you are wanting would be defined by the VESA BIOS. Using the VESA API calls, you will gain access to a linear frame buffer and switch to that mode.
Unfortunatly the VESA API is not defined for C unless you have a runtime for the environment you are trying to launch it from (like DOS). Anyway, once have the mode set and the base address of the linear framebuffer, you can use old-school VGA programming techniques to get pixels onto the screen. (this method is the slowest though, hardware support for various drawing routines are available on all modern screen cards but you need to know the API for each card out there to write something portable, thus DirectDraw and drivers for each screen card . Have a look at some linux drivers to get a feel for the API for some more commen cards. The VESA bios usually ships as part of the screen card's BIOS. Make sure the machine supports the VESA bios (at least version 2) before testing anything VESA on it. |
|||
14 May 2005, 11:47 |
|
deltre 23 May 2005, 09:16
You want the fastest routines - but you want to "do it in C" - do you want us to simply supply graphic routines as C code?
If I were you, I'd settle for less before setting such a goal. There are *alot* of graphics guides out there, 50% of them in C. You will not have the fastest routines on the first go, but fortunately playing with your own graphic routines is alot more fun than debugging your memory manager. |
|||
23 May 2005, 09:16 |
|
f0dder 23 May 2005, 15:49
If you want "the fastest" video, go for DirectX.It's the API with the best hardware support and the most features.
|
|||
23 May 2005, 15:49 |
|
bubach 24 May 2005, 08:29
f0dder: This is the OS Construction forum, not the Windows forum..
|
|||
24 May 2005, 08:29 |
|
THEWizardGenius 24 May 2005, 15:39
lol DirectX you don't have when making your own OS. And if its pmode OS you don't have VESA API either. In fact, sad to say, you have to write all SVGA or XGA routines... yourself! And unfortunately, there is no standard for these to speak of, different vendors use their own programming methods. So... good luck! And welcome to the world of OSDev.
|
|||
24 May 2005, 15:39 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.