ripsaw8080 wrote:I believe mode 54h (132x43) was changed to the 8-line font because that's accurate to real S3 video cards, but mode 55h (132x25) still has the 16-line font. As a result the 132x86 text with mode 54h and loading the 8-line font is no longer possible, but you can still get 132x50 with mode 55h. The VESA text modes are separate and not related to the SVGA text modes.
You can create any combination of display size (within reason) and font (even custom fonts) that you want by correctly setting the CRTC registers and writing appropriate values into BIOS memory, but it's obviously more involved than just requesting BIOS to set a particular mode number. See here for an example.
I do realize this is an old thread, but I think it's important. Not only was mode 54h changed to 8-line font, but the corresponding VESA text mode 10Ah was also set up with 8-line font in the same commit. Now while this might seem like a logical thing to do at first, it does cause a problem. As an example, the program VACSID (which is something like Cubic Player, but for SID files) has a 132x43 mode (it doesn't support 132x50 or 132x60) which doesn't work properly because of this (it computes the amount of lines separately and ends up assuming there are 86 lines). Now you might say "VACSID doesn't even work at all in Dosbox anyway", but it does work in the Daum build. Besides, this is just an example, there might be other programs that are affected too.
My suggestion would be to change mode 10Ah to 16-line font (or at least add an option to the config file to switch that), it's not meant to be a hardware specific mode anyway, so the argument that S3 cards work that way doesn't really apply there.
If someone here wants to change this and recompile the Daum build, here's what you need to change in the file int10_modes.cpp, first the old line, then the new one:
{ 0x10A ,M_TEXT ,1056,688, 132,43, 8, 8, 1 ,0xB8000 ,0x4000, 160, 449, 132,344, 0 },
{ 0x10A ,M_TEXT ,1056,688, 132,43, 8, 16, 1 ,0xB8000 ,0x4000, 160, 800, 132,688, 0 },
After this, the TEXTUTIL tool for 132x86 will work again after a minor modification (use mode 10Ah instead of 54h).
But in the end, this is just a workaround. For the next Daum version, I'll need to patch the files again. So I'd really appreciate it if this could be changed in the regular Dosbox SVN. I'd do it myself, but I don't think I have the access rights to do a commit there, and even if I did, I wouldn't just change something without asking first.