diff options
Diffstat (limited to 'emma.c')
-rw-r--r-- | emma.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1005,7 +1005,7 @@ static void WritePort(Z80 *z80, Z80Word addr, Z80Byte val) switch(addr&0xff) { case 0x80: - putchar(val); + Log("%c",val); fflush(stdout); break; @@ -1018,7 +1018,7 @@ static void WritePort(Z80 *z80, Z80Word addr, Z80Byte val) while(mem[s.DE]!='$') { if (isspace(mem[s.DE]) || isprint(mem[s.DE])) - putchar(mem[s.DE]); + Log("%c",mem[s.DE]); s.DE++; } @@ -1028,7 +1028,7 @@ static void WritePort(Z80 *z80, Z80Word addr, Z80Byte val) case 0x83: while(mem[s.DE]) { - putchar(mem[s.DE]); + Log("%c",mem[s.DE]); s.DE++; } fflush(stdout); |