aboutsummaryrefslogtreecommitdiff
path: root/src/ubox/ubox_set_tiles.z80
blob: 726eaae78e9727969cb22d6675ff56994a1fa07b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.globl _ubox_set_tiles

LDIRVM = 0x005c
BG_TILES = 0x0

_ubox_set_tiles::
	ld de, #BG_TILES
	ld bc, #256 * 8
	push hl
	call LDIRVM
	pop hl

	ld de, #BG_TILES + #256 * 8
	ld bc, #256 * 8
	push hl
	call LDIRVM
	pop hl

	ld de, #BG_TILES + #256 * 8 * 2
	ld bc, #256 * 8
	jp LDIRVM