Game Boy Coding Adventure: Learn Assembly and Master the Original 8-Bit Handheld
暫譯: Game Boy 編程冒險:學習組合語言並精通原版 8 位元掌上型遊戲機

Dagois, Maximilien

  • 出版商: No Starch Press
  • 出版日期: 2025-10-28
  • 售價: $1,760
  • 貴賓價: 9.5$1,672
  • 語言: 英文
  • 頁數: 456
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1718503903
  • ISBN-13: 9781718503908
  • 相關分類: Assembly
  • 尚未上市,無法訂購

商品描述

Talk to the Machine

Game Boy Coding Adventure is a hands-on guide to programming one of the most iconic consoles ever built. And there is magic here: By leveraging the simplified assembly language of this retro machine, you'll learn how to control every aspect of the Game Boy's 8-bit hardware.

As you build tile-based graphics, sprite animations, sound effects, input handling, timers, and more, you'll discover how hardware behaves­--and how software components work together to run interactive programs. Along the way, you'll gain a strong foundation in systems programming, mastering concepts like memory management, registers, interrupts, and I/O.

You'll learn how to:

  • Write and debug assembly using RGBDS, the standard development toolchain
  • Work with tiles, sprites, backgrounds, windows, and color palettes
  • Control sound channels, interrupts, timers, frame pacing, and the joypad
  • Leverage memory banking, DMA, and serial communication for more complex game features
  • Experiment with the Super Game Boy, Game Boy Color, and the Game Boy Printer

Written by a veteran game developer with over 15 years of experience building graphics engines and shipping titles across PC, mobile, and consoles, this book teaches more than just syntax. It takes you back to a simpler platform with a reduced instruction set that's perfect for learning. You'll write assembly code that runs directly on real hardware, see the results immediately, and learn how to debug, optimize, and control every cycle. You'll also build game-ready components and develop a clear understanding of how software and hardware interact.

Why stop now? Slot in the cartridge, flip the switch, and start coding.

商品描述(中文翻譯)

**與機器對話**

《Game Boy Coding Adventure》是一本實作指南,教你如何編程這款最具代表性的遊戲主機之一。這裡有魔法:透過利用這台復古機器的簡化組合語言,你將學會如何控制 Game Boy 的 8 位元硬體的每一個方面。

在你建立基於圖塊的圖形、精靈動畫、音效、輸入處理、計時器等過程中,你將發現硬體的運作方式,以及軟體元件如何協同運作以執行互動程式。在這個過程中,你將獲得系統編程的堅實基礎,掌握記憶體管理、暫存器、中斷和 I/O 等概念。

你將學會如何:
- 使用 RGBDS 這個標準開發工具鏈來編寫和除錯組合語言
- 操作圖塊、精靈、背景、視窗和顏色調色板
- 控制音效通道、中斷、計時器、幀速和遊戲手把
- 利用記憶體銀行、DMA 和串列通訊來實現更複雜的遊戲功能
- 實驗 Super Game Boy、Game Boy Color 和 Game Boy Printer

本書由一位擁有超過 15 年經驗的資深遊戲開發者撰寫,他在 PC、行動裝置和遊戲主機上建立圖形引擎並發行遊戲。本書教的不僅僅是語法,它帶你回到一個更簡單的平台,擁有簡化的指令集,非常適合學習。你將編寫直接在真實硬體上運行的組合語言程式,立即看到結果,並學會如何除錯、優化和控制每一個週期。你還將建立遊戲準備好的元件,並清楚理解軟體與硬體之間的互動。

為什麼要停下來呢?插入卡帶,翻轉開關,開始編程吧。

作者簡介

Maximilien Dagois has over 15 years of experience building graphics as a professional game developer. His credits include Final Fantasy XIV, Dragon Quest Builders, and Pokémon Ranger. Now an engineer at Google, he brings his passion for retro hardware and systems programming to a new generation of coders. He lives in Tokyo.

作者簡介(中文翻譯)

馬克西米連·達戈瓦擁有超過15年的專業遊戲開發經驗,專注於圖形建構。他的作品包括最終幻想 XIV勇者鬥惡龍 建築師寶可夢巡邏隊。目前他在Google擔任工程師,將對復古硬體和系統程式設計的熱情帶給新一代的程式設計師。他居住在東京。