zx_border.asm
bitfixer_bitfixer/dg/z88dk/libsrc/zx81/chroma81/zx_border.asm
; 01.2014 stefano

; void __FASTCALL__ zx_border(uchar colour)

PUBLIC zx_border

zx_border:

	ld a,l
IF FORlambda
	jp 06E7h
ELSE
	and 15
	add	32+16	; 32=colour enabled,  16="attribute file" mode
	ld bc,7FEFh
	out (c),a
	ret
ENDIF
