From 99cf9c4dc5855b1f5f26d00267fdbbe672ee27a7 Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Mon, 5 Oct 2015 08:38:46 -0400 Subject: Initial commit --- f_flush.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 f_flush.c (limited to 'f_flush.c') diff --git a/f_flush.c b/f_flush.c new file mode 100644 index 0000000..4acd92d --- /dev/null +++ b/f_flush.c @@ -0,0 +1,13 @@ +#include "fossil.h" +#include + +void F_Flush_Out() +{ + union REGS regs; + + regs.h.ah = 0x08; + regs.h.al = 0x00; + regs.x.dx = (unsigned char) port; + int86(FOSSIL_INT, ®s, ®s); + return; +} -- cgit v1.2.3