• H. Peter Anvin's avatar
    [x86 setup] Save/restore DS around invocations of INT 10h · 8c027ae2
    H. Peter Anvin authored
    There exists at least one card, Trident TVGA8900CL (BIOS dated 1992/9/8)
    which clobbers DS when "scrolling in an SVGA text mode of more than
    800x600 pixels."  Although we are extremely unlikely to run into that
    situation, it is cheap insurance to save and restore DS, and it only adds
    a grand total of 50 bytes to the total output.
    
    Pointed out by Etienne Lorrain.
    
    Cc: Etienne Lorrain <etienne_lorrain@yahoo.fr>
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    8c027ae2
video.h 4.25 KB