Commit Graph

50 Commits

Author SHA1 Message Date
26f28cdb48 Use TryFrom() instead of custom solution 2020-02-20 19:50:07 +01:00
0f20b2801b Ongoing cleanup 2020-02-20 19:31:41 +01:00
6efb1507ff Fix warnings 2020-02-19 12:45:47 +01:00
67e2d7140b WIP commit 2020-02-17 19:23:27 +01:00
92855bf6b9 Implement proper shutdown 2020-02-17 19:23:16 +01:00
74234dd405 GBC features 2020-02-16 20:53:34 +01:00
28d792e48d Simplify framerate limit 2020-02-14 20:08:01 +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
2367e891a4 As good as working 2017-01-19 22:34:15 +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
a58e599c7a Fix DAA 2016-06-02 13:49:21 +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
509a76924a sprite cleanup part 1 2016-06-01 19:11:23 +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
e8da2e4958 Fix some prints, copy MBC3 -> MBC1 2016-06-01 15:01:41 +02:00
Kevin Hamacher
3458d4b7d9 Split MBC logic 2016-05-29 22:04:22 +02:00
Kevin Hamacher
411f0876af Fix stack offsets; Passes two more tests. 2016-05-29 20:59:37 +02:00
Kevin Hamacher
2b2659986e Fix a couple CB opcodes; Pass more tests. 2016-05-29 20:53:17 +02:00
Kevin Hamacher
72507fb8b4 Fix ADD HL, SP; Pass test #3 2016-05-29 20:27:36 +02:00
Kevin Hamacher
7dadc79078 Fix ADD, ADC, SUB, SBC, CP; Pass test 2016-05-29 20:22:10 +02:00
1e04879770 Add readme; SRA bugfix 2016-05-29 15:35:13 +02:00
ecb66dba71 Update other rotate/shift instructions 2016-05-29 15:24:26 +02:00
9040214b85 Fix RR and RRC 2016-05-29 15:16:44 +02:00
fbffa7dccb Fix SRL and SRA 2016-05-29 15:13:33 +02:00
4a1b335887 Try to fix DAA 2016-05-29 14:43:13 +02:00
691147631a Fix writing to F register 2016-05-29 14:34:34 +02:00
47a4b0c720 Inlining performance critical functions 2016-05-29 14:18:47 +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
44c8b2e7d8 Add VRAM DMA; Add basic timer support 2016-05-28 23:57:14 +02:00
6d675616f1 Add SET instruction; Add WRAM support 2016-05-28 23:34:32 +02:00
81567c97c4 Add more prefix commands 2016-05-28 22:52:52 +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
Kevin Hamacher
f10744b2a6 RL instruction fix; Nintendo logo correct 2016-05-28 10:18:12 +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
31117963e5 Move more logic to functions 2016-05-26 20:51:23 +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
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
Kevin Hamacher
8df38e9c11 Initial commit 2016-05-25 22:51:40 +02:00