X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Flib%2F16_head.c;h=b371d10907ca3c7d8f2ec4cc20fb71a0489d4d3f;hp=1af195348864d51b8a1d690f5677cef1d102c7c8;hb=e646dd0bd9df6a064b2c7192eb675c2a4191c3b8;hpb=0df3c2d5e81ce6a2f1d498b3107e1fd223e7af80 diff --git a/src/lib/16_head.c b/src/lib/16_head.c index 1af19534..b371d109 100755 --- a/src/lib/16_head.c +++ b/src/lib/16_head.c @@ -198,3 +198,15 @@ void print_mem(void const *vp, size_t n) putchar('\n'); printf("\nstruct size is %zu bytes\n", n); }; + +//from: https://groups.google.com/forum/#!topic/comp.lang.asm.x86/QtuVXl43nDo +void hres (void) +{ + __asm { + mov ax,3 + int 10h + mov ax,1112h + xor bx,bx + int 10h + } +}