Emulating a CPU in C++ #11 (6502) - AND EOR ORA unit tests

  Рет қаралды 5,484

Dave Poo

Dave Poo

Күн бұрын

In this episode I implement all unit test for the 6502 logcal operations AND, EOR & ORA.
Links:
Source for this project: github.com/davepoo/6502Emulator
Google Test: github.com/google/googletest
6502 Information: www.obelisk.me.uk/6502/
Music: Amiga version of Toki recorded on my Amiga 600
Timestamps:
0:00 Intro
1:47 Creating new test cpp
4:18 Changing Load Reg Tests to Logical Tests
6:50 Setting up a logical test (Immediate Addressing)
14:30 Time lapse other addressing modes
16:25 All tests finished
17:09 Closing comments

Пікірлер: 4
@jeffweber8244
@jeffweber8244 3 жыл бұрын
Brings back memories. Back in the mid-80s, we had a senior EE digital hardware assignment to generate the microcode (Control Store) to implement a small instruction set for an 8-bit architecture. We tested our microcode with an emulator written by the grad TA.
@thisismissem
@thisismissem 8 ай бұрын
It's interesting that the 6502 used EOR instead of XOR (not sure why that changed?)
@arkanjo7509
@arkanjo7509 2 жыл бұрын
thanks
@j.r.qwertz
@j.r.qwertz 3 жыл бұрын
putting And, Eor, Ora in enum ElogicalOp and then select the instruction via switch is silly.
Emulating a CPU in C++ #12 (6502) - AND EOR ORA Implemented
23:31
The ONLY REASON To Unit Test
8:26
Theo - t3․gg
Рет қаралды 67 М.
Emulating a CPU in C++ #14 (6502) - First Ever Program
37:51
Making a Chip-8 Emulator
9:18
VoxelRifts
Рет қаралды 10 М.
NES Emulator Part #2: The CPU (6502 Implementation)
1:07:12
javidx9
Рет қаралды 408 М.
ASMR Programming - Spinning Cube - No Talking
20:45
Servet Gulnaroglu
Рет қаралды 3,5 МЛН
Optimising Code - Computerphile
19:43
Computerphile
Рет қаралды 136 М.
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 155 М.
27c3: Reverse Engineering the MOS 6502 CPU (en)
51:57
Christiaan008
Рет қаралды 428 М.
You don't need libraries to write a game engine in C++ | OpenGL | Devlog
2:50
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 742 М.