Commit Graph

43 Commits

Author SHA1 Message Date
4cf6225133 Address some of clippys concerns 2020-02-20 20:11:02 +01:00
76059f1e85 Let the compiler decide what to inline 2020-02-20 19:52:26 +01:00
0f20b2801b Ongoing cleanup 2020-02-20 19:31:41 +01:00
fff0f05b73 Reduce old GB palette to two 2020-02-20 19:15:36 +01:00
6efb1507ff Fix warnings 2020-02-19 12:45:47 +01:00
60d098e83c cargo fix 2020-02-18 16:29:59 +01:00
aa329237ba cargo fmt 2020-02-18 16:29:29 +01:00
2bbcba2152 Fix sprite color & wide sprites 2020-02-18 16:26:09 +01:00
261fa4d78a GBC: Fix vram selection 2020-02-18 14:35:11 +01:00
67e2d7140b WIP commit 2020-02-17 19:23:27 +01:00
74234dd405 GBC features 2020-02-16 20:53:34 +01:00
2f03b015f1 Small performance improvements 2020-02-16 20:53:25 +01:00
fa2fa9e5f5 Fix graphic bug 2020-02-14 22:26:05 +01:00
57b8438144 Merge branch 'master' into audio 2020-02-14 11:39:01 +01:00
ddb1da4367 Move to edition=2018 2020-02-14 11:23:31 +01:00
50471f1ec6 Update SDL + rust fmt 2020-02-14 11:21:48 +01:00
Kevin Hamacher
9ddd8ac21c Trying to figure this audio stuff out 2017-01-17 17:56:11 +01:00
Kevin Hamacher
34ae61e649 Pass all CPU tests in GBC fast mode (timer) 2016-06-02 15:26:11 +02:00
Kevin Hamacher
023b9ff0e4 Speed enhancements; Write savefiles 2016-06-02 13:22:35 +02:00
Kevin Hamacher
dc0656475f Some cleanup; Delayed rendering
SDL will only used as soon as all pixels have been described
in the internal buffer.
2016-06-01 23:52:07 +02:00
Kevin Hamacher
458fec99dd Started work on palette support 2016-06-01 19:55:26 +02:00
509a76924a sprite cleanup part 1 2016-06-01 19:11:23 +02:00
Kevin Hamacher
8c0ef5529c Add more audio regs; Add sprite struct 2016-06-01 16:32:28 +02:00
Kevin Hamacher
4221ed06ac Improve MBC3; Fix VRAM DMA 2016-06-01 15:54:41 +02:00
Kevin Hamacher
19f31cfbbf Fix some overflows 2016-06-01 15:02:53 +02:00
Kevin Hamacher
3458d4b7d9 Split MBC logic 2016-05-29 22:04:22 +02:00
47a4b0c720 Inlining performance critical functions 2016-05-29 14:18:47 +02:00
2499eedfd2 Improve Display 2016-05-29 14:11:34 +02:00
b71397d16a Improve timer; Add 16 px sprite support 2016-05-29 13:01:36 +02:00
1ad3d47c88 Add input; Add RLCA 2016-05-29 11:58:35 +02:00
6d675616f1 Add SET instruction; Add WRAM support 2016-05-28 23:34:32 +02:00
001eb19df3 Add message loop; Implement all basic instructions 2016-05-28 22:44:48 +02:00
Kevin Hamacher
710b057f54 Honor flags more. Deny direct reg access 2016-05-28 15:41:44 +02:00
Kevin Hamacher
d91fa7d75b Fix HL+, add cpu instr testsuite 2016-05-28 14:10:36 +02:00
Kevin Hamacher
e3fce0bcc5 Add cartridge mod; Add sprite support 2016-05-28 12:57:06 +02:00
b52347d5c7 Add commands; Do not panic!
Errors will be ignored, just to test how far we come
2016-05-27 16:57:25 +02:00
c733c05e38 Fix RL(A) instruction 2016-05-27 13:48:08 +02:00
Kevin Hamacher
a4caaa55f0 Remove dead code 2016-05-26 20:56:07 +02:00
Kevin Hamacher
0fdfa9ae63 Even more cleanup 2016-05-26 20:25:44 +02:00
Kevin Hamacher
79d2c99c06 cleanup 2016-05-26 18:56:22 +02:00
Kevin Hamacher
ea81305272 Started implementing graphics 2016-05-26 17:45:31 +02:00
Kevin Hamacher
396e87304e Serial and Timer class, cycle counting
Also a little bit of refactoring.
Move VRAM to the display object
2016-05-26 15:47:08 +02:00
Kevin Hamacher
94e73b2eda Add basic hardware IO.
Emulator passes bios! hooray
2016-05-26 14:18:02 +02:00