Emulating a CPU in C++ #29 (6502) - Rotate Left

  Рет қаралды 2,672

Dave Poo

Dave Poo

Күн бұрын

In this video i implement all the addressing modes for ROL "Rotate Left" instruction, in the 6502 emulator.
Links:
Source for this project: github.com/davepoo/6502Emulator
Google Test: github.com/google/googletest
6502 Information: www.obelisk.me.uk/6502/
Music is from the Arcade version of Toki
Timestamps
0:00 Rotate Left
0:55 Carry in test
2:52 ROL implemented
7:43 Carry out test
9:12 Rotate zero test
10:15 Negative result test
12:14 Zero page tests
13:50 Zero page implemented
17:37 More zero page tests
18:19 Other addressing modes
19:40 Closing comments

Пікірлер: 5
@samba3403
@samba3403 3 жыл бұрын
awesome series.
@thomasfriedrich2001
@thomasfriedrich2001 3 жыл бұрын
Thank you! Inspired me to write an emulator. VIC-20 works meanwhile. PET is more work, for it does a lot of HW diagnosis and requires deeper logic of peripheral controllers. In restropect, I estimate proper function tests as you have done consequently!
@DavePoo
@DavePoo 3 жыл бұрын
Good work!
@tmbarral664
@tmbarral664 3 жыл бұрын
Dave, take care: lsb is bit 0, not 1. We have bit 0 to bit 7.
@DavePoo
@DavePoo 3 жыл бұрын
Yeah, pretty sure i noticed that and changed it later (perhaps not this episode though).
Emulating a CPU in C++ #30 (6502) -  Rotate Right
19:54
Dave Poo
Рет қаралды 2,8 М.
NES Emulator Part #2: The CPU (6502 Implementation)
1:07:12
javidx9
Рет қаралды 408 М.
Сын Расстроился Из-за Новой Стрижки Папы 😂
00:21
Глеб Рандалайнен
Рет қаралды 5 МЛН
船长被天使剪成光头了?#天使 #小丑 #超人不会飞
00:28
超人不会飞
Рет қаралды 25 МЛН
【獨生子的日常】让小奶猫也体验一把鬼打墙#小奶喵 #铲屎官的乐趣
00:12
“獨生子的日常”YouTube官方頻道
Рет қаралды 82 МЛН
lvalues and rvalues in C++
14:13
The Cherno
Рет қаралды 296 М.
Optimising Code - Computerphile
19:43
Computerphile
Рет қаралды 136 М.
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 155 М.
#1 How to Build a Virtual Machine from Scratch
31:09
Philip Bohun
Рет қаралды 57 М.
My OrangeStorm Giga is Dead
13:59
3D Printing Nerd
Рет қаралды 45 М.
Stable Diffusion in Code (AI Image Generation) - Computerphile
16:56
Computerphile
Рет қаралды 279 М.
You don't need libraries to write a game engine in C++ | OpenGL | Devlog
2:50