mirror of
https://github.com/thiagoauler/apple1.git
synced 2024-11-21 09:31:46 +00:00
correcting BRK jump
This commit is contained in:
parent
4006475fb1
commit
6bb5014964
@ -21,8 +21,9 @@ void input()
|
||||
{
|
||||
int ch = getch();
|
||||
|
||||
if (ch == 0x7F) { ch = '_'; }
|
||||
if (ch == '\n') { ch = '\r'; }
|
||||
if (ch == 0x107) { ch = '_'; }
|
||||
if (ch == 0x7F) { ch = '_'; }
|
||||
if (ch == '\n') { ch = '\r'; }
|
||||
if (ch >= 'a' && ch <= 'z') { ch = ch - 0x20; }
|
||||
|
||||
if (ch == '\r' || (ch >= 0x20 && ch <= 0x7F))
|
||||
|
@ -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