]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.c
before showmem workings
[16.git] / src / lib / 16_head.c
index 9862dd73a4e85bf222f5d1afc84a2ae81b40d995..b371d10907ca3c7d8f2ec4cc20fb71a0489d4d3f 100755 (executable)
@@ -22,6 +22,7 @@
 \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
@@ -197,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