Commit Graph

108 Commits

Author SHA1 Message Date
6c1ad38f0a Fix sound once again :) 2021-09-30 12:33:14 +02:00
cd2f9ddfd8 Reduce noise by wram bank switching 2020-02-21 18:51:33 +01:00
65e65be0eb Trying to implement some y-mirroring 2020-02-21 18:50:57 +01:00
52c73538cb Fix x/y coordinate swap in sprites 2020-02-21 18:42:07 +01:00
515321110b gbc: Implement background priority bit 2020-02-21 18:39:17 +01:00
1890dd2d3a Remove single-instruction helper func 2020-02-21 18:38:59 +01:00
1cc839c911 Move Sprite/BgAttribs to separate file 2020-02-21 18:25:11 +01:00
fbfe751d75 Cleanup some old DMG code 2020-02-21 18:18:33 +01:00
c880766ae4 Display: Splitting file up, staring with palette 2020-02-21 18:15:47 +01:00
8dd14c7719 Origin cleanup 2020-02-21 10:19:21 +01:00
30efdc1108 DMG: Create some abstraction 2020-02-21 09:55:28 +01:00
b7c1d9b8a0 ppu: Fix window 2020-02-21 00:15:09 +01:00
bdf51448f7 Do not fatal error out on y-mirroring 2020-02-21 00:12:40 +01:00
078da395ed Fix color bug
Oh man, that was way harder to track down that I want to admit.
Couple of hours wasted, yeeeah.
2020-02-20 23:41:11 +01:00
195d94ddb0 audio: improve it by essentially switching to i8 2020-02-20 21:19:14 +01:00
cd48f4c4c8 Make palette OOBs not fatal 2020-02-20 20:20:55 +01:00
2fb40e7b10 even more complains 2020-02-20 20:18:54 +01:00
f07a0032eb Remove old unnecessary cmp hack 2020-02-20 20:13:36 +01:00
4cf6225133 Address some of clippys concerns 2020-02-20 20:11:02 +01:00
ab7ee0988f Cleanup key handling 2020-02-20 20:00:13 +01:00
3b28268279 Add nixos dev config 2020-02-20 19:57:03 +01:00
76059f1e85 Let the compiler decide what to inline 2020-02-20 19:52:26 +01:00
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
847d12c3a8 Cleanup MBC related code 2020-02-20 19:28:20 +01:00
fc935ab214 Small clippy improvements 2020-02-20 19:19:37 +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
55373a6948 Improve DMA & MBC5 2020-02-18 16:29:05 +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
79e31318e0 GBC: Increase supported boot rom length 2020-02-18 13:03:44 +01:00
368150e4c3 Check cartridge ram size upon load 2020-02-18 12:15:41 +01:00
0816f74528 Add write support for workram-copy 2020-02-18 10:40:30 +01:00
90baf0af78 MBC1: Allow writing to RAM 2020-02-18 10:35:41 +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
2f03b015f1 Small performance improvements 2020-02-16 20:53:25 +01:00
fa2fa9e5f5 Fix graphic bug 2020-02-14 22:26:05 +01:00
d1b089556e Sound improvements 2020-02-14 21:03:36 +01:00
28d792e48d Simplify framerate limit 2020-02-14 20:08:01 +01:00
eb62d59817 Add support for MBC5 2020-02-14 13:15:52 +01:00
99dc3210d6 more code fixes 2020-02-14 11:45:37 +01:00
93e38d49ef cargo fmt 2020-02-14 11:39:20 +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