; testing.inc
; 
.macro stp
	.byte $02
.endmacro
.macro zp_res name,size
	.pushseg
	.segment "ZEROPAGE"
	name:
		.ifblank size
			.res 1
		.else
			.res size
		.endif
	.popseg
.endmacro

.include "neshw.inc"

; ROM parts
.segment "HEADER"
	.byte $4E,$45,$53,26 ; "NES" EOF
	.byte 2,1 ; 32K PRG, 8K CHR
	.byte $01 ; vertical mirroring
.segment "VECTORS"
	.word $FFFF,$FFFF,$FFFF, nmi, reset, irq

.macro patterns_bin name
	.pushseg
	.segment "CHARS"
	.incbin name
	.popseg
.endmacro

.segment "CODE"

