Difference between revisions of "Tutorials"

From GbdevWiki
Jump to: navigation, search
(Video Tutorial: Remove broken links)
(ASM: ISSOtm made a multibyte constant macro)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==  Assembly Language Programming ==
+
== General ==
Work-in-progress tutorial: [https://eldred.fr/gb-asm-tutorial GB ASM Tutorial] by [[User:ISSOtm|ISSOtm]].
+
 
+
Unfinished tutorial by Duo: [http://gameboy.mongenel.com/asmschool.html ASMSchool]
+
 
+
== Tutorials written for gbdev.gg8 ==
+
=== General advice ===
+
 
[[Don't hardcode OAM addresses]] - Pretty much what it says on the tin.
 
[[Don't hardcode OAM addresses]] - Pretty much what it says on the tin.
  
=== GBDK ===
+
[[Watermarking]] - How to watermark an ASM program (can be applied to C, but not as easily)
[[GBDK Sprite Tutorial]] An exhaustive explanation of basic sprite functions in GBDK, building up from fundamentals
+
  
[[GBDK Color Tutorial]] An extension of the [[GBDK Sprite Tutorial|Sprite Tutorial]] that implements colors
+
[[GBC dual compatibility]] - When a GBC-only game is reasonable, and when it's an excuse
  
[[GBDK Joypad Tutorial]] Using the joypad and associated functions to check button input
+
[http://belial.blarzwurst.de/gbpaper/paper.pdf Paper by Belial] - Quick description of the Game Boy hardware and GBDK programming
  
== 8-Bit Wonderland ==  
+
== ASM ==
 +
Work-in-progress tutorial: [https://eldred.fr/gb-asm-tutorial GB ASM Tutorial] by [[User:ISSOtm|ISSOtm]].
  
Executing custom code on the Nintendo Game Boy
+
[[OAM DMA tutorial]]
A nice tutorial covering the basics of designing hardware and software for the GameBoy.
+
  
http://belial.blarzwurst.de/gbpaper/paper.pdf
+
[[Struct]] - A discussion of what structs are, how to use them, and how to efficiently manipulate them.
  
Written by Belial
+
[[Equivalents to 6502 instructions]]
belial@apocalypsys.net
+
  
 +
[[Add 8-bit to 16-bit]] and [[Extend 8-bit to 16-bit]]
  
== Tutorial de ensamblador ==
+
Unfinished tutorial by Duo: [http://gameboy.mongenel.com/asmschool.html ASMSchool]
  
A (work in progress) tutorial of GameBoy assembly programming written in spanish.
+
[http://wiki.ladecadence.net/doku.php?id=tutorial_de_ensamblador Tutorial de Ensamblador] - Spanish tutorial ([https://gb-archive.github.io/salvage/tutorial_de_ensamblador/tutorial_de_ensamblador%20%5BLa%20decadence%5D.html translated to English]) by David Pello <zako_AT_ladecadence_DOT_net>, be careful as it has a lot of bad practice.
It covers the basics and using some of the GameBoy hardware like mappers, timer, etc.
+
  
http://wiki.ladecadence.net/doku.php?id=tutorial_de_ensamblador
+
[https://imanoleasgames.blogspot.com.es/2016/12/games-aside-1-super-game-boy.html RGBDS Super Game Boy tutorial] Works on the implementation of Super Game Boy functionalities in an existing template program.
  
a english translation can be found here:
+
[[Serial Communication (Link Cable) Tutorial]]
https://avivace.ovh/apps/gbdev/salvage/tutorial_de_ensamblador%20%5bLa%20decadence%5d.html
+
  
Written by David Pello:
+
[[Multibyte constant]]
zako_AT_ladecadence_DOT_net
+
  
== Super Game Boy development (step by step) ==
+
== GBDK ==
 +
[[GBDK Map Tutorial]]
  
[https://imanoleasgames.blogspot.com.es/2016/12/games-aside-1-super-game-boy.html RGBDS Super Game Boy tutorial] Works on the implementation of Super Game Boy functionalities in an existing template program.
+
[[GBDK Sprite Tutorial]] An exhaustive explanation of basic sprite functions in GBDK, building up from fundamentals
  
== Old Rare Tutorials ==
+
[[GBDK Color Tutorial]] An extension of the [[GBDK Sprite Tutorial|Sprite Tutorial]] that implements colors
  
These tutorials have been resurrected with the help of archive.org, and "The Way-Back Machine". Please note that these tutorials are extremely old, but good at getting a foundation in GBDK programming.
+
[[GBDK Joypad Tutorial]] Using the joypad and associated functions to check button input
  
 
[http://pastebin.com/F3tHLj68  How to Write a Simple Side Scrolling Game in GBDK Written Really F**king Simply (sic)]
 
[http://pastebin.com/F3tHLj68  How to Write a Simple Side Scrolling Game in GBDK Written Really F**king Simply (sic)]
Line 51: Line 42:
 
[http://pastebin.com/gzT47MPJ  Just another simple GBDK tutorial]
 
[http://pastebin.com/gzT47MPJ  Just another simple GBDK tutorial]
  
Originally from Gameboy Dev'rs, links since broken. [http://www.devrs.com/gb/docs.php#tutor]
+
Originally from [http://www.devrs.com/gb/docs.php#tutor Gameboy Dev'rs], links since broken.
  
== Japanese Tutorials ==
 
 
Japanese tutorials covering GBDK:<br>
 
Japanese tutorials covering GBDK:<br>
[http://homepage2.nifty.com/Hamuko/gbdk22.html Page 1]<br>
+
[http://homepage2.nifty.com/Hamuko/gbdk22.html Page 1] ([http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=ja&tl=en&u=http%3A%2F%2Fhomepage2.nifty.com%2FHamuko%2Fgbdk22.html Translated to English])<br>
[http://homepage2.nifty.com/Hamuko/gbdk23.html Page 2]
+
[http://homepage2.nifty.com/Hamuko/gbdk23.html Page 2] ([http://translate.google.com/translate?hl=en&sl=ja&tl=en&u=http%3A%2F%2Fhomepage2.nifty.com%2FHamuko%2Fgbdk23.html Page 2 Translated to English])
<br>
+
[http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=ja&tl=en&u=http%3A%2F%2Fhomepage2.nifty.com%2FHamuko%2Fgbdk22.html Page 1 Translated to English]<br>
+
[http://translate.google.com/translate?hl=en&sl=ja&tl=en&u=http%3A%2F%2Fhomepage2.nifty.com%2FHamuko%2Fgbdk23.html Page 2 Translated to English]
+
  
== Displaying A Full-Screen Image==
 
 
[[Displaying Full-Screen Images]]
 
[[Displaying Full-Screen Images]]
  
== Serial Communication (Link Cable) Tutorial ==
+
Video tutorial on GBDK programming:
A complete tutorial that would help you to achieve a 2 Players mode for your Game Boy game: [[Serial Communication (Link Cable) Tutorial]]
+
[http://www.youtube.com/watch?v=MOKq3gSkQE4 Part 1] |
 +
[http://www.youtube.com/watch?v=K9ZiMTlnNTw Part 2] |
 +
[http://www.youtube.com/watch?v=GVhZwgJ0v-g Part 3] |
 +
[http://www.youtube.com/watch?v=l2O_6XWHvXY Part 4] |
 +
[http://www.youtube.com/watch?v=7zyfm-Zzb84 Part 5] |
 +
[http://www.youtube.com/watch?v=uqd3ALIcVu0 Part 6] |
 +
[http://www.youtube.com/watch?v=zw1jReUtLAc Part 7] |
 +
[http://www.youtube.com/watch?v=RozM-9f4jO0 Part 8]
  
== Video Tutorial ==
+
[[ZGB Installation Tutorial]] A game engine for the Game Boy
Part 1
+
  
http://www.youtube.com/watch?v=MOKq3gSkQE4
+
[https://www.youtube.com/playlist?list=PLeEj4c2zF7PaFv5MPYhNAkBGrkx4iPGJo YouTube series on GDBK for beginners ]
 
+
Part 2
+
 
+
http://www.youtube.com/watch?v=K9ZiMTlnNTw
+
 
+
Part 3
+
 
+
http://www.youtube.com/watch?v=GVhZwgJ0v-g
+
 
+
Part 4
+
 
+
http://www.youtube.com/watch?v=l2O_6XWHvXY
+
 
+
Part 5
+
 
+
http://www.youtube.com/watch?v=7zyfm-Zzb84
+
 
+
Part 6
+
 
+
http://www.youtube.com/watch?v=uqd3ALIcVu0
+
 
+
Part 7
+
 
+
http://www.youtube.com/watch?v=zw1jReUtLAc
+
 
+
Part 8
+
 
+
http://www.youtube.com/watch?v=RozM-9f4jO0
+
 
+
Part 9
+
TBA
+
 
+
Part 10
+
TBA
+
 
+
== ZGB ==
+
 
+
[[ZGB Installation Tutorial]] A game engine for the Game Boy
+

Latest revision as of 18:12, 26 July 2020

General

Don't hardcode OAM addresses - Pretty much what it says on the tin.

Watermarking - How to watermark an ASM program (can be applied to C, but not as easily)

GBC dual compatibility - When a GBC-only game is reasonable, and when it's an excuse

Paper by Belial - Quick description of the Game Boy hardware and GBDK programming

ASM

Work-in-progress tutorial: GB ASM Tutorial by ISSOtm.

OAM DMA tutorial

Struct - A discussion of what structs are, how to use them, and how to efficiently manipulate them.

Equivalents to 6502 instructions

Add 8-bit to 16-bit and Extend 8-bit to 16-bit

Unfinished tutorial by Duo: ASMSchool

Tutorial de Ensamblador - Spanish tutorial (translated to English) by David Pello <zako_AT_ladecadence_DOT_net>, be careful as it has a lot of bad practice.

RGBDS Super Game Boy tutorial Works on the implementation of Super Game Boy functionalities in an existing template program.

Serial Communication (Link Cable) Tutorial

Multibyte constant

GBDK

GBDK Map Tutorial

GBDK Sprite Tutorial An exhaustive explanation of basic sprite functions in GBDK, building up from fundamentals

GBDK Color Tutorial An extension of the Sprite Tutorial that implements colors

GBDK Joypad Tutorial Using the joypad and associated functions to check button input

How to Write a Simple Side Scrolling Game in GBDK Written Really F**king Simply (sic)

Just another simple GBDK tutorial

Originally from Gameboy Dev'rs, links since broken.

Japanese tutorials covering GBDK:
Page 1 (Translated to English)
Page 2 (Page 2 Translated to English)

Displaying Full-Screen Images

Video tutorial on GBDK programming: Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7 | Part 8

ZGB Installation Tutorial A game engine for the Game Boy

YouTube series on GDBK for beginners