Trevor Merritt e29ac45c84 scroll down works on CHIP-8 and High-Res modes
scroll left and right work in stdef and hidef
adds octo test roms
adds schip fonts to memory
2024-10-27 11:41:25 -04:00

33 lines
440 B
Plaintext

###########################################
#
# Collision Detection Test
#
# Draws two overlapping sprites and
# displays the contents of the vF register.
# Should print "1".
#
###########################################
: square
0b11110000
0b11110000
0b11110000
0b11110000
: main
v0 := 20
v1 := 10
i := square
sprite v0 v1 4
v0 += 2
v1 += 2
sprite v0 v1 4
v2 := vf
v0 += 10
i := hex v2
sprite v0 v1 5
loop again