Skip to content

Commit

Permalink
Add PLATO/TTY mode toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
tschak909 committed Oct 5, 2018
1 parent ee123a5 commit 87e4e7c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/atari/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,18 @@ void keyboard_main(void)
prefs_clear();
}
}

else if (key==45 && TTY==false) // T
{
prefs_clear();
prefs_display("TTY Mode");
TTY=true;
}
else if (key==10 && TTY==true) // P
{
prefs_clear();
prefs_display("PLATO Mode");
TTY=false;
}
}
else if (TTY)
{
Expand Down

0 comments on commit 87e4e7c

Please sign in to comment.