Live Coding: Creating a 6502 emulator

preview_player
Показать описание
We shall create a C++ 6502 CPU emulator from scratch.
I mean, really. From scratch.
We'll actually start with an empty editor window.

I'd like to thank my Patreon BBC Micro level supporter, Yehuda T. Deutsch.

Waiting to start - 00:00
Basic setup - 02:57
Empty editor screen - 03:39
Create a skeleton class - 04:38
Structure of emulator - 06:49
Defining a constructor - 08:02
Main loop - 09:52
Opcode decode strategies - 14:23
Checking an authoritative reference - 18:48
Program structure begins to form - 21:49
Implementing the second opcode - 26:04
Another quick opcode - 30:57
A read-modify-write command - 34:49
Updating the status register - 40:45
Implementing ROL - 46:57
Implementing absolute addressing - 50:03
We forgot to update the condition codes - 52:44
The power of combinations - 57:24
Stack operations: push A - 59:09
Pull A - 1:04:13
Closing thoughts - 1:08:47
Рекомендации по теме
visit shbcf.ru