SimpleTest.asm
flypie_Ace-2019/testrom/Original Test/SimpleTest.asm
	CPU = Z180

	di
	ld hl,02800h	;Font
;	ld hl,02C00h
	ld a,0
;	ld a,55h
char2:
	ld b,8
char1:
	ld (hl),a
;	xor 0FFh
	inc hl
	djnz char1
	inc a
	cp 080h
	jr nz,char2

	ld hl,2000h
;	ld hl,2400h		;VIDRAM
	ld c,24
scry:
	ld b,32
scrx:
;	ld (hl),0
	ld (hl),l
	inc hl
	djnz scrx
	dec c
	jr nz,scry

	ld	bc,10
	ld hl,2000h
;	ld hl,2400h		;VIDRAM
noper:
	inc bc
	ld  a,0
	cp b
	jr nz,skip
	cp c
	jr nz,skip
	ld	a,(hl)
	xor 41h
	ld	(hl),a

	inc (hl)
skip:
	nop
	jr noper

