flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tyler 26 May 2011, 04:26
See VESA12.INC in the kernel sources. It documents the video driver interface.
|
|||
![]() |
|
Dex4u 26 May 2011, 15:51
You can only support the modes vesa (also UEFI) implements on you card, unless you want to write a driver for every graphic card etc.
Also do the maths, as the res get higher you are doubling the data that needs to be moved, 1/2 the FPS. Its like using windows when it can not find your card and it just sticks the default one in. |
|||
![]() |
|
Ville 26 May 2011, 16:19
Vesa doesn't set limitations for the graphics modes that the manufacturer can add and support.
So if your card supports 1920x1080 Vesa mode, you can activate it with an interrupt. But first, you need to increase the size of screen pixel reference area. |
|||
![]() |
|
Dex4u 26 May 2011, 19:39
Ville wrote: Vesa doesn't set limitations for the graphics modes that the manufacturer can add and support. Quote: You can only support the modes vesa (also UEFI) implements on you card ![]() |
|||
![]() |
|
garystampa 26 May 2011, 21:23
Thanks for the timely responses. It's likely the first implementation will be slower than it should be. But as Pascal stated "early optimization is the death of us all".
![]() I have looked through the code and started to identify points where surgery must take place. In practice, how is such an add-on preferred to be handled today? As in: via compile-time, by adding call parameter(s), or field to a struct, etc. (I don't know how past additions have been or'ed in.) BTW, is anything "wrong" with the 32-bit source? I want to use it because I have a lot of 386 SBCs that I've collected over the years and I love those little workhorses. However, I will make every effort to make something that can easily port (if anyone cares to use it). |
|||
![]() |
|
Ville 27 May 2011, 10:45
Process management, memory protection and command restrictions (ring-3) work very well. But there are areas that can be further optimized.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.