awiggs / chip-gr8

Chip-Gr8
http://chipgr8.io
MIT License
4 stars 1 forks source link

Chip-8 Step #11

Closed ejrbuss closed 5 years ago

ejrbuss commented 5 years ago

The Chip-8 performs a number of tasks every step. This includes fetching the next instruction (word_t fetch(Chip8VM_t * vm)), decoding and dispatching that instruction (void decode(Chip8VM_t * vm, word_t opcode)), and performing additional updates to the vm state (void update(Chip8VM_t * vm)). All of these tasks are performed by the void step(Chip8VM_t * vm); function. All of these functions are declared in includes/chip8.h and defined in src/chip8.c.

For this issue implement the step, fetch, and update functions. The decode function is handled by a different GitHub issue.

torreyr commented 5 years ago

I closed this issue by accident so I reopened it and put it back in the "In progress" column. Sorry!