61 Commits

Author SHA1 Message Date
61156ca8a8 fix(cart): rename enum variant and enable MBC3 w/ battery 2021-12-09 09:30:47 -04:00
2c411d5792 chore(cart): add test for all-whitespace title 2021-12-09 07:27:52 -04:00
4a1a21a08f chore: satisfy clippy 2021-11-30 04:13:12 -04:00
a0e3c7c602 chore: remove useless default implementations 2021-11-25 04:07:45 -04:00
ef4f3d9ec6 chore(cart): refactor sections of cartridge code 2021-11-25 03:32:22 -04:00
7f872a554b chore(cart): code cleanup 2021-11-25 03:32:18 -04:00
dda0257655 fix(cart): support cartridge headers w/ manufactor codes 2021-11-25 00:12:35 -04:00
c10816c048 chore: imrpove private and public APIs 2021-11-24 22:12:26 -04:00
6f5e863645 chore: drop pixels-rs and add egui w/ wgpu backend 2021-11-15 21:34:24 -04:00
ebcd5bec5c fix(cart): reset sub-cycle counting in RTC
specifically when RTC S is written to
2021-11-07 13:05:41 -06:00
f2c49b398c chore(cart): improve code quality of RtcClock 2021-11-05 23:05:36 -03:00
6f76571d6c chore: update README 2021-11-05 22:40:31 -03:00
548945a4ee chore: remove imports of tracing macros 2021-10-30 16:41:06 +09:00
1526b4a09d fix(cart): improve title parsin
Now both Tokimeki Memorial titles are read properly
2021-10-30 15:48:47 +09:00
293e5762c3 chore: small code-cleanup changes 2021-10-20 02:48:44 -03:00
ce121864d2 feat: implement cartridge saving
Implemented for MBC1, MBC2, MBC3 and MBC5
2021-09-20 04:13:25 -03:00
bcd67cb317 chore: begin refactor of public api 2021-09-20 01:34:21 -03:00
9973dc8714 fix(cartridge): don't read from RAM that doesn't exist
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-06 23:45:04 -03:00
e128025208 fix(cartridge): improve accuracy of MBC1 with large file sizes 2021-09-06 23:37:55 -03:00
44ac0c8ebd feat(cartridge): implement MBC2
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-06 18:13:34 -03:00
b87e31d3f4 fix(cartridge): remove unnecessary dbg statement 2021-08-20 00:17:05 -05:00
3c2456611e fix(cartridge): trim whitespace from cartridge title
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-19 21:56:07 -05:00
b829f05a34 chore(cartridge): clean-up code
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-19 20:39:04 -05:00
afd2d16371 chore(cartridge): re-rename RamInfo and RomRinfo 2021-08-19 20:05:48 -05:00
c6fbb79189 chore(cartridge): reognanize code 2021-08-19 16:10:39 -05:00
8b78b2943e fix(cartridge): specify intentional overflow in MBC5
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-19 16:09:58 -05:00
0af95a1dd3 feat(cartridge): implement MBC5 and cleanup code
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-18 22:40:15 -05:00
aa22e93049 chore: clean up TODO messages
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-15 23:31:27 -05:00
de0d147685 fix(cartridge): put a bit more detail into the MBC3 RTC stub
Some checks failed
continuous-integration/drone/push Build is failing
2021-08-03 15:19:08 -05:00
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