Riyyi
|
baa679904c
|
Emulator: Implement RET opcodes, minus one
|
2 years ago |
Riyyi
|
3346b5329a
|
Emulator: Implement XOR/OR opcodes
|
2 years ago |
Riyyi
|
275739bd5b
|
Emulator: Implement SUB/SBC opcodes
|
2 years ago |
Riyyi
|
d47dddfe69
|
Emulator: Implement ADC opcode
|
2 years ago |
Riyyi
|
bf8bd66389
|
Emulator: Implement 8-bit ADD opcodes
|
2 years ago |
Riyyi
|
5015b9e59d
|
Emulator: Implement 16-bit INC opcode
|
2 years ago |
Riyyi
|
a7169addd8
|
Emulator: Rename inc() => inc8()
|
2 years ago |
Riyyi
|
4dffe1a60a
|
Emulator: Implement push/pop opcodes
|
2 years ago |
Riyyi
|
ec0f8bf02e
|
Emulator: Implement SLA/SRA/SRL opcodes
|
2 years ago |
Riyyi
|
fb6ba43ff1
|
Emulator: Implement RL/RR opcodes
|
2 years ago |
Riyyi
|
275cab4da4
|
Emulator: Implement RLC/RRC opcodes
|
2 years ago |
Riyyi
|
d53f4759e3
|
Emulator: Implement SWAP opcodes
|
2 years ago |
Riyyi
|
67698528e1
|
Emulator: Implement SET opcodes
|
2 years ago |
Riyyi
|
e35aa06471
|
Emulator: Implement RES opcodes
|
2 years ago |
Riyyi
|
6ada7261e7
|
Emulator: Add .cpp file for prefix $cb opcodes, implement BIT opcodes
|
2 years ago |
Riyyi
|
27abccf863
|
Emulator: Implement nop/rst opcodes
|
2 years ago |
Riyyi
|
219520965c
|
Emulator: Implement Accumulator rotate opcodes
|
2 years ago |
Riyyi
|
462fa09a00
|
Emulator: Implement AND opcodes
|
2 years ago |
Riyyi
|
c9e2bf9e94
|
Emulator: Implement 16-bit add opcodes
|
2 years ago |
Riyyi
|
c81db1d3b5
|
Emulator: Rename decr16 => dec16 as there is only one variant
|
2 years ago |
Riyyi
|
802995b7d9
|
Emulator: Implement JR opcodes
|
2 years ago |
Riyyi
|
67f8bcfca9
|
Emulator: Implement INC and CP arithmetic opcodes
|
2 years ago |
Riyyi
|
e9b47d7d68
|
Emulator: Implement 16-bit DEC opcode
|
2 years ago |
Riyyi
|
3fcc6823e8
|
Emulator: Add last LD opcode
|
2 years ago |
Riyyi
|
8cc8f711e9
|
Emulator: Reorganize 16-bit and more 8-bit load opcode functions
|
2 years ago |
Riyyi
|
9f12eaa5ff
|
Emulator: Reorganize 8-bit load opcode functions
|
2 years ago |
Riyyi
|
4c24ade250
|
Test: Add unit test for carry calculation
|
2 years ago |
Riyyi
|
cc120891ca
|
Emulator: Add isCarry() function to CPU
|
2 years ago |
Riyyi
|
e2ca4359f2
|
Emulator: Add opcode $20/$0d/$2f
|
2 years ago |
Riyyi
|
446a777e40
|
Emulator: Add Formatter for CPU class
|
2 years ago |
Riyyi
|
1acb5af23e
|
Emulator: Add function to retrieve AF/PC/SP register
|
2 years ago |
Riyyi
|
af07357812
|
Emulator: Add opcode $a8/$af
|
2 years ago |
Riyyi
|
7e54c733a8
|
Emulator: Add opcode $cd
|
2 years ago |
Riyyi
|
6bbc705651
|
Emulator: Make read/write function more generic
|
2 years ago |
Riyyi
|
c83d322d0c
|
Emulator: Make read/write function more generic
|
2 years ago |
Riyyi
|
e2db1598af
|
Emulator: Change opcode lookup table to regular switch case
|
2 years ago |
Riyyi
|
2a234fabfd
|
Emulator: Add opcode LDH or LD 0xff00
|
2 years ago |
Riyyi
|
07345d0552
|
Emulator: Add some more opcodes
|
2 years ago |
Riyyi
|
ab5d9cbe69
|
Emulator: Fix loading 16-bit immediate value
The 8 lower bits are read first. The 8 higher bits come afterwards!
|
2 years ago |
Riyyi
|
8768daabfe
|
Emulator: Remove bootrom as separate Emu member variable
|
2 years ago |
Riyyi
|
687990edca
|
Emulator: Add more opcodes, convenience functions
|
2 years ago |
Riyyi
|
895b54e927
|
Emulator: Add opcode function to lookup table
|
2 years ago |
Riyyi
|
d511ec8397
|
Emulator: Add opcode lookup table
|
2 years ago |
Riyyi
|
e3c3875195
|
Emulator: Store registers separately
|
2 years ago |
Riyyi
|
dcc517c28d
|
Emulator: Set registers for the power-up sequence
|
2 years ago |
Riyyi
|
68f78a0299
|
Emulator: Change register type to uint32_t
|
2 years ago |
Riyyi
|
2c3109e795
|
Emulator: Add cycles to wait after executing opcode
|
2 years ago |
Riyyi
|
e95e7452fe
|
Emulator: Change register af 16-bit => a 8-bit
|
2 years ago |
Riyyi
|
6da0184713
|
Emulator: Add opcode example
|
2 years ago |
Riyyi
|
4df59970da
|
Emulator: Run clang-format
|
2 years ago |