Commit Graph

  • 301c9343da Emulator: Separate pixel FIFO states into different functions master Riyyi 2022-10-18 21:24:06 +0200
  • 91884d65fb Emulator: Remove naive old tile draw code Riyyi 2022-10-18 19:58:37 +0200
  • e566adad50 Emulator: Add support for both tile index mapping variants Riyyi 2022-10-18 13:53:39 +0200
  • 1c14228bf7 Emulator: Fix pixel FIFO fetcher half step speed Riyyi 2022-10-17 15:58:12 +0200
  • 00ceacaf52 Emulator: Fix pixel FIFO x-coordinate offset Riyyi 2022-10-17 15:51:16 +0200
  • adb290a7c7 Emulator: Move LCDC inside PPU class Riyyi 2022-10-17 13:31:32 +0200
  • 67539b6d43 Emulator: Change PPU::State values Riyyi 2022-10-17 13:29:38 +0200
  • 7ed5c74faf Emulator: Switch to pixel FIFO Riyyi 2022-10-17 13:29:10 +0200
  • f2a68e6294 Emulator: Add initial pixel FIFO to PPU Riyyi 2022-10-17 13:27:25 +0200
  • 5e6972e4da Emulator: Fix PPU clocks and LCD offsets Riyyi 2022-10-16 21:40:58 +0200
  • c0c592c438 Emulator: Make palette colors more accurate Riyyi 2022-10-16 13:06:11 +0200
  • 900dbde54b Emulator: Set camera zoom-level and screen flip in scene JSON Riyyi 2022-10-16 12:47:21 +0200
  • 16db21fcab Emulator: Fix predicate jump call opcodes Riyyi 2022-10-15 11:17:05 +0200
  • d33de14694 Emulator: Fix swap opcodes Riyyi 2022-10-15 11:13:54 +0200
  • 80c68035c5 Emulator: Fix non-prefix rotate opcodes Riyyi 2022-10-15 11:11:06 +0200
  • 8f016b1095 Emulator: Add function to fetch pixel color from palette Riyyi 2022-10-14 23:24:16 +0200
  • 869438e0e0 Emulator: Add state machine to PPU Riyyi 2022-10-06 15:59:57 +0200
  • 6943cfd684 Emulator: Add naive background tile rendering to PPU Riyyi 2022-10-05 12:52:41 +0200
  • fcfd27468d Emulator: Change main to become an Inferno application Riyyi 2022-09-28 14:45:44 +0200
  • ce46f5033a Emulator+Test: Store ProcessingUnits as std::shared_ptr Riyyi 2022-10-05 11:36:32 +0200
  • 5919f70537 CMake+Meta: Add inferno dependency, which includes ruc indirectly Riyyi 2022-09-26 22:54:37 +0200
  • 136250355e Meta: Add assets for settings and scene Riyyi 2022-10-16 11:31:18 +0200
  • 66c10e3c3e Doc: Update git submodule instructions in readme Riyyi 2022-09-27 12:41:28 +0200
  • 7153b0e9b6 Emulator: Optimize interrupt request checking Riyyi 2022-09-02 23:15:06 +0200
  • cd2673909c Emulator: Implement DI/EI opcodes, finish RETI opcode Riyyi 2022-09-02 22:43:33 +0200
  • 5b4dbdc9a4 Emulator: Add interrupt handling Riyyi 2022-09-02 22:38:02 +0200
  • 5b08c18127 Emulator: Fix DAA carry flag, opcode: 0x27 Riyyi 2022-09-02 16:35:43 +0200
  • 857865dfb9 Emulator: You can only have copyright on stuff you have worked on Riyyi 2022-09-02 16:08:31 +0200
  • a29f01389b Emulator: Fix RET zero flag condition, opcode: 0xc0, 0xc8 Riyyi 2022-09-01 21:49:29 +0200
  • a806f173ce Emulator: Add getters for CPU registers Riyyi 2022-09-01 18:13:32 +0200
  • 3b132a6820 Test: Add way to run opcodes in test cases, add test for ADC, POP, PUSH Riyyi 2022-09-01 18:05:33 +0200
  • b63f0d3b52 Test: Update CPU test for new carry logic Riyyi 2022-09-01 17:34:48 +0200
  • b48f308bfc Emulator: Simplify isCarry(Subtraction) function Riyyi 2022-09-01 17:23:07 +0200
  • 059441c30a Emulator: Fix ADC/CP/DEC/SBC/SUB opcode: 0x8e, 0xbe, 0x35, 0x93, 0x96 Riyyi 2022-09-01 16:59:27 +0200
  • a4743fa77b Emulator: Fix LD A,(HL-) opcode: 0x3a Riyyi 2022-09-01 14:10:54 +0200
  • 70778840c7 Emulator: Fix SLA/SRA/SRL opcodes: 0x26, 0x2e, 0x3e Riyyi 2022-09-01 14:01:52 +0200
  • c396e7fcf6 Emulator: Fix LD L,(HL) opcode 0x6e Riyyi 2022-09-01 13:33:34 +0200
  • 92c0236f2a Emulator: Rename ldffi8 => ldff8 and move two opcodes to it Riyyi 2022-09-01 13:29:07 +0200
  • f56984b555 Emulator: Fix LD A,(0xff00 + C) and its reverse, opcodes: 0xe2, 0xf2 Riyyi 2022-09-01 13:08:25 +0200
  • 1dd9a2c16e Doc: Add definition for lsb/msb, (least|most) significant byte Riyyi 2022-09-01 11:26:54 +0200
  • 1c0809b611 Emulator: Fix LD a16,SP opcode: 0x08 Riyyi 2022-09-01 11:22:21 +0200
  • c8ad40c128 Emulator: Fix LD A,a16 opcode: 0xfa Riyyi 2022-09-01 11:06:13 +0200
  • cc46a45a73 Emulator: Print blargg's test ROM output Riyyi 2022-09-01 00:48:49 +0200
  • ed045a72b2 Emulator: Prepare for running blargg's test ROMs Riyyi 2022-09-01 00:47:30 +0200
  • 38b740856e Emulator: Fix 2 opcodes ending up in the wrong location Riyyi 2022-08-31 23:09:39 +0200
  • e1eed33410 Emulator: Fake screen scrolling to pass the bootrom Riyyi 2022-09-01 00:50:21 +0200
  • 2b7d4dee3d Emulator: Add LCDC register to PPU Riyyi 2022-08-31 21:43:56 +0200
  • 5831a23b02 Meta: Update ruc library Riyyi 2022-08-31 21:33:09 +0200
  • c7903c0a50 Emulator: Fix address pushed onto stack in CALL opcode Riyyi 2022-08-31 20:27:04 +0200
  • 5d054c90f8 Emulator: Update comment wording Riyyi 2022-08-31 20:21:44 +0200
  • 5a690a12d2 Meta: Add script to check for missing opcodes Riyyi 2022-08-31 10:04:41 +0200
  • 461fc28c94 Emulator: Add support for negative numbers to DAA opcode Riyyi 2022-08-31 00:16:10 +0200
  • 6c2e5d32d4 Emulator: Implement DAA opcode Riyyi 2022-08-30 18:10:47 +0200
  • 525391144a Emulator: Fix increment HL opcode Riyyi 2022-08-30 16:41:20 +0200
  • cfded56dcd Emulator: Fix offset bug in readMemory() function Riyyi 2022-08-30 16:24:51 +0200
  • 024e6aecc3 Emulator: Add comments to cycle waiting amount Riyyi 2022-08-30 15:20:54 +0200
  • baa679904c Emulator: Implement RET opcodes, minus one Riyyi 2022-08-29 01:54:31 +0200
  • 0c4d7b2112 Emulator: Implement JP opcodes Riyyi 2022-08-29 01:31:02 +0200
  • 3346b5329a Emulator: Implement XOR/OR opcodes Riyyi 2022-08-29 01:12:59 +0200
  • 275739bd5b Emulator: Implement SUB/SBC opcodes Riyyi 2022-08-29 00:26:40 +0200
  • d47dddfe69 Emulator: Implement ADC opcode Riyyi 2022-08-28 22:33:11 +0200
  • bf8bd66389 Emulator: Implement 8-bit ADD opcodes Riyyi 2022-08-28 22:09:15 +0200
  • 3bac216698 Emulator: Add some missing LD opcodes Riyyi 2022-08-28 21:54:49 +0200
  • 7dc569b1a1 Emulator: Add SCF/CCF opcodes Riyyi 2022-08-28 18:40:58 +0200
  • 5015b9e59d Emulator: Implement 16-bit INC opcode Riyyi 2022-08-28 18:12:19 +0200
  • a7169addd8 Emulator: Rename inc() => inc8() Riyyi 2022-08-28 17:49:49 +0200
  • 4dffe1a60a Emulator: Implement push/pop opcodes Riyyi 2022-08-28 17:43:38 +0200
  • 69760e349e Emulator: Fix compiler warnings in cpu-prefix.cpp Riyyi 2022-08-28 16:57:00 +0200
  • 200cf12a8f Emulator: Fix switch case numbers for prefix opcodes Riyyi 2022-08-28 16:43:01 +0200
  • c4ccbecaf7 Emulator: Add warning for illegal opcodes Riyyi 2022-08-28 16:24:55 +0200
  • ec0f8bf02e Emulator: Implement SLA/SRA/SRL opcodes Riyyi 2022-08-27 13:43:15 +0200
  • ac03d70d83 fixup! Emulator: Implement SWAP opcodes Riyyi 2022-08-27 13:38:04 +0200
  • 99c768d400 Emulator: Rename reg => register_ Riyyi 2022-08-27 12:57:08 +0200
  • fb6ba43ff1 Emulator: Implement RL/RR opcodes Riyyi 2022-08-27 12:53:34 +0200
  • 275cab4da4 Emulator: Implement RLC/RRC opcodes Riyyi 2022-08-27 12:21:41 +0200
  • d53f4759e3 Emulator: Implement SWAP opcodes Riyyi 2022-08-27 11:18:17 +0200
  • 67698528e1 Emulator: Implement SET opcodes Riyyi 2022-08-27 02:01:55 +0200
  • e35aa06471 Emulator: Implement RES opcodes Riyyi 2022-08-27 01:42:19 +0200
  • 6ada7261e7 Emulator: Add .cpp file for prefix $cb opcodes, implement BIT opcodes Riyyi 2022-08-27 00:24:19 +0200
  • ff2f94fc05 Doc: Added mnemonics for two opcode constants Riyyi 2022-08-26 22:21:24 +0200
  • 81fe126068 Emulator: Add cartridge ROM bank loading Riyyi 2022-08-26 07:22:44 +0200
  • 27abccf863 Emulator: Implement nop/rst opcodes Riyyi 2022-08-26 06:13:47 +0200
  • e7e1b58d01 Emulator: Add error message when reading/writing unmapped memory space Riyyi 2022-08-26 06:11:57 +0200
  • d33837f118 Emulator: Implement call opcodes Riyyi 2022-08-26 05:39:09 +0200
  • 219520965c Emulator: Implement Accumulator rotate opcodes Riyyi 2022-08-25 19:53:40 +0200
  • 462fa09a00 Emulator: Implement AND opcodes Riyyi 2022-08-25 15:11:03 +0200
  • be3ee22086 Emulator: Add error message when reading unloaded cartridge header Riyyi 2022-08-25 13:10:12 +0200
  • c9e2bf9e94 Emulator: Implement 16-bit add opcodes Riyyi 2022-08-25 12:55:18 +0200
  • c81db1d3b5 Emulator: Rename decr16 => dec16 as there is only one variant Riyyi 2022-08-25 12:18:34 +0200
  • 69dc545bf0 Emulator: Implement 8-bit decrement opcodes Riyyi 2022-08-25 12:14:55 +0200
  • 802995b7d9 Emulator: Implement JR opcodes Riyyi 2022-08-25 11:42:20 +0200
  • eb0f4b6a5f Doc: Add explanation of flag conditions Riyyi 2022-08-25 11:20:53 +0200
  • 67f8bcfca9 Emulator: Implement INC and CP arithmetic opcodes Riyyi 2022-08-25 02:02:57 +0200
  • 8e4dacca8a Emulator: Add cli argument to specify bootrom path Riyyi 2022-08-25 00:16:32 +0200
  • dd2920b2a4 Emulator: Load cartridge header Riyyi 2022-08-25 00:10:57 +0200
  • 2aa50d3532 Emulator: Put startup into a Loader class Riyyi 2022-08-24 23:47:36 +0200
  • 589faceb9b Doc: Clarify opcode mnemonic for 16-bit address registers Riyyi 2022-08-24 22:54:40 +0200
  • e9b47d7d68 Emulator: Implement 16-bit DEC opcode Riyyi 2022-08-24 22:53:35 +0200
  • 009938b126 Meta: Update ruc library Riyyi 2022-08-24 22:10:19 +0200
  • 50e1672524 Emulator: Fix opcode logic in the ldi16 function Riyyi 2022-08-24 21:21:12 +0200