More SGB documentation
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
; macros taken from pokered's data/sgb_packets.asm
|
||||
; names taken from pandocs
|
||||
; http://gbdev.gg8.se/wiki/articles/SGB_Functions#SGB_Palette_Commands
|
||||
|
||||
attr_blk: MACRO
|
||||
db (SGB_ATTR_BLK << 3) + ((\1 * 6) / 16 + 1)
|
||||
@@ -11,6 +13,7 @@ attr_blk_data: MACRO
|
||||
db \5, \6, \7, \8 ; x1, y1, x2, y2
|
||||
ENDM
|
||||
|
||||
|
||||
BlkPacket_9a86:
|
||||
attr_blk 1
|
||||
attr_blk_data %011, 0,0,0, 00,00, 19,17
|
||||
|
Reference in New Issue
Block a user