[gPXE] early print message

Geert Stappers stappers at stappers.nl
Fri Apr 2 16:09:36 EDT 2010


Op 20100402 om 10:18 schreef Miller, Shao:
> Good day Geert,
> 
> In regards to your challenge of displaying output using BIOS INTerrupt
> 10h: Why do you set the foreground colour to 7?

I did reuse
|1:      /* Print character */
|        movw    $0x0007, %bx            /* page 0, attribute 7 (normal) */
|        movb    $0x0e, %ah              /* write char, tty mode */
|        cmpb    $0x0a, %al              /* '\n'? */
|        jne     2f
|        int     $0x10
|        movb    $0x0d, %al
|2:      int     $0x10
 from the file src/arch/i386/prefix/libprefix.S

> Are you in a particular graphics mode?

Not that I'm aware of ...


Groeten
Geert Stappers



More information about the gPXE mailing list