summaryrefslogtreecommitdiff
path: root/src/ubox/ubox_write_vm.z80
blob: 3d6606b11bf768a5bc531944e615e233c1bf5723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.globl _ubox_write_vm

LDIRVM = 0x005c

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

	ld e, (hl)
	inc hl
	ld d, (hl)
	inc hl
	ld c, (hl)
	inc hl
	ld b, (hl)
	inc hl
	ld a, (hl)
	inc hl
	ld h, (hl)
	ld l, a

	jp LDIRVM