pushfoo / eightdad

A Chip-8 interpreter in python that may include other tools in the future
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Fix the 84 NO / int overflow failure on Corax's test rom #54

Closed pushfoo closed 4 years ago

pushfoo commented 4 years ago

This test appears to check whether integers wrap correctly:

#test 8xy4
y := 26
drawop im8 im4
i := imagefalse
v6 := 140
v7 := 140
v7 += v6
if v7 == 24 then i := imageok
sprite x2 y 4

It's probably broken clamping. It may also require altering tests.