From aed79823eadbd667cda6dc6e313a48175e4bb2d8 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Fri, 27 May 2016 13:47:11 -0700 Subject: [PATCH] void --- beautiful-racket/br/demo/chip8.rkt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/beautiful-racket/br/demo/chip8.rkt b/beautiful-racket/br/demo/chip8.rkt index ba92a96..9021961 100644 --- a/beautiful-racket/br/demo/chip8.rkt +++ b/beautiful-racket/br/demo/chip8.rkt @@ -80,10 +80,24 @@ ;(setup-graphics chip8) ;(setup-input chip8) -;; Initialize the Chip8 system and load the game into the memory +;; Initialize the Chip8 system and load the game into the memory +#;(define (initialize c) + ;; Initialize registers and memory once + ) + ;(initialize chip8) ;(load-game chip8 "pong") + +#;(define (emulate-cycle c) +; // Fetch Opcode +; // Decode Opcode +; // Execute Opcode +; +; // Update timers + + ) + ;; Emulation loop #;(let loop () ;; Emulate one cycle