From 276b5ccb49021b751083c50ea7d07ce11dec70f2 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Tue, 27 Aug 2002 13:48:13 +0000 Subject: [PATCH] cleanup Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@234 --- src/dos/dev_con.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/dos/dev_con.h b/src/dos/dev_con.h index 003c15ef..77998e24 100644 --- a/src/dos/dev_con.h +++ b/src/dos/dev_con.h @@ -63,21 +63,13 @@ bool device_CON::Read(Bit8u * data,Bit16u * size) { extern void INT10_TeletypeOutput(Bit8u chr,Bit8u attr,bool showattr, Bit8u page); bool device_CON::Write(Bit8u * data,Bit16u * size) { -//TODO Hack a way to call int 0x10 - Bit16u oldax=reg_ax;Bit16u oldbx=reg_bx; Bit16u count=0; while (*size>count) { -/* - reg_al=data[count]; - reg_ah=0x0e; - reg_bx=0x0007; - CALLBACK_RunRealInt(0x10); -*/ + INT10_TeletypeOutput(data[count],7,false,0); count++; } *size=count; -// reg_ax=oldax;reg_bx=oldbx; return true; }