changeset 12:aab9ff6af791

Strengthen the build hack for non-DOS targets.
author David A. Holland
date Tue, 31 May 2022 00:58:42 -0400
parents 3aa0f5a02342
children 43d8b194fb4e
files examples/dsl/screen.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/examples/dsl/screen.cpp	Tue May 31 00:54:12 2022 -0400
+++ b/examples/dsl/screen.cpp	Tue May 31 00:58:42 2022 -0400
@@ -38,7 +38,9 @@
 /* This is only meant to compile, not run. (Unix, Windows) */
 #define far
 union REGS { struct { unsigned short ah, bh, dl, dh; } h; };
-void INT(unsigned long, union REGS *, union REGS *) {}
+void INT(unsigned long, union REGS *, union REGS *dst) {
+   dst->h.ah = dst->h.bh = dst->h.dl = dst->h.dh = 0;
+}
 #endif
 
 /*****