For this I am going to need some pseudo-assembler for calling interrupts. It should be fairly self explanitary to anyone familiar with interrupts.
AX = 4F00h ;function 00h return SVGA information ES = SegmentOf (DataBuffer) ; DI = OffsetOf (DataBuffer) ;es:[di] points to DataBuffer call interrupt 10h
if AL = 4Fh then
print "Function call 00h supported"
if AH = 4Fh then
print "Function call 00h sucessful"
else
print "Function call 00h failed"
exit to DOS
end if
continue onto section 3
else
print "Function call 00h unsupported"
exit to DOS
end if
if DataBuffer.Signature = "VESA" then
print "VESA BIOS found. Version ", DataBuffer.VersionH, ".", DataBuffer.VersionL
continue to next page
else
print "VESA BIOS not found"
exit to DOS
end if