It looks like you're new here. If you want to get involved, click one of these buttons!
You can use VESA for 24-bit under DOS. Just useVESA to open the display mode, and the memory is mappedin the following fashion, 3 bytes a pixel:
Red Byte, Green Byte, Blue Byte
You write to the standard video segment (A000) for bankedvideo modes, and you can use VESA command 5h to change banks.
For the entire VBE spec, check: