Mail Archives: djgpp/1997/07/09/16:59:59
csantill AT lausd DOT k12 DOT ca DOT us wrote in article
<33C08F31 DOT 2A78 AT lausd DOT k12 DOT ca DOT us>...
> from: csantill AT lausd DOT k12 DOT ca DOT us
>
> I want to map an array to VGA mem but I'm not sure how.
> I don't want to turn off memory protection either.
> I've seen this done w/a BASIC compiler(PowerBasic).
Yes you have seen this, PowerBasic is however 16bit.
You can not directly access video memory without turning off some
protection. And the method in the faq is the only one that I am aware of
to do this directly.
You can however use farptrs, which are pretty safe, and pretty fast, or
you can use double buffering.
Otherwise, you're going to have to go find a 16bit compiler.
Sorry.
- Raw text -