Re: Page flipping on LFB in protected mode...how??!?!




Tim Roberts wrote:
> spamtrap@xxxxxxxxxx wrote:
> >
> >I am messing around with VESA graphic modes. I started
> >writting my own OS from scratch as a personal project and I took
> >a tangent into graphics. I already implanted Bresenham's line drawing
> >algorithm but I can't for the life of me find enough information about
> >page flipping.
> >
> >I am running my kernel in protected mode. Is anyone on here aware of
> >how I can do page flipping or where I can find the information I need
> >to accomplish this. I would be great if I didn't have to come out of
> >protected mode. Coming back to real mode to flip pages through the BIOS
> >to finally go back to protected mode to then again redo the same thing
> >again ad infinitum is not favorably 'drawing' my attention.
> >
> >I am using VESA mode 118h in linear mode (1024x768x24)
>
> Unfortunately, the frame buffer base address is one of the registers that
> is not standardized from manufacturer to manufacturer. If you really want
> to avoid the video BIOS for this, you will have to do a little bit of
> research to figure out where the register lives for the video cards you are
> interested in.

If I'm using the LINEAR frame buffer, which allows me to access any
part of video memory without having to switch bank, is it possible for
me to change the base address of video mapped memory to any other
memory zone if I were to go through the video BIOS? Or am I limited in
some ways?

Regards
Jean-François Michaud


.



Relevant Pages

  • Re: Only 16 colours
    ... Type debug ... Each time you boot your computer, the information contained in your video ... BIOS is loaded into memory. ... with that address is where the video BIOS is commonly loaded. ...
    (microsoft.public.win2000.hardware)
  • Re: Memorytesting
    ... the video BIOS that was cached. ... screen was to write directly to a certain area in main memory. ... There is no "main memory" buffer. ...
    (comp.lang.asm.x86)
  • Re: F1 everytime i post
    ... If you have FC4/5 then boot the CD and run memtest/memtest86. ... IMO, it's either the memory, CMOS battery, PSU or Video that could be ... The other culprit is bad memory. ... to me it's a bios problem caused by memory or power. ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Freezing, Pixilation and Stuttering When Watching Live and Recorde
    ... Depending on memory size, and if protected content is involved I/O could still be going on because of the software overhead. ... In addition to this polling, further device-specific polling is also done, for example Vista polls video devices on each video frame displayed in order to check that all of the grenade pins are still as they should be. ... Time will tell whether this problem is due to immature drivers or has been caused by the overhead imposed by Vista's content protection mechanisms interfering with playback..." ... a recording on my second drive. ...
    (microsoft.public.windows.mediacenter)
  • Re: Freezing, Pixilation and Stuttering When Watching Live and Rec
    ... I guess I should have highlighted the MCE 2005 part in the computer spec's. ... Depending on memory size, and if protected content is involved (or ... for example Vista polls video ... a recording on my second drive. ...
    (microsoft.public.windows.mediacenter)