[syslinux] [PATCH 0/3] v2: mbr: Ctrl-key press forces load from first hard disk

H. Peter Anvin hpa at zytor.com
Mon Mar 30 17:43:32 PDT 2009


TJ wrote:
> Version 2 of these patches includes optimisations suggested by H Peter
> Alvin to save bytes:
> 
>   * Use memory-mapped I/O register to read keyboard shift flags
>   * Don't reload DX from memory; move immediate byte to register
> 
> Tested using mbr.bin.
> 
> TJ (3):
>   mbr: Ctrl-key press forces load from first hard disk
>   gptmbr: Ctrl-key press forces load from first hard disk
>   isohdpfx: Ctrl-key press forces load from first hard disk
> 

I did a slightly different version of the same idea which got the 
overhead down to 9 bytes and pushed that onto a new "ctrl-mbr" branch of 
the upstream git tree.

	-hpa




More information about the Syslinux mailing list