[go: up one dir, main page]

Menu

[r65]: / psrp / asm / tx4.asm  Maximize  Restore  History

Download this file

30 lines (23 with data), 625 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
;
; Name entry screen patch to draw extended characters
;
;
; Written in TASM 3.0.1
;
#include "vars.asm"
.org $443e ; $443e-$448b inclusive
; So hl = tilemap data (both bytes)
; b = height /tiles
; c = 2*width /tiles
; de = VRAM location
; OutputTilemapRawDataBox: ; $0428
call $03de ; the call I stole to get here
ld bc,$010e ; 14 bytes per row, 1 row
ld de,$7bec ; Tilemap location 22,15
ld hl,data
call $0428 ; output raw tilemap data
ret
data:
.dw $07f5,$01f4,$01fa,$01fb,$01f6,$01f5,$01f7
; , : - ! ? left' right'
.end ; tasm-only