38:14RAM and bus timing — 6502 part 6
Ben Eater634K views
Adding RAM to the 6502 computer and working through bus timing diagrams from the datasheet.
267,244 videos · Algorithms, systems, security, machine learning and building software.
38:14634K views
Adding RAM to the 6502 computer and working through bus timing diagrams from the datasheet.
16:01775K views
Edge-triggered D flip-flops: how an RC edge detector turns a latch into something that changes only on the clock edge.
43:541.86M views
How reliable data transmission works: framing, errors, acknowledgements and retransmission.
33:00838K views
The SPI serial bus explained with a logic analyzer: clock, MOSI, MISO and chip select.
15:10531K views
Designing the arithmetic logic unit for the 8-bit computer, using adders and two's-complement subtraction.
9:36527K views
Bus architecture and how register transfers work in his 8-bit breadboard computer.
9:16
28:101.29M views
Connecting a character LCD to the 6502 computer through a VIA chip and driving it from assembly.

Advanced55.6K views
Will Wilson explains how FoundationDB was tested by running the whole distributed database inside a deterministic simulator that injects failures reproducibly.

1.09M views
Raymond Hettinger shows how to turn clunky Python into idiomatic Python: looping, dictionaries, unpacking, context managers.
17:542.19M views
Sebastian Lague simulates ant colonies and slime-mould networks, explaining the agent rules and the GPU techniques that make them fast.
47:30696K views
How cyclic redundancy checks (CRCs) detect transmission errors, from polynomial division to hardware.
34:153.76M views
How a USB keyboard communicates with a computer: low-level USB signalling, decoded with an oscilloscope.
37:18384K views
Ben Eater walks through Steve Wozniak's original Apple 1 monitor program (WozMon), line by line.
27:521.46M views
Designing the control logic of an 8-bit breadboard computer: how microcode steps drive each instruction.
27:36665K views
How hardware interrupts work on the 6502: IRQ and NMI, interrupt handlers and their pitfalls.
13:023.12M views
How transistors are combined into AND, OR, NOT and other logic gates, demonstrated on a breadboard.
18:20579K views
What it means for a computer to be Turing complete, using his breadboard computer as the example.
15:351.17M views
Writing assembly for the 6502 breadboard computer and how assembly maps to machine code.
13:394.61M views
Ben Eater builds a 4-bit binary adder from logic gates on a breadboard and explains how carries propagate.
29:224.29M views
Writing a chess engine: board representation, move generation, minimax search and alpha-beta pruning.
16:59661K views
Step-by-step walk through a TLS 1.3 handshake: key shares, certificates and how a secure session starts.
22:481.98M views
Generating procedural planets and moons: noise, craters, terrain shaping and shading.
20:52548K views
Depth-first search: the algorithm, its recursion, examples and code, including cycle detection and topological sort.

457K views
Inigo Quilez paints a 3D character entirely with maths in a shader, using signed distance functions, smooth blending and lighting step by step.
41:40678K views
Simulating smoke with a grid-based fluid solver: advection, pressure projection and rendering.
1:01:011.31M views
Improving a chess engine: transposition tables, move ordering, iterative deepening and search extensions.
28:05Intro539K views
Building a collision simulation: particle motion, collision detection, response and spatial partitioning.
58:41954K views
Rendering simulated fluids: surface reconstruction, refraction and ray marching through particle data.
11:392.27M views
A* pathfinding explained: G, H and F costs and how the open and closed sets evolve.
16:061.49M views
Implementing portals in a game engine: camera transforms, oblique clipping and recursion.
22:001.34M views
Rendering a planet's atmosphere with ray marching and light scattering.
50:09641K views
Writing a software rasterizer from scratch: triangles, depth buffers, perspective projection and texturing.
43:31717K views
How digital sound works, building up to the discrete Fourier transform by coding it from scratch.
54:512.25M views
Coding a neural network from scratch to recognise doodles: layers, backpropagation and training tricks.
21:271.52M views
A framework for solving dynamic programming problems, with worked examples.