WIP Chip-8 emulator focused on performance and configurability
John Breaux
ef3d765651
- Do some basic benchmarking with std::time - Try writing bus writer based on iterator - Fail, because that requires mutable iterator - Begin rewriting bus based on simpler design instead. - Simpler design uses a unified memory model, which grows based on the maximum addresses expected in it - Still uses the "infallible" Read/Write traits from previous implementation. :( Alas, it's much faster during operation, even if it takes longer to instantiate. - Reassessed the syntax for bus macro - Made CPU tick generic over bus::Read and bus::Write traits |
||
---|---|---|
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
readme.md |
Chumpulator
How does an emulator work? I don't know!
So I wrote this, to see if i can find out.
TODO:
- Timing (insns should run at about 500Hz)
- Screen (Memory is present, drawing sprites is not)
- Sound (Beep boop, how to make noise?)
- Which abstractions are useful?