Mercurial > ~dholland > hg > ag > index.cgi
comparison examples/dsl/screen.cpp @ 12:aab9ff6af791
Strengthen the build hack for non-DOS targets.
author | David A. Holland |
---|---|
date | Tue, 31 May 2022 00:58:42 -0400 |
parents | 13d2b8934445 |
children | 43d8b194fb4e |
comparison
equal
deleted
inserted
replaced
11:3aa0f5a02342 | 12:aab9ff6af791 |
---|---|
36 #else | 36 #else |
37 | 37 |
38 /* This is only meant to compile, not run. (Unix, Windows) */ | 38 /* This is only meant to compile, not run. (Unix, Windows) */ |
39 #define far | 39 #define far |
40 union REGS { struct { unsigned short ah, bh, dl, dh; } h; }; | 40 union REGS { struct { unsigned short ah, bh, dl, dh; } h; }; |
41 void INT(unsigned long, union REGS *, union REGS *) {} | 41 void INT(unsigned long, union REGS *, union REGS *dst) { |
42 dst->h.ah = dst->h.bh = dst->h.dl = dst->h.dh = 0; | |
43 } | |
42 #endif | 44 #endif |
43 | 45 |
44 /***** | 46 /***** |
45 | 47 |
46 Video display class | 48 Video display class |