diff --git a/index.html b/index.html index 7b31015..c6924f3 100644 --- a/index.html +++ b/index.html @@ -8,32 +8,48 @@ + +
- - - + const emulatorCanvas = document.getElementById('emulator-screen'); + + // Loop + while(true) { + emulator.emulateCycle(); + + emulator.drawGraphics(); + emulator.drawToCanvas(emulatorCanvas, 4); + } +