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