Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 03 · How Computers Work · Many programs, one machine · about 14 min to read

Play it as a journeyTutor comes with a plan

Capstone: Keypress → Pixel

Capstone Keypress to Pixel
Capstone Keypress to Pixel · Open board

The finale of the track: one keypress, traced through every rung this track built, from the switch under the key to the pixel it finally lights.

Before you start. The lesson on I/O, interrupts and the bus gave you the last piece: a device raises a flag instead of waiting to be asked, and a DMA controller moves data around without the CPU touching it. This lesson adds no new piece. It sends one keypress up every rung you already have, in order, and times the whole trip.

Lesson 15 of 41 in How Computers Work

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • 9 December 1968: a room that had never seen it before
  • The switch closes
  • The kernel is yanked in
  • A number that isn’t in RAM
  • 0x41, and a sleeping program wakes
  • The scheduler hands back the CPU
  • Your code runs, and the byte becomes a shape
  • The GPU takes it from there
  • It was never a letter
  • Where next

Terms it explains: scancode, interrupt, context switch, framebuffer, DMA, DSA, Applied Security, How LLMs Work, nand2tetris, Ben Eater's breadboard CPU.

Review How Computers Work