Skip to content

Commit bdbe8ef

Browse files
committed
...
1 parent 63ce225 commit bdbe8ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apple1basic.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ init_monitor()
3131

3232
void
3333
charout(char ch) {
34-
unsigned short S = readSP();
35-
unsigned char a = 1 + memory[0x0100+S+1] | memory[0x0100+((S+2) & 0xFF)] << 8;
34+
unsigned char S = readSP();
35+
unsigned short a = 1 + memory[0x0100+S+1] | memory[0x0100+((S+2) & 0xFF)] << 8;
3636

3737
/*
3838
* Apple I BASIC prints every character received
@@ -125,7 +125,7 @@ main()
125125
if (!clk)
126126
handle_monitor();
127127

128-
// chipStatus();
128+
chipStatus();
129129
//if (!(cycle % 1000)) printf("%d\n", cycle);
130130
};
131131
}

0 commit comments

Comments
 (0)