]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.c
before showmem workings
[16.git] / src / lib / 16_head.c
index 8786a9fd3787f7054175153bb5fd4147139a78c2..b371d10907ca3c7d8f2ec4cc20fb71a0489d4d3f 100755 (executable)
 \r
 #include "src/lib/16_head.h"\r
 \r
+// big global status text buffer\r
+char global_temp_status_text[512];\r
+char global_temp_status_text2[512];\r
+\r
 long int\r
 filesize(FILE *fp)\r
 {\r
@@ -194,3 +198,15 @@ void print_mem(void const *vp, size_t n)
        putchar('\n');\r
        printf("\nstruct size is %zu bytes\n", n);\r
 };\r
+\r
+//from: https://groups.google.com/forum/#!topic/comp.lang.asm.x86/QtuVXl43nDo\r
+void hres (void)\r
+{\r
+       __asm {\r
+               mov     ax,3\r
+               int     10h\r
+               mov     ax,1112h\r
+               xor     bx,bx\r
+               int     10h\r
+       }\r
+}\r