Live Coding: Creating a 6502 emulator

  Рет қаралды 1,106

Some Assembly required

Some Assembly required

Күн бұрын

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.
You, too, can support my work on Patreon: / compusar
Discord server invite: / discord
Code written during the stream is available at github.com/CompuSAR/sar1541
visual6502 site: visual6502.org
WDC datasheet: www.westerndesigncenter.com/w...
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

Пікірлер
Live Coding: Automatic creation of a test plan
1:21:22
Some Assembly required
Рет қаралды 313
FPGA Concepts Part 1: Ye Olden Days
27:53
Some Assembly required
Рет қаралды 2,7 М.
Which one is the best? #katebrush #shorts
00:12
Kate Brush
Рет қаралды 12 МЛН
Ну Лилит))) прода в онк: завидные котики
00:51
A 6502 Simulator Mystery - Solved!
12:30
Tea Leaves
Рет қаралды 34 М.
Delivering Safe C++ - Bjarne Stroustrup - CppCon 2023
1:29:16
Joscha at Microsoft
48:46
Simuli
Рет қаралды 2,8 М.
Live: Writing microcode for an FPGA 6502
1:07:26
Some Assembly required
Рет қаралды 7 М.
Emulation Fundamentals - Writing A Basic x86 Emulator
26:53
Live: Writing microcode for an FPGA 6502 - Branches
1:32:06
Some Assembly required
Рет қаралды 476
Nostalgia on a chip - CppCon 2023 Open content talk
1:01:31
Some Assembly required
Рет қаралды 359
Winning Facebook (Meta) Hacker Cup Qual Round 2022?
53:55
Neal Wu
Рет қаралды 2,3 МЛН