WIP Chip-8 emulator focused on performance and configurability
Go to file
John Breaux ef3d765651 experimentation: benchmarking and alternate impl's
- 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
2023-03-17 20:06:31 -05:00
src experimentation: benchmarking and alternate impl's 2023-03-17 20:06:31 -05:00
.gitignore Initial commit: 2023-03-08 06:07:33 -06:00
Cargo.lock experimentation: benchmarking and alternate impl's 2023-03-17 20:06:31 -05:00
Cargo.toml experimentation: benchmarking and alternate impl's 2023-03-17 20:06:31 -05:00
readme.md readme.md: Add readme.md 2023-03-10 15:33:02 -06:00

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?