mirror of
https://github.com/mist64/perfect6502.git
synced 2024-09-28 08:54:40 +00:00
...
This commit is contained in:
parent
63ce225449
commit
bdbe8eff59
@ -31,8 +31,8 @@ init_monitor()
|
|||||||
|
|
||||||
void
|
void
|
||||||
charout(char ch) {
|
charout(char ch) {
|
||||||
unsigned short S = readSP();
|
unsigned char S = readSP();
|
||||||
unsigned char a = 1 + memory[0x0100+S+1] | memory[0x0100+((S+2) & 0xFF)] << 8;
|
unsigned short a = 1 + memory[0x0100+S+1] | memory[0x0100+((S+2) & 0xFF)] << 8;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Apple I BASIC prints every character received
|
* Apple I BASIC prints every character received
|
||||||
@ -125,7 +125,7 @@ main()
|
|||||||
if (!clk)
|
if (!clk)
|
||||||
handle_monitor();
|
handle_monitor();
|
||||||
|
|
||||||
// chipStatus();
|
chipStatus();
|
||||||
//if (!(cycle % 1000)) printf("%d\n", cycle);
|
//if (!(cycle % 1000)) printf("%d\n", cycle);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user