I wrote a GameBoy game in TypeScript  (And it runs on real hardware!) @LowByteProductions
I wrote a GameBoy game in TypeScript  (And it runs on real hardware!)  @LowByteProductions
Uploaded November 2022 | Updated September 2026, 2 weeks ago
=[ 🔗 Links 🔗 ]=

💌 Updates to your inbox: tinyletter.com/lowleveljavascript
🗣 Discord: discord.gg/FPWaVgk
⭐️ Patreon: patreon.com/lowleveljavascript
💻 Github Repo (emulator): github.com/francisrstokes/tega

00:00:00 – Intro
00:05:23 – Demo on real hardware
00:06:48 – TEGA Overview
00:08:22 – Modules! No linker required
00:11:18 – Loads, Stores, and instruction representability
00:21:05 – Arithmetic and Logic
00:25:17 – Jumps, Labels, and Branches
00:29:45 – Macro abstraction examples
00:39:28 – Building a ROM
00:45:16 – The GameBoy Memory Map
00:56:58 – Block Jump Code Overview
01:05:39 – Tile graphics
01:12:26 – The DMA routine, and virtual symbol offsets
01:19:19 – Setting up the LCD screen
01:23:52 – Organising values in RAM
01:29:22 – Setting up OAM
01:33:34 – Setting up the player character and obstacle structs
01:35:26 – The main game loop
01:38:08 – Random Number Generation
01:42:26 – Game State Machine
01:53:23 – Jump Physics
02:05:43 – Compression: Encoding side
02:12:42 – Compression: Decoding side
02:17:59 – Running and Debugging in an emulator
02:30:50 – Outro
I wrote a GameBoy game in TypeScript  (And it runs on real hardware!)Assembler Hacking: Inline Data And Constants (16-Bit VM in JavaScript 014)Unsigned Numbers! [The Bits And Bytes Of Binary ep. 3]Announcement: The Low Level Jam!Fantasy Console Emulator: System IntegrationFrogger In Assembly: Fantasy Console Part 3Addition In Digital Logic [The Bits And Bytes Of Binary ep. 4]Hardware RISC-V CPU in TypeScript: First StepsCryptographically Signed Firmware :: Bare Metal Programming Series 14Designing A Packet Protocol :: Bare Metal Programming Series 7.1Ints, Uints, and Parsing an IP Packet Header [Parser Combinators From Scratch] Episode 7A parser for every instruction? (16-Bit VM in JavaScript 010)
Low Byte Productions |

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

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER