Skip to content
Commit 8c027ae2 authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

[x86 setup] Save/restore DS around invocations of INT 10h



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>
parent 7ad37df0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment