Difference between revisions of "Tutorials"

From GbdevWiki
Jump to: navigation, search
(GBDK)
(ASM: ISSOtm made a multibyte constant macro)
 
(18 intermediate revisions by 7 users not shown)
Line 1: Line 1:
== Assembly Language Programming ==
+
== General ==
Machine and assembly language programming concepts that illustrate basic principles and techniques. Application through study of the Z80 chip and Gameboy programming assignments.
+
[[Don't hardcode OAM addresses]] - Pretty much what it says on the tin.
Wichita State University
+
  
http://cratel.wichita.edu/cratel/ECE238Spr08
+
[[Watermarking]] - How to watermark an ASM program (can be applied to C, but not as easily)
  
== Tutorials written for gbdev.gg8 ==
+
[[GBC dual compatibility]] - When a GBC-only game is reasonable, and when it's an excuse
=== GBDK ===
+
[[GBDK Sprite Tutorial]] An exhaustive explanation of basic sprite functions in GBDK, building up from fundamentals
+
[[GBDK Joypad Tutorial]] Using the joypad and associated functions to check button input
+
  
== 8-Bit Wonderland ==
+
[http://belial.blarzwurst.de/gbpaper/paper.pdf Paper by Belial] - Quick description of the Game Boy hardware and GBDK programming
  
Executing custom code on the Nintendo Game Boy
+
== ASM ==
A nice tutorial covering the basics of designing hardware and software for the GameBoy.
+
Work-in-progress tutorial: [https://eldred.fr/gb-asm-tutorial GB ASM Tutorial] by [[User:ISSOtm|ISSOtm]].
  
http://belial.blarzwurst.de/gbpaper/paper.pdf
+
[[OAM DMA tutorial]]
  
Written by Belial
+
[[Struct]] - A discussion of what structs are, how to use them, and how to efficiently manipulate them.
belial@apocalypsys.net
+
  
 +
[[Equivalents to 6502 instructions]]
  
== Tutorial de ensamblador ==
+
[[Add 8-bit to 16-bit]] and [[Extend 8-bit to 16-bit]]
  
A (work in progress) tutorial of GameBoy assembly programming written in spanish.
+
Unfinished tutorial by Duo: [http://gameboy.mongenel.com/asmschool.html ASMSchool]
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
+
[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.
  
a english translation can be found here:
+
[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.
http://92.19.232.58:82/files/tutorial_de_ensamblador%20%5BLa%20decadence%5D.html
+
  
Written by David Pello:
+
[[Serial Communication (Link Cable) Tutorial]]
zako_AT_ladecadence_DOT_net
+
  
== Old Rare Tutorials ==
+
[[Multibyte constant]]
  
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 ==
 +
[[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 [[GBDK Sprite Tutorial|Sprite Tutorial]] that implements colors
 +
 
 +
[[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 42: 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] |
== Video Tutorial ==
+
[http://www.youtube.com/watch?v=GVhZwgJ0v-g Part 3] |
Part 1
+
[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=MOKq3gSkQE4
+
[http://www.youtube.com/watch?v=uqd3ALIcVu0 Part 6] |
 
+
[http://www.youtube.com/watch?v=zw1jReUtLAc Part 7] |
http://92.19.232.58:82/videos/GBDK_tutorials/html/gb_tut_1.html
+
[http://www.youtube.com/watch?v=RozM-9f4jO0 Part 8]
 
+
Part 2
+
 
+
http://www.youtube.com/watch?v=K9ZiMTlnNTw
+
 
+
http://92.19.232.58:82/videos/GBDK_tutorials/html/gb_tut_2.html
+
 
+
Part 3
+
 
+
http://www.youtube.com/watch?v=GVhZwgJ0v-g
+
 
+
http://92.19.232.58:82/videos/GBDK_tutorials/html/gb_tut_3.html
+
 
+
Part 4
+
 
+
http://www.youtube.com/watch?v=l2O_6XWHvXY
+
 
+
http://92.19.232.58:82/videos/GBDK_tutorials/html/gb_tut_4.html
+
 
+
Part 5
+
 
+
http://www.youtube.com/watch?v=7zyfm-Zzb84
+
 
+
http://92.19.232.58:82/videos/GBDK_tutorials/html/gb_tut_5.html
+
 
+
Part 6
+
 
+
http://www.youtube.com/watch?v=uqd3ALIcVu0
+
 
+
http://92.19.232.58:82/videos/GBDK_tutorials/html/gb_tut_6.html
+
 
+
Part 7
+
 
+
http://www.youtube.com/watch?v=zw1jReUtLAc
+
 
+
http://92.19.232.58:82/videos/GBDK_tutorials/html/gb_tut_7.html
+
 
+
Part 8
+
 
+
http://www.youtube.com/watch?v=RozM-9f4jO0
+
 
+
http://92.19.232.58:82/videos/GBDK_tutorials/html/gb_tut_8.html
+
  
Part 9
+
[[ZGB Installation Tutorial]] A game engine for the Game Boy
TBA
+
  
Part 10
+
[https://www.youtube.com/playlist?list=PLeEj4c2zF7PaFv5MPYhNAkBGrkx4iPGJo YouTube series on GDBK for beginners ]
TBA
+

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