; Test code - used with a CLEAR line to resist a new
;
; $Id: reset.asm,v 1.1 2004/08/22 22:51:39 ianc Exp $
;
	org	32768

	ld	d,8
loop:
	ld	bc,6912
	ld	hl,16384

loop1:
	ld	a,r
	out	(0xfe),a
	inc	(hl)
	inc	hl
	dec	c
	jr	nz,loop1
	djnz	loop1

	dec	d
	jr	nz,loop
	ret
