First post, by megatron-uk
I'm writing the DOS target for my RPG game engine at the moment and I'm using additional memory pages for double buffering, artwork, sprites etc.
There's a little bit of automation of memory layout (all VRAM, various split VRAM/RAM configs, all RAM) to hold assets, based on the amount of memory/pages detected on the video card (all at 320x240 mode-x, VESA1/2/3 or VBEAF). So far I'm catering for the following, detected at runtime:
<256KB - 1x primary display (doublebuffer and all assets in RAM) - not sure this configuration is even feasible?
256KB - 1x primary display, 1x doublebuffer screen, 1x screen of art/UI elements (all sprites in RAM)
512KB - 1x primary display, 1x doublebuffer screen, 1x screen of art/UI elements, 1x screen of sprites/tiles, 1x screen of boss sprites, 1x free page (some sprites in RAM)
1MB+ - 1x primary display, 1x doublebuffer screen, 1x screen of art/UI elements, 3x screen of sprites/tiles, 4x screen of boss sprites, 3x free pages (all sprites in VRAM)
Were there ever any VGA cards produced that had an amount of memory not falling in to the categories above - 640kb or 768KB, for instance? I can't recall ever hearing of one, but if it exists, then it would need to be a configuration I cater for.
My collection database and technical wiki:
https://www.target-earth.net