> On 08/25/2014 07:49 PM, Ady wrote: > > Hello, > > > > In doc/menu.txt: > > "F1 textfile [background]" > > > > I am trying the second optional parameter using 640x480 x 4bits color > > depth png's. > > > > Should I be using a different file format? > > Or a different color depth? > > Or specific colors? > > > > Which versions are supposed to support the second optional parameter, > > "background", from menu.c32? > > > > I have tried (and failed) with (menu.c32) v.3.86 and v.4.07. > > > > Or, perhaps this documentation is incomplete / wrong? > > > > Well, it obviously requires vesamenu.c32 since it is graphical. > > -hpaIs the matter related to the png format of the background? In other words, if, instead of png, I choose LSS16, should it work with menu.c32 (in v3.86 or v.4.07) with this same syntax? Or, is the second parameter syntax itself not available for menu.c32 (and/or in CLI) whichever the format of the background? TIA, Ady.
On Aug 26, 2014 1:45 AM, "Ady" <ady-sf at hotmail.com> wrote:> > On 08/25/2014 07:49 PM, Ady wrote:> > > In doc/menu.txt: > > > "F1 textfile [background]"> > > Which versions are supposed to support the second optional parameter, > > > "background", from menu.c32? > > > > > > I have tried (and failed) with (menu.c32) v.3.86 and v.4.07. > > > > > > Or, perhaps this documentation is incomplete / wrong? > > > > > > > Well, it obviously requires vesamenu.c32 since it is graphical. > > > > -hpa> Or, is the second parameter syntax itself not available for menu.c32 > (and/or in CLI) whichever the format of the background?In text/character mode, your screen is normally 80 columns by 25 rows of 8-bit characters with up to 223 visible values but often only 95 usable. You often get 4 bits foreground and 4 bits background color. In other words, it's not available in text mode regardless of which module (yes, vesamenu.c32 has a fallback of text mode). --Gene
> > On Aug 26, 2014 1:45 AM, "Ady" <ady-sf at hotmail.com> wrote: > > > On 08/25/2014 07:49 PM, Ady wrote: > > > > In doc/menu.txt: > > > > "F1 textfile [background]" > > > > Which versions are supposed to support the second optional > parameter, > > > > "background", from menu.c32? > > > > > > > > I have tried (and failed) with (menu.c32) v.3.86 and v.4.07. > > > > > > > > Or, perhaps this documentation is incomplete / wrong? > > > > > > > > > > Well, it obviously requires vesamenu.c32 since it is graphical. > > > > > >? ? ? ?-hpa > > Or, is the second parameter syntax itself not available for menu.c32 > > (and/or in CLI) whichever the format of the background? > In? text/character mode, your screen is normally 80 columns by 25 > rows of 8-bit characters with up to 223 visible values but often only > 95 usable.? You often get 4 bits foreground and 4 bits background > color. > In other words, it's not available in text mode regardless of which > module (yes, vesamenu.c32 has a fallback of text mode). > --GeneApologies for my ignorance. Are you saying that no matter the graphical features of the background file, there is no way to display such a background using Fn files in CLI or in menu.c32 (or even with vesamenu.c32 in text mode)? My intention was to replace my current "ASCII 24" method used inside the Fn files with the second parameter in the Fn statement. If I can't, I'll just keep using what I have. Since the "ASCII 24" method works in CLI (at least in older versions), the problem doesn't seem to be some limitation of the text mode to display the graphics, but in the possibility to load the same background file by means of the aforementioned second optional parameter, either in CLI or with menu.c32. Am I misunderstanding something? TIA, Ady.
On 08/25/2014 10:42 PM, Ady wrote:> > In other words, if, instead of png, I choose LSS16, should it work > with menu.c32 (in v3.86 or v.4.07) with this same syntax? > > Or, is the second parameter syntax itself not available for menu.c32 > (and/or in CLI) whichever the format of the background? >It is completely ignored. -hpa