Commit Graph

6 Commits

Author SHA1 Message Date
1076d02638 interrupt: first-pass implementation of interrupts
Only manual and V-blank interrupts work, for now. This implements
enough to make the EI and DI parts of Blargg's Interrupt test pass.
2018-09-20 20:55:51 -07:00
593d9d3600 gbdb,memory: require memory files on initialization
This will make it a little bit easier to set up the proper MBC when
they are implemented.
2018-09-11 21:15:14 -07:00
c4ded6d077 cpu: get blarg CPU instruction test 6 passing
Its been too long since a checkin, but here's some of the
improvements:

- Support for diffing with other emulators
- Better disassmbed output
- New CPU instructions implemented
- Lots of CPU fixes
2018-08-26 22:57:35 -07:00
f659af54e1 gbdb,video: improve logging
Add more runtime toggles and add the ability to log to a file for
faster runs and better searchability.
2018-07-22 16:15:10 -07:00
53cd4ab7e5 video: first signs of life
The video code now writes out a bmp file per-frame. With this patch
applied, the Nintendo logo is rendered in each frame.

There is still plenty of work to be done. Pretty much everything is
hardcoded to make the bootrom work.
2018-07-20 20:08:15 -07:00
cd66ad8a89 memory: separate the memory-related code into it's own file
After doing a little reading about the way the memory banks are
mapped, it looks like this code is going to grow. Separate it into
it's own file.

While we're at it, make gb_mem_read() a proper function instead of a
callback. Because these functions are used so frequently, this
corresponds to a ~10-20% performance benefit (due to LTO).
2018-07-09 05:28:14 +00:00