Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

Commit

Permalink
Fix off-by-one with RAM size
Browse files Browse the repository at this point in the history
  • Loading branch information
wasamasa committed Feb 18, 2019
1 parent 5df33ac commit 1b9b073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chip8.el
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ As the timer runs at 60hz, factor 1 corresponds to 60 cps, factor
0 ; DT
0 ; ST
))
(defvar chip8-ram (make-vector #xFFF 0))
(defvar chip8-ram (make-vector #x1000 0))
(defvar chip8-stack (make-vector 32 0))
(defvar chip8-RPL-flags (make-vector 16 0))

Expand Down

0 comments on commit 1b9b073

Please sign in to comment.