ea2ea1e293fede48c29041300bd4f466c208c79a
Instead of calling cpu_cycle() and video_cycle() once per emulated cycle, call cpu_cycle() once per emulated instruction. This should not have any obvious effects on the emulation (as currently written), because all of the memory reads and writes are done in the first "cycle" of the instruction. This patch results in a substantial performance gain (>100%, if I recall correctly).
A work-in-progress Gameboy emulator with a terminal-based UI and a basic assembler.
Compilation
make config-release
make
Docs
doxygen ./doxygen.config
Tests
make config-default
make check
Coverage
make config-coverage
make coverage-report
Description
Languages
C
98.2%
Makefile
1.8%