Compare commits

..

No commits in common. "b18f41ff1c3fe24b2f2d72829c66cb8a5cd21642" and "c59c1116258b29e8d7031fc707168fc74d42339d" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,7 @@
## What is this?
An Apple 1 emulator written in JavaScript and HTML5. Press F1 (or maybe Shift+F1) to Reset, F2 to enter fullscreen mode.
An Apple 1 emulator written in Javascript and HTML5
Things are still a little rough around the edges right now, hopefully I will have more time to clean things up.

View File

@ -272,10 +272,9 @@ declare global {
let _key: byte;
function _keydown(evt: KeyboardEvent) {
const F1 = 112, F2 = 113;
if (evt.keyCode === F1) {
if (evt.keyCode === 112) {
cpu.reset();
} else if (evt.keyCode === F2) {
} else if (evt.keyCode === 113) {
if (document.webkitIsFullScreen) {
document.webkitCancelFullScreen();
} else {