Commit Graph

414 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka 64230973f1 chore: suggest inline for hot code 2021-09-24 16:16:14 -03:00
Rekai Nyangadzayi Musuka dbbf87af52 chore: add a creative-commons boot rom for compat 2021-09-24 16:15:55 -03:00
Rekai Nyangadzayi Musuka 1440cd1fc7 chore: update README.md 2021-09-24 12:34:48 -03:00
Rekai Nyangadzayi Musuka 9964b49ce1 fix(ppu): improve accuracy of timer 2021-09-21 12:50:31 -03:00
Rekai Nyangadzayi Musuka 142231d355 chore(ppu): remoe unnecessary brackets 2021-09-21 12:13:55 -03:00
Rekai Nyangadzayi Musuka 227928e8ca Revert "fix(ppu): explicity choose to use sign extension"
This reverts commit 1001b0b124.
2021-09-21 12:09:35 -03:00
Rekai Nyangadzayi Musuka 1001b0b124 fix(ppu): explicity choose to use sign extension 2021-09-21 09:52:12 -03:00
Rekai Nyangadzayi Musuka 71ce3f43e0 chore: satisfy clippy 2021-09-20 04:15:05 -03:00
Rekai Nyangadzayi Musuka ce121864d2 feat: implement cartridge saving
Implemented for MBC1, MBC2, MBC3 and MBC5
2021-09-20 04:13:25 -03:00
Rekai Nyangadzayi Musuka e1fe00ab64 fix: have start and select keybinds match other emulators 2021-09-20 03:26:06 -03:00
Rekai Nyangadzayi Musuka 5882678bc5 chore: inline some functions
continuous-integration/drone/push Build was killed Details
2021-09-20 01:34:41 -03:00
Rekai Nyangadzayi Musuka bcd67cb317 chore: begin refactor of public api 2021-09-20 01:34:21 -03:00
Rekai Nyangadzayi Musuka 4516ca8477 chore: run cargo fix
continuous-integration/drone/push Build is passing Details
2021-09-12 04:56:39 -03:00
Rekai Nyangadzayi Musuka 6087e3b20b chore: remove Cycle struct and begin scheduler design 2021-09-12 04:56:34 -03:00
Rekai Nyangadzayi Musuka 10ac579c40 fix(main): Use LogicalSize and PhysicalSize properly 2021-09-11 22:56:40 -03:00
Rekai Nyangadzayi Musuka ee5504111b Merge branch 'main' of ssh://git.musuka.dev:2222/paoda/gb into main
continuous-integration/drone/push Build is passing Details
2021-09-11 20:48:05 -03:00
Rekai Nyangadzayi Musuka a628f64d28 chore: update dependencies 2021-09-11 20:47:45 -03:00
Rekai Nyangadzayi Musuka 318a6e0386 fix(emu): remove GAMEPAD_ENABLED const flag
continuous-integration/drone/push Build is passing Details
2021-09-09 11:12:50 -03:00
Rekai Nyangadzayi Musuka db012c7f4b fix(main): remove code unrelated to audio sync
continuous-integration/drone/push Build is passing Details
2021-09-07 02:09:02 -03:00
Rekai Nyangadzayi Musuka e42c87aeb7 fix(apu): quiet gameboy APU 2021-09-07 01:52:02 -03:00
Rekai Nyangadzayi Musuka 9113e95fa0 fix(apu): pass blargg apu sweep tests 2021-09-07 01:17:01 -03:00
Rekai Nyangadzayi Musuka 9973dc8714 fix(cartridge): don't read from RAM that doesn't exist
continuous-integration/drone/push Build is passing Details
2021-09-06 23:45:04 -03:00
Rekai Nyangadzayi Musuka e128025208 fix(cartridge): improve accuracy of MBC1 with large file sizes 2021-09-06 23:37:55 -03:00
Rekai Nyangadzayi Musuka 44ac0c8ebd feat(cartridge): implement MBC2
continuous-integration/drone/push Build is passing Details
2021-09-06 18:13:34 -03:00
Rekai Nyangadzayi Musuka 01064bab69 chore(cpu): comment out blargg-specific code
continuous-integration/drone/push Build is passing Details
2021-08-22 01:49:01 -05:00
Rekai Nyangadzayi Musuka 634bc2d2c0 fix(apu): remove redundant code 2021-08-22 01:48:34 -05:00
Rekai Nyangadzayi Musuka d794a94b68 fix(timer): increase accuracy of timer
continuous-integration/drone/push Build is passing Details
2021-08-20 00:17:28 -05:00
Rekai Nyangadzayi Musuka b87e31d3f4 fix(cartridge): remove unnecessary dbg statement 2021-08-20 00:17:05 -05:00
Rekai Nyangadzayi Musuka 3c2456611e fix(cartridge): trim whitespace from cartridge title
continuous-integration/drone/push Build is passing Details
2021-08-19 21:56:07 -05:00
Rekai Nyangadzayi Musuka b829f05a34 chore(cartridge): clean-up code
continuous-integration/drone/push Build is passing Details
2021-08-19 20:39:04 -05:00
Rekai Nyangadzayi Musuka afd2d16371 chore(cartridge): re-rename RamInfo and RomRinfo 2021-08-19 20:05:48 -05:00
Rekai Nyangadzayi Musuka 1f8fa48168 chore: add reccomended vscode extensions
continuous-integration/drone/push Build is passing Details
2021-08-19 17:05:36 -05:00
Rekai Nyangadzayi Musuka c6fbb79189 chore(cartridge): reognanize code 2021-08-19 16:10:39 -05:00
Rekai Nyangadzayi Musuka 8b78b2943e fix(cartridge): specify intentional overflow in MBC5
continuous-integration/drone/push Build is passing Details
2021-08-19 16:09:58 -05:00
Rekai Nyangadzayi Musuka 0af95a1dd3 feat(cartridge): implement MBC5 and cleanup code
continuous-integration/drone/push Build is passing Details
2021-08-18 22:40:15 -05:00
Rekai Nyangadzayi Musuka 9fa40f8584 fix(main): do not drop output stream 2021-08-18 22:39:55 -05:00
Rekai Nyangadzayi Musuka b10bc7b4fd chore(main): add flag that enables audio 2021-08-18 16:34:26 -05:00
Rekai Nyangadzayi Musuka 4658a0d106 fix(apu): ch4 set_len should set timer to 64 - len
continuous-integration/drone/push Build is passing Details
2021-08-18 02:32:48 -05:00
Rekai Nyangadzayi Musuka f92b9d61ef chore(apu_gen): cosmetic changes to sample generation
continuous-integration/drone/push Build is passing Details
2021-08-18 01:43:38 -05:00
Rekai Nyangadzayi Musuka 360a9a7b65 chore(apu): improve code organization
continuous-integration/drone/push Build is passing Details
2021-08-18 00:04:27 -05:00
Rekai Nyangadzayi Musuka 5d64e539a7 fix(apu): resolve off-by-one error 2021-08-17 23:14:56 -05:00
Rekai Nyangadzayi Musuka 22f96a10e7 fix(apu): increase accuracy of apu emulation
Reintroduce the Frame Sequencer and it's state enum (needed so that we
can reset the FS on NR52 enable)
2021-08-17 22:18:40 -05:00
Rekai Nyangadzayi Musuka 8fea8eb1ff fix(apu): better emulate behaviour of apu channel DACs 2021-08-17 21:26:22 -05:00
Rekai Nyangadzayi Musuka 9b2c91445a chore: enable audio by default
even if it sounds really bad right now
2021-08-17 21:25:55 -05:00
Rekai Nyangadzayi Musuka b9046bceba fix(apu): disable channel if DAC is disabled 2021-08-17 20:42:41 -05:00
Rekai Nyangadzayi Musuka aa22e93049 chore: clean up TODO messages
continuous-integration/drone/push Build is passing Details
2021-08-15 23:31:27 -05:00
Rekai Nyangadzayi Musuka 6215eccb2f chore(cpu): merge halted and state properties 2021-08-15 23:26:01 -05:00
Rekai Nyangadzayi Musuka a77d0a0f62 fix(apu): clock frame sequencer at correct Hz
continuous-integration/drone/push Build is passing Details
2021-08-15 02:46:20 -05:00
Rekai Nyangadzayi Musuka c2f2e2194b chore(ppu): improve accuracy of pixel fifo 2021-08-14 23:47:16 -05:00
Rekai Nyangadzayi Musuka d68257bb29 fix(ppu): improve accuracy of SCX discard 2021-08-14 22:03:01 -05:00