chibinz / GameBar

A Game Boy Advance emulator written in Rust
MIT License
3 stars 0 forks source link

Implement scheduler #9

Open chibinz opened 2 years ago

chibinz commented 2 years ago

Currently the timer takes up a ridiculous amount of time, which is about 25%, similar to the CPU! Scheduling is subtle though... Especially io devices can interrupt the cpu any time, and the cpu could enable irqcnt any instruction...