Skip to content
0:00 / 0:00

#gameboy#assembler#assembly

I wrote a GameBoy game in TypeScript (And it runs on real hardware!)

Low Byte Productions

87K subscribers • 18 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Francis Stokes, creator of Low Byte Productions
  • Linked in the descriptionfrancisrstokes/tega

Advanced. Deep dive for people who know the field.

17K views3 years ago1 recommendation

Systems programmingGame developmentTypeScriptRetro games and consolesEmbedded systems

Francis Stokes demonstrates how to write a GameBoy game in TypeScript by building a custom macro assembler and targeting real hardware.

=[ 🔗 Links 🔗 ]= 💌 Updates to your inbox: tinyletter.com/lowleveljavascript 🗣 Discord: discord.gg/FPWaVgk ⭐️ Patreon: patreon.com/lowleveljavascript 💻 Github Repo (emulator): github.com/francisrstokes/tega – Intro – Demo on real hardware – TEGA Overview – Modules! No linker required – Loads, Stores, and instruction representability – Arithmetic and Logic – Jumps, Labels, and Branches – Macro abstraction examples – Building a ROM – The GameBoy Memory Map – Block Jump Code Overview – Tile graphics – The DMA routine, and virtual symbol offsets – Setting up the LCD screen – Organising values in RAM – Setting up OAM – Setting up the player character and obstacle structs – The main game loop – Random Number Generation – Game State Machine – Jump Physics – Compression: Encoding side – Compression: Decoding side – Running and Debugging in an emulator – Outro

Why it's here

1 person recommends this

What people say. Highly recommended for its deep dive into GameBoy architecture, custom assemblers, and low-level programming using TypeScript.

u/FrancisStokesin r/typescript • Recommends

Writing a GameBoy game in TypeScript that runs on real hardware: A dive into building assemblers, console architecture, and good old fashioned resource constrained computing