; This is just a reminder of how I originally thought it up. ; Write letters to the RAM (A, g, i, l, o). string: .db "Agilo" movw x1, string movb [x1], 0x41 inc x1 movb [x1], 0x67 inc x1 movb [x1], 0x69 inc x1 movb [x1], 0x6C inc x1 movb [x1], 0x6F ; Point HL to the Tile Map data. movw HL, 0x1360 ; Read letters from RAM and assign tileblocks to the value of them. movb a, [string+0] sub a, 32 movb [HL], a inc HL movb a, [string+1] sub a, 32 movb [HL], a inc HL movb a, [string+2] sub a, 32 movb [HL], a inc HL movb a, [string+3] sub a, 32 movb [HL], a inc HL movb a, [string+4] sub a, 32 movb [HL], a ; Store the address of the image in the memory address register. movw x1, charmap ; Write the address to a register of the LCD so the PM knows where to look. movw [0x2082], x1