aquova / chip8-book

An introduction to Chip-8 emulation using Rust

Home Page:https://aquova.net/chip8/chip8.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup chapter skips `keys`

aitorres opened this issue · comments

On the Setup chapter, there should be a section mentioning how keys / the keypad is represented on this implementation.

Up to the Stack section, keys are not mentioned. Then, the section that comes right after which is the Timers already includes the keys as part of the Emu struct with no explanation. I actually missed it until my code editor complained of missing keys afterwards in the process.

Thanks for pointing this out, I think I must have had this section at some point, but accidentally removed it. I've rewritten a section setting that up.

Fixed in 2ed1540