[gPXE] early print message
Geert Stappers
stappers at stappers.nl
Sun Apr 11 14:35:50 EDT 2010
Op 20100411 om 20:05 schreef Geert Stappers:
>
> --- a/src/arch/i386/prefix/mbr.S
> +++ b/src/arch/i386/prefix/mbr.S
> @@ -5,6 +5,15 @@
> .org 0
>
> mbr:
> + movb $0x0e, %ah
> + movb $'N', %al
> + int $0x10
> + movb $'L', %al
> + int $0x10
> + movb $0x0d, %al
> + int $0x10
> + movb $0x0a, %al
> + int $0x10
> movw $exec_sector, %bp
> jmp find_active_partition
> exec_sector:
>
That prints "NL\r\n", NL for Next Level, because out of BIOS and in gPXE.
The carraige return plus line feed is for better readability.
It is the 'early print' that gives me the information that I wanted.
Not as pretty coded as original wanted, but it is good enough.
Cheers
Geert Stappers
More information about the gPXE
mailing list