SegA000
to deal with this (SegA000
is always
0A000h in real mode). In our VESA library we override BP's SegA000
variable with our own. Please note that the value will be exactly the
same as Borland Pascal's. The reason we do this is so that someone using a
non-BP compiler can port the code more easily (good luck if you try, though ;).
Due to 16-bit segmentation, only 64K of memory is accessable from any one
segment. Therefore, you can only access 64K of screen memory at a time.
(Note: on some video cards you can access 128K of screen memory by using
the memory at SegB000. This is very unstandard, and so we do not support it).
Many video modes take up far more than 64K. For example,
800x600x8bpp takes up 480000 bytes.
|
|
|
|