mirror of
https://github.com/thiagoauler/apple1.git
synced 2024-11-22 00:31:55 +00:00
correcting BRK jump
This commit is contained in:
parent
4006475fb1
commit
6bb5014964
@ -21,6 +21,7 @@ void input()
|
||||
{
|
||||
int ch = getch();
|
||||
|
||||
if (ch == 0x107) { ch = '_'; }
|
||||
if (ch == 0x7F) { ch = '_'; }
|
||||
if (ch == '\n') { ch = '\r'; }
|
||||
if (ch >= 'a' && ch <= 'z') { ch = ch - 0x20; }
|
||||
|
@ -258,6 +258,7 @@ void brk()
|
||||
I_SET;
|
||||
push_word(pc);
|
||||
push_byte(sr);
|
||||
pc = read_word(0xFFEF);
|
||||
}
|
||||
|
||||
void bvc()
|
||||
|
Loading…
Reference in New Issue
Block a user