From bdbe8eff5928934dde1bf2251411bd5489e6ee5f Mon Sep 17 00:00:00 2001 From: Michael Steil Date: Wed, 20 Oct 2010 07:49:51 +0000 Subject: [PATCH] ... --- apple1basic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apple1basic.c b/apple1basic.c index 0ca22db..31759c1 100644 --- a/apple1basic.c +++ b/apple1basic.c @@ -31,8 +31,8 @@ init_monitor() void charout(char ch) { - unsigned short S = readSP(); - unsigned char a = 1 + memory[0x0100+S+1] | memory[0x0100+((S+2) & 0xFF)] << 8; + unsigned char S = readSP(); + unsigned short a = 1 + memory[0x0100+S+1] | memory[0x0100+((S+2) & 0xFF)] << 8; /* * Apple I BASIC prints every character received @@ -125,7 +125,7 @@ main() if (!clk) handle_monitor(); -// chipStatus(); + chipStatus(); //if (!(cycle % 1000)) printf("%d\n", cycle); }; }