ef3d7656519e1ddb7092c21903222ffe8a8e20e6
- 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
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?
Description
Languages
Rust
100%