From d53f427dc984abe25616287fded56d7a02a85809 Mon Sep 17 00:00:00 2001
From: Jaroslav Hensl <jara@hensl.cz>
Date: Thu, 6 Jul 2023 12:52:00 +0200
Subject: QEMU VMWARE adapter operational + better idle on 32bpp + HW cursor
 (bugged in VBox, disabled by default)

---
 makefile | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

(limited to 'makefile')

diff --git a/makefile b/makefile
index 61f85c6..4e469f2 100644
--- a/makefile
+++ b/makefile
@@ -3,6 +3,7 @@ OBJS = dibthunk.obj dibcall.obj enable.obj init.obj palette.obj &
        drvlib.obj control_vxd.obj minivdd_svga.obj vmwsvxd.obj &
        scrsw_svga.obj control_svga.obj modes_svga.obj palette_svga.obj &
        pci.obj svga.obj svga3d.obj svga32.obj pci32.obj dddrv.obj &
+       enable_svga.obj dibcall_svga.obj
 
 INCS = -I$(%WATCOM)\h\win -Iddk -Ivmware
 
@@ -12,6 +13,8 @@ FLAGS = -DDRV_VER_BUILD=$(VER_BUILD) -DCAP_R5G6B5_ALWAYS_WRONG
 
 # Define HWBLT if BitBlt can be accelerated.
 #FLAGS += -DHWBLT
+# Define HWCURSOR if you want accelerate cursor (SVGA only)
+#FLAGS += -DHWCURSOR
 
 # Set DBGPRINT to add debug printf logging.
 #DBGPRINT = 1
@@ -68,6 +71,9 @@ dbgprint32.obj : dbgprint32.c .autodepend
 
 dibcall.obj : dibcall.c .autodepend
 	$(CC) $(CFLAGS) -zW $(INCS) $(FLAGS) $<
+	
+dibcall_svga.obj : dibcall_svga.c .autodepend
+	$(CC) $(CFLAGS) -zW $(INCS) $(FLAGS) $<
 
 dibthunk.obj : dibthunk.asm
 	wasm -q $(FLAGS) $<
@@ -75,6 +81,9 @@ dibthunk.obj : dibthunk.asm
 enable.obj : enable.c .autodepend
 	$(CC) $(CFLAGS) -zW $(INCS) $(FLAGS) $<
 
+enable_svga.obj : enable_svga.c .autodepend
+	$(CC) $(CFLAGS) -zW $(INCS) $(FLAGS) $<
+
 init.obj : init.c .autodepend
 	$(CC) $(CFLAGS) -zW $(INCS) $(FLAGS) $<
 
@@ -218,9 +227,9 @@ vmwsmini.drv : $(OBJS) vmwsmini.res dibeng.lib
 	wlink op quiet, start=DriverInit_ disable 2055 $(DBGFILE) @<<vmwsmini.lnk
 system windows dll initglobal
 file dibthunk.obj
-file dibcall.obj
+file dibcall_svga.obj
 file drvlib.obj
-file enable.obj
+file enable_svga.obj
 file init.obj
 file palette_svga.obj
 file scrsw_svga.obj
-- 
cgit v1.2.3