Mail Archives: djgpp/1998/04/23/14:31:28
>Hi all!
>
>
>OK, here's my little problem. I want to code some VESA routines for the
>LFB modes. I'm currently at the following stage:
>
>I can set the mode I want and draw around on the screen, blah blah blah
>
>Very exciting indeed, but what I'm wondering is what approach to use for
>my screen pointer. Should I use NEAR pointers or FAR? I think NEAR
>pointers are VERY convinient to use, but what about memory protection?
>Well, if someone has done something similar to this I'd appreciate some
>suggestions.
>
>Thanks,
>
>Marco Koegler
I use near pointers ("djgpp_nearptr_enable()"), and have no problems with
it.
But since i've seen Shawn Hargrevea's Allegro lib, i dont wanna use my own
lib any longer.
You can download the source code of Allegro (very small) and look
how everything can be done. (from grafix to sound to more...)
Elias Pschernig
- Raw text -