Index:
[thread]
[date]
[subject]
[author]
From: Johan Karlberg <wlfshmn@failure.ml.org>
To : ggi-develop@eskimo.com
Date: Mon, 3 Aug 1998 21:51:15 +0200 (CEST)
Re: Paged modes...
On Mon, 3 Aug 1998 becka@rz.uni-duesseldorf.de wrote:
>
> > Could anyone explain to me the difference between these definces in struct
> > kgi_mmio_mapping
> >
> > #define MAP_LINEAR_LINEAR 1
> > #define MAP_LINEAR_PAGED 2
> > #define MAP_PAGED_LINEAR 3
> > #define MAP_PAGED_PAGED 4
> >
> > I know of linerar framebuffer, with the entire framebuffer in a long
> > line... and paged framebuffers, manipulated by moving a window, if my
> > understanding is correct, wich it very well might not be.. but what are
> > the others?
>
> There are two ways a program expects framebuffers to look, and two ways
> how they are physically realized.
>
> The above definitions show all combinations.
>
> This hasn't been added back to KGI from scrdrv (though I think it should
> for easy porting of sick old apps).
>
> Scrdrv had an additional mmap area that showed a 64k paged view of the
> framebuffer (regardless of the underlying real mechanism).
>
Does kgi allow cards with non-linear mmio framebuffers? And if so, is
there example code around?
Johan
Index:
[thread]
[date]
[subject]
[author]