GERLA.CC

TutorialTutorials

Piccole guide su come si costruisce davvero un gioco per le macchine retro: teoria semplice, calata sulle macchine che uso, Commodore 64, Mega Drive e Game Boy Advance, e spiegata col codice. Ogni pezzo è raccontato in parole semplici, e qualcuno ha anche un video. Small guides on how a game for retro machines is actually built: simple theory, grounded in the machines I use, Commodore 64, Mega Drive and Game Boy Advance, explained with code. Every piece is told in plain words, and some come with a video.

Commodore 64 · con video

Gli sprite del C64, spiegati mettendoli in stradaC64 sprites, explained by putting them on the road

Otto disegni che il chip video sposta da solo, la griglia 24×21, il colore che ti tocca e i due in prestito, l'ombra calcolata invece che disegnata, e perché la strada non è uno sprite. Con un video e un test giocabile. Eight drawings the video chip moves on its own, the 24×21 grid, the colour you own and the two you borrow, the shadow computed instead of drawn, and why the road isn't a sprite. With a video and a playable test.

07 · 09 · 2026
Game Boy Advance

La luce che faceva ombraThe light that cast a shadow

Il GBA non ha un motore di luci: ha un sommatore. Come fonde due strati, perché un cono marrone scurisce il muro invece di illuminarlo, e perché mettere gli sprite fra i bersagli li fonde tutti. The GBA has no lighting engine: it has an adder. How it blends two layers, why a brown cone darkens the wall instead of lighting it, and why putting sprites among the targets blends every one of them.

03 · 09 · 2026
Game Boy Advance

Compila, gira, e non funzionaIt compiles, it runs, it doesn't work

Variabili che vivono in ROM, un ramo di codice scritto due volte, tessere che si pestano i piedi, edera che cresce dove non deve e memoria video che finisce senza avvisare. Cinque guasti che non danno nessun errore. Variables living in ROM, a branch of code written twice, tiles treading on each other, ivy growing where it shouldn't and video memory running out without warning. Five faults that raise no error at all.

03 · 09 · 2026
Mega Drive · asm + C

Assembler e C, perché tutti e due?Assembler and C, why both?

Perché un gioco Mega Drive si scrive un po' in assembler e un po' in C? Spiegato in modo semplice, con esempi: CPU, compilatore, stack, vettori. Why is a Mega Drive game written partly in assembler and partly in C? Explained simply, with examples: CPU, compiler, stack, vectors.

18 · 07 · 2026
6502 asm · 68000 asm

Il ciclo di vita di un giocoThe life cycle of a game

Avvio, schermata home e attesa dell'input, vite, game over, salvataggio del record e ritorno. L'anello che tiene in piedi qualunque gioco, mostrato riga per riga su C64 e Mega Drive. Boot, title screen and input wait, lives, game over, saving the record and return. The loop that holds up any game, shown line by line on the C64 and Mega Drive.

18 · 07 · 2026