Hi Lino,
In which ways does the old svgatextmode fail for you and which VESA text modes do you have as opposed to which text modes would you like to have? You cannot set ARBITRARY size because the text mode has to follow a graphics mode as far as resolution is concerned. Of course modern screens MIGHT do something sensible with arbitrary resolutions, but they usually have a fixed list of recommended ones. Your examples are 160x50 at 9x16, or 60x64 at 9x16 portrait mode on a phone. However, you can not run DOS on a native phone with such screen anyway! So I do not see why you do want to set such a mode outside dosemu / dosbox / similar? While VESA notoriously focuses on 4x3 modes, a quick check at wikipedia suggests chances to find 1152x720, 1024x640 or 1440x900. I guess something like 1280x720 or x800 may exist: https://en.wikipedia.org/wiki/VESA_BIOS_Extensions > TL;DR: is there a modern open source equivalent of SVGATextMode that works > on FreeDOS, supports recent graphics cards and PC emulators, and is not > limited to the few (if any) text modes provided by a typical VESA BIOS? > The closest thing that I'm aware of is an old port of SVGATextMode to DOS, > but that's not targeted to emulators and modern cards (nearly all code is > from the 90's) and it cannot generate arbitrary modes on the fly: > https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/svgatextmode/ ... > downside is that the VGA pixel clock frequency is too low for high > resolution, so traditional graphics cards and CRT screens will not work > correctly, but emulators and some laptop graphics cards seem fine. See above. If you use dosbox or dosemu or similar, simply drag your window size to any size you like. No VGA programming on the DOS side. Also, please add the exotic modes to an updated svgatextmode port and not to mode! Mode is meant to stay within BIOS support limits and compatibility as far as possible, as far as I am concerned, while svgatextmode is known to be useable for all ugly hacks and Regards, Eric _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user