~/talk

Building a Gameboy Emulator

Talkat NDC Oslo 2021 · 2021-11-29..12-03· [rust]
slides:none on file

Walks through a line-for-line transliteration of CoffeeGB into C# on .NET Core, showing how headless mode boots real ROMs, how opcodes map to a switch-driven CPU loop, and how pixels are emitted as an integer-packed framebuffer then drawn via WinForms bitmap display. Describes building test harnesses and a memory-hash sync to find the exact CPU tick where two emulators diverge, fixes a regexp-vs-Contains bug in MBC enum handling, and ships an ASCII-art CLI renderer.

AI-written summary · about

  1. 0:00Start
  2. 1:23WHAT IS EMULATION
  3. 5:34OPCODES? CPUS? MACHINE LANGUAGES?
  4. 8:04MEMORY ADDRESSES
  5. 12:04A SINGLE OPCODE
  6. 16:25NO, WHAT'S A GAMEBOY?
  7. 18:24PANS DOCS
  8. 37:00WHAT WAS THE CRASHING BUG?
  9. 43:05EXCEPT/R/PROGRAMMING
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.