32 Commits

Author SHA1 Message Date
dd8339e8de chore(cartridge): consistently capitalize MBC 2021-08-03 15:06:06 -05:00
05d6475015 fix(cartridge): Use default title instead of empty string 2021-08-03 14:53:30 -05:00
9d0e099a97 chore: remove unnecessary derivations from structs 2021-07-28 00:09:07 -05:00
3754325e30 chore(cartridge): silence warning 2021-07-11 23:47:05 -05:00
4f3fc3136d chore: print cartridge info in stderr
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-05 01:10:10 -05:00
48e81ff426 fix(cartridge): fix bug preventing MBC1 from working
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-05 00:43:02 -05:00
18b790a777 chore(cartridge): update MBC1 (still broken)
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-05 00:14:56 -05:00
1bc5de7cff chore(cartridge): incremental improvements to MBC1 2021-06-23 17:12:54 -05:00
0c22509d24 chore(cartridge): impelement MBC3 2021-06-10 16:57:40 -05:00
d623800005 fix: apply clippy suggestions 2021-06-06 21:30:08 -05:00
ef4e54aba6 chore: restrict what should be pub or not 2021-06-06 20:47:11 -05:00
878edd4082 chore: replace pub with pub(crate) when possible 2021-06-06 19:14:28 -05:00
2e42513d71 chore(cartrige): rewrite error to be more descriptive 2021-06-04 13:47:49 -05:00
9ea26d4a05 chore: improve performance of match statements 2021-05-19 02:52:32 -05:00
4abb2833c4 chore: implement gamepad controls 2021-05-03 23:11:39 -05:00
067049e2dd chore: rename to_byte_count to as_byte_count
using to_* and not taking ownership of self violates rust conventions
according to clippy.
2021-04-24 02:12:05 -05:00
b43c8ac7c9 feat(cartridge): grab title from the ROM 2021-04-14 01:21:45 -05:00
cbd085c25b chore: use Default::default instead of Type::Default 2021-04-13 23:02:13 -05:00
23de87e482 chore: remove panics when gameboy performs certain actions 2021-04-08 19:23:29 -05:00
6db132ad48 feat(cartridge): handle MBC-less games like tetris
TODO: This will panic whenever a write is attempted on the MBC-less
cartridge. This would be fine if games held the implicit rules given by
the hardware, however this is not the case. We will have to modify the
NoMBC implementation to ignore writes to the cartrige (while still
documenting them just in case of bugs)
2021-04-05 01:43:26 -05:00
823e4b1e0a chore: follow rust style guides 2021-04-05 01:40:26 -05:00
a6d5553035 fix(cartridge): reimplement apply_rom_size_bitmask 2021-03-26 20:18:49 -05:00
342e6616ac chore: improve unreachable! and panic! error messages 2021-03-22 22:33:56 -05:00
2813b762dd chore: replace select unreachable! macros with todo! and unreachable! 2021-03-22 21:52:28 -05:00
15da6cb7d2 fix: squash several bugs in MBC1 implementation 2021-03-21 01:52:29 -05:00
cd0eac9d37 chore: improve code quality
Removed a lot of magic constants. Gave them descriptive variable names
2021-03-20 20:26:49 -05:00
06821bf880 fix: improve types of heap allocated arrays 2021-03-16 22:51:41 -05:00
19f642eafe chore: make clippy happy 2021-03-16 01:05:13 -05:00
d30ce4dbb2 chore: improve code quailty 2021-03-15 19:19:40 -05:00
5d95eadd2e fix: implement Default and Clone for Box<dyn MBC> 2021-03-15 19:08:19 -05:00
b5d3a2c675 feat: implement MBC1 2021-01-20 01:39:24 -06:00
2a234f4d14 feat: implement ability to boot straigt to cartridge 2020-12-23 19:39:37 -06:00