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




Dirk Wolfgang Glomp wrote:
> Tim Roberts schrieb:
> > 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.
>
> Maybe the base address vary by each videomode.
> So i look to the modeinfo(+28h) to get the linear address.

Hmmm, maybe, but I don't really have a problem with finding the base
address for mode 118h in linear access mode. The address I use is
E8000000h. What I was wondering was if it was possible to change that
base address to some other base address so I could get flicker free
animations through page flipping.

>
> I prefer 32Bit modi, get a pointer to modelist of the vbe-info(+0Eh).
>
> Dirk

Regards
Jean-François Michaud


.



Relevant Pages

  • Page flipping on LFB in protected mode...how??!?!
    ... I am messing around with VESA graphic modes. ... I am running my kernel in protected mode. ... how I can do page flipping or where I can find the information I need ... again ad infinitum is not favorably 'drawing' my attention. ...
    (comp.lang.asm.x86)
  • Page flipping for FORTH based graphics
    ... I am messing around with VESA graphic modes in FORTH. ... I am running my kernel in protected mode. ... how I can do page flipping or where I can find the information I need ... again ad infinitum is not favorably 'drawing' my attention. ...
    (comp.lang.forth)
  • Re: Page flipping on LFB in protected mode...how??!?!
    ... >>I am messing around with VESA graphic modes. ... >>I am running my kernel in protected mode. ... > is not standardized from manufacturer to manufacturer. ... > to avoid the video BIOS for this, you will have to do a little bit of ...
    (comp.lang.asm.x86)
  • Re: Page flipping on LFB in protected mode...how??!?!
    ... >I am messing around with VESA graphic modes. ... >I am running my kernel in protected mode. ... is not standardized from manufacturer to manufacturer. ... to avoid the video BIOS for this, you will have to do a little bit of ...
    (comp.lang.asm.x86)
  • Re: Page flipping for FORTH based graphics
    ... Jean-François Michaud wrote: ... > I am messing around with VESA graphic modes in FORTH. ... > I am running my kernel in protected mode. ... Regards ...
    (comp.lang.forth)