Emulating a CPU in C++ #22 (6502) - ADC Addressing Modes

  Рет қаралды 3,607

Dave Poo

Dave Poo

Күн бұрын

In this video i implement tests for ADC (Add with Carry) to get the rest of the addressing modes working. I also do some tidy up and refactoring of the code from the previous episode.
Links:
Source for this project: github.com/davepoo/6502Emulator
Google Test: github.com/google/googletest
6502 Information: www.obelisk.me.uk/6502/
Timestamps
0:00 Intro
0:50 ADC Tidy up
15:27 ADC Immediate
20:31 ADC Zero Page
21:35 ADC Zero Page X
22:13 ADC Absolute X
23:25 ADC Absoute Y
24:15 ADC Indirect X
26:00 ADC Indirect Y
27:13 Closing comments

Пікірлер: 5
@willofirony
@willofirony Жыл бұрын
I suspect that you should be a salesman for GTest. Because you have sold it to me with this video.
@m1geo
@m1geo 8 ай бұрын
7:33 pretty sure you're writing Verilog HDL at this point, with conditionals like that! 🤣
@twobob
@twobob 3 жыл бұрын
Neat refactoring of the refactoring
@dbaznr
@dbaznr 3 жыл бұрын
Grate job! Perhaps should be better update the A REG using a propriate sub, avoiding so the redundant code about setting FLAGs.
@jorenheit
@jorenheit 3 жыл бұрын
Don't you need (Condition) in the macro? Now it will evaluate to !Flag.D == false, when you meant !(Flag.D == false). Works in this case, but will fail for more complicated conditions. Or did you fix this later perhaps?
Emulating a CPU in C++ #23 (6502) - CMP Immediate
22:10
Dave Poo
Рет қаралды 3,1 М.
Basics - 6502 Assembly Crash Course 01
12:49
NesHacker
Рет қаралды 105 М.
Лизка заплакала смотря видео котиков🙀😭
00:33
蜘蛛侠这操作也太坏了吧#蜘蛛侠#超人#超凡蜘蛛
00:47
超凡蜘蛛
Рет қаралды 41 МЛН
I Designed My Own 16-bit CPU
15:46
AstroSam
Рет қаралды 1,8 МЛН
5 Coding Projects (from beginner to advanced)
18:10
ForrestKnight
Рет қаралды 270 М.
How I Plan My Coding Projects
11:48
ForrestKnight
Рет қаралды 315 М.
Svelte 5: Compiler, Signals, and Web App Performance - JSJ 627
1:21:52
Bjarne Stroustrup: C++ | Lex Fridman Podcast #48
1:47:13
Lex Fridman
Рет қаралды 1 МЛН
Can you solve this Oxford admissions question?
8:18
MindYourDecisions
Рет қаралды 56 М.