What's new

Chip8: Drawing Sprites

Sodium_Chloride

New member
The emulator I'm making has serious trouble displaying sprites correctly to the console. The games I run on it looks barely recognizable. On Pong, I see three sprites, bunched up with the middle sprite "wiggling" around. This project has been a first for emulation (obviously =p), a serious application of C++ besides "Hello World" programs, and at graphics. I generally did what the Chip8 document asked and only lacked in: some opcodes, user input, sound, fonts, and timers that live up to their name. Right now, I'm stuck. Are the graphics corrupted because my emulator can't do math or is it that I'm not drawing the sprites to the console right? Just telling me where my problem at is plenty enough, I'll do the work. I have lots of pride in my emulator and the skills I applied in making it. I'll appreciate all help and comments, whether positive or negative.

Notes:
-source attached
-I use linux
-you'll find my console graphics very primitive =p
 

Top