News for hackers. Stuff that matters.
Re:Octojam 7: The CHIP-8 game jam by meheleventyone on Wednesday September 23, 2020 @04:05PM (#24571334)
I believe i is a register that in this case points to the location of the sprite data used by the sprite command. In this case the data represents the pixels of the ball.
Re:Octojam 7: The CHIP-8 game jam by RodgerTheGreat on Wednesday September 23, 2020 @04:18PM (#24571481)
That's correct. The index register is implicitly used by the CHIP-8 instructions Octo calls `sprite`, `bcd`, `load`, and `store`.