On 01/07/2011 03:18 PM, Kirill Kuprijanov wrote: > On 14.12.2010 23:23, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> On 12/14/2010 08:54 PM, Kirill Kuprijanov wrote: >>> Hello, >>> >>> I have a motherboard with LCD indicator attached to it's LPT port. I >>> would like to make grub show some early splash screen on it. All the >>> things regarding protocol and pin assignments are ok, as I already >>> have a programm to show stuff on LCD from OS (Debian). So the question >>> is "how to make a grub module that is capable of setting levels on LPT >>> pins?" and a second one is "how to make use of it during bootup >>> procedure? >>> >> Currently GRUB has no LPT driver whatsoever. You would need to write >> one. I suggest having look in our tree at ns8250.c (serial driver), >> hello.c (module usage). As for how to write LPT driver, old DOS >> documentation is usually of assistance (nothing changed there). > > Does that mean LPT driver is actually a grub module (just to prove me > right)? I would write it as a separate module. > Then what about some code to show the splash itself? Should it be a > second separate module or should I place it in some other place? > It must be at least be in a separate file and use a sane interface to LPT port. When it's done this way, whether it's compiled into separate module or not is just 2 lines of change >>> Thanks in advance, >>> Kirill >>> >>> >>> _______________________________________________ >>> Grub-devel mailing list >>> [email protected] >>> http://lists.gnu.org/mailman/listinfo/grub-devel >>> >> >> >> >> >> _______________________________________________ >> Grub-devel mailing list >> [email protected] >> http://lists.gnu.org/mailman/listinfo/grub-devel > > > > _______________________________________________ > Grub-devel mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/grub-devel >
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Grub-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/grub-devel
