Difference between revisions of "Tutorials"

From GbdevWiki
Jump to: navigation, search
(Assembly Language Programming)
(ASM: ISSOtm made a multibyte constant macro)
 
(39 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 +
== General ==
 +
[[Don't hardcode OAM addresses]] - Pretty much what it says on the tin.
  
==  Assembly Language Programming ==
+
[[Watermarking]] - How to watermark an ASM program (can be applied to C, but not as easily)
Machine and assembly language programming concepts that illustrate basic principles and techniques. Application through study of the Z80 chip and Gameboy programming assignments.
+
Wichita State University
+
  
http://cratel.wichita.edu/cratel/ECE238Spr08
+
[[GBC dual compatibility]] - When a GBC-only game is reasonable, and when it's an excuse
 +
 
 +
[http://belial.blarzwurst.de/gbpaper/paper.pdf Paper by Belial] - Quick description of the Game Boy hardware and GBDK programming
 +
 
 +
== ASM ==
 +
Work-in-progress tutorial: [https://eldred.fr/gb-asm-tutorial GB ASM Tutorial] by [[User:ISSOtm|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: [http://gameboy.mongenel.com/asmschool.html ASMSchool]
 +
 
 +
[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.
 +
 
 +
[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.
 +
 
 +
[[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 [[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/gzT47MPJ  Just another simple GBDK tutorial]
 +
 
 +
Originally from [http://www.devrs.com/gb/docs.php#tutor Gameboy Dev'rs], links since broken.
 +
 
 +
Japanese tutorials covering GBDK:<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://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 Full-Screen Images]]
 +
 
 +
Video tutorial on GBDK programming:
 +
[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]
 +
 
 +
[[ZGB Installation Tutorial]] A game engine for the Game Boy
 +
 
 +
[https://www.youtube.com/playlist?list=PLeEj4c2zF7PaFv5MPYhNAkBGrkx4iPGJo YouTube series on GDBK for beginners ]

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