Mail Archives: djgpp/1995/02/14/13:36:28
On Tue, 14 Feb 1995 kunst AT prl DOT philips DOT nl wrote:
> An obvious question is: will unpaged video memory access be supported ?
> (or only by the way as presented in my previous posting)
Why? I've implemented svga using regular bank switching. The code for
switching banks is ten lines, and the added complexity is very trivial and
entirely hidden from the calling functions. As for speed, if you're doing
everything with PutPixel, then sure it'll be slow since it has to check
every time but nobody looking for speed uses PutPixel anyway. If you do
BitBlt's, the additional time needed is virtually nothing.
A tid-bit of code to perform bank switching when needed is well worth
the time saved from trying to make the compiler do it automatically.
Kim
- Raw text -