Displaying 2 results from an estimated 2 matches for "send_rdu_message".
2016 May 12
3
syslinux vs isolinux - com32 serial port output problem
On Thu, May 12, 2016 at 06:16:46PM +0200, Good Old Idea via Syslinux wrote:
> On Thu, May 12, 2016 at 02:29:52PM +0000, Janz, Burt via Syslinux wrote:
> > I have a need to display text to COM2 before loading a kernel.
> > The easiest way to do this was to invade menu.c32 (menumain.c) and
> > add a function to send the string out to the serial port just before
> > the
2016 May 12
0
syslinux vs isolinux - com32 serial port output problem
...ure to send characters to COM2 only when booting the CD.
If you look inside com32/menu/menumain.c right near the bottom of the file, you'll see "if (cmdline)" IIUC that's where the fully formatted command line is handed off from the menu to "execute()". I added a "send_rdu_message()" function directly before "if (cmdline)".
My "send_rdu_message()" sets up the serial port (loads the speed divisor, enables the port, etc) and then pumps characters one at a time to the serial port (via "outb(ch,COM2+THR)". This works properly when I boot the...