[syslinux] The maximum number of rows in a com32 menu

Murali (முரளி கணபதி) murali at google.com
Wed Apr 15 14:05:59 PDT 2009


IIRC the adjustment by 1 was because in one case BIOS returns the # of
row/col and in the other the index of the largest one (0 based). If
that is wrong feel free to remove the "-1" in getnumrows().

- Murali

2009/4/15 Erwan <erwan at seanodes.com>:
> Hey Murali,
> While playing with HDT which uses your menu, I found I can't reach more than
> 24 rows whereas my screen is 25.
>
> set_windows_size() relies on getnumrows() to define the maximum number of
> possible rows.
> But regarding to getnumrows() code, it sounds to report "// Actually numrows
> - 1".
> On my screen which is 80x25, getnumcols x getrowcols reports 80x24.
>
> The set_windows_size() is so refusing to set the screen up to 80x25.
>
> Is it a desired behavior or can we fix the menuing system by replacing
> getnumrows() calls by getnumrows()+1 ?
>
> Erwan,
>



-- 
Murali

கற்றது கை மண் அளவு, கல்லாதது உலகளவு
(What we know is only a handful, what we dont is the rest of the world)




More information about the Syslinux mailing list