Hi, you cannot use SCREEN=... to select N lines. It only
selects a certain font. For VGA, default is 8x16 to give
80x25 screen, so if you select 8x14 or 8x8 font, you end
up having 80x28 or 80x50 screen respectively. If your
default font is 9x16 instead of 8x16, fine. Common. Just
replace all "8x" by "9x" in the above. You still only get
80x25, 80x28 or 80x50, never 80x43.

If you have pre-VGA hardware, you can only switch from
8x14 to 8x8 font, which moves you from 80x25 EGA to 80x43
EGA. Mode can do more things than just loading new fonts,
which is why it can reach modes like 132x60 on VESA or
80x43 EGA on VGA systems.

Note that MODE is not overly clever about the current
and possible pixel resolutions, so you sometimes have
to call mode several times to go from one mode to another
in several steps. Patches to make MODE smarter are of
course appreciated :-).

See RBIL about fonts: V-101112 "load 8x8 font", so
SCREEN=0x12 loads 8x8 font. Similar cases are 0x11 (8x14 font)
and 0x04 (8x16 font), although the latter is not useful as
this font is the default anyway.

SCREEN
Usage:  screen=xx
Switches into videomode xxx  (INT10/11xx/000)
where xx should be 0x11 for 28 lines or 0x12 for 43/50 (EGA/VGA) lines

According to the kernel documentation. See in the sources
STATIC VOID sysScreenMode(BYTE * pLine)
... which only allows 0x11, 0x12 and 0x14 (latter is same as 0x04).

Eric



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to