Max Regan 9d40f5026a cpu: change cpu cycle calculation
The Gameboy CPU runs at ~4MHz, but all the instructions take some
number of cycles divisible by 4.

This patch causes the cpu_cycle() to run a single 1MHz cycle, instead
of requiring 4 calls at 4MHz to perform the same emulation. Based on
the code in gbdb, the video controller now appears to run much slower,
and the timings needs to be verified.

This results in a large performance gain.
2018-07-01 22:00:02 +00:00
2018-07-01 22:00:02 +00:00
2017-05-31 22:23:02 -07:00
2018-02-18 12:51:10 -08:00
2018-07-01 21:54:27 +00:00
2017-05-10 22:40:12 -07:00

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
No description provided
Readme 444 KiB
Languages
C 98.2%
Makefile 1.8%