16bit DOS 3D cube in VGA mode 13h
Uploader Comments (nuclearthelab)
All Comments (5)
-
@Scalibq Found the bug in my EGA routine btw... EGA compatibility is still very much alive on today's hardware, even the latest DX11 cards from nVidia and AMD.
I found that nVidia's palette handling for EGA is not entirely correct, but it works well enough.
-
Very interesting, looking forward for more videos like this!
-
@nuclearthelab Depends on who you ask, I suppose. I know mode X as being 320x240 resolution in addition to being in unchained mode.
Since I stuck to the regular 320x200 mode, and only used unchained addressing, I just call it unchained mode, rather than mode X.
And I've tested my code in Windows XP from the command prompt as well. The CGA and VGA work there, but EGA doesn't. This may be either because of XP, or because there is no EGA compatibility anymore. Other EGA stuff didn't work either.
Well, what a coincidence... I've just posted my own rotating DOS cube demo (although I used unchained mode)... didn't expect a video like this to turn up in the 'Related videos' :)
Nice work!
Scalibq 3 months ago
@Scalibq Nice, just saw it. My memory is fuzzy, is that unchained mode the same as mode-x? I've done some mode-x code a few years back on dosbox, and when I tried it on the real machine it blew up :) dosbox is a bit too lenient, always a good idea to try it out on the real thing as well at some point.
Btw, I've just added a link to my mercurial repository with the source code for this cube in the video info box, just in case anyone's interested.
nuclearthelab 3 months ago