From 8f9d4d7c27c5a26962c122c185549be24716571f Mon Sep 17 00:00:00 2001 From: Sigrid Date: Tue, 8 Dec 2020 10:08:49 +0100 Subject: vesa: make unsupported function not an error, set return status --- sys/src/cmd/vmx/vesa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/src/cmd/vmx/vesa.c b/sys/src/cmd/vmx/vesa.c index 35c7a0d38..61eeb5c2c 100644 --- a/sys/src/cmd/vmx/vesa.c +++ b/sys/src/cmd/vmx/vesa.c @@ -622,7 +622,8 @@ vesathread(void *) 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); } } } -- cgit v1.2.3