summaryrefslogtreecommitdiff
path: root/src/ubox/ubox_wvdp.z80
blob: 90dfc864f09417f830a9b1192129f882556dece0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.globl _ubox_wvdp

WRITEVDP = 0x0047

_ubox_wvdp::
	ld hl, #2
	add hl, sp

	ld c, (hl)
	inc hl
	ld b, (hl)
	call WRITEVDP
	ret