This commit is contained in:
Michael Steil 2010-10-20 07:49:51 +00:00
parent 63ce225449
commit bdbe8eff59
1 changed files with 3 additions and 3 deletions

View File

@ -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);
};
}