shithub: riscv

Download patch

ref: 8f9d4d7c27c5a26962c122c185549be24716571f
parent: 96850d8bb40e282217776e17977dd8ac10d0d10f
author: Sigrid <ftrvxmtrx@gmail.com>
date: Tue Dec 8 05:08:49 EST 2020

vesa: make unsupported function not an error, set return status

--- a/sys/src/cmd/vmx/vesa.c
+++ b/sys/src/cmd/vmx/vesa.c
@@ -622,7 +622,8 @@
 			if(vesaddc(&ur) < 0 || vesasetregs(sp, &ur) < 0) continue;
 			break;
 		default:
-			vmerror("vesa: unsupported function %#x", ur.ax);
+			vesasetax(sp, 0x0100);
+			vmdebug("vesa: unsupported function %#x", ur.ax);
 		}
 	}
 }