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