CHIP8 emulation crashes

Discussion in 'Computer Programming, Emulation, and Game Modding' started by xeraxon, Jan 2, 2017.

  1. xeraxon
    OP

    xeraxon Newbie

    Newcomer
    1
    0
    Jan 2, 2017
    Nauru
    Hello. I made chip8 emulator to learn some emulation and C++ (https://github.com/xarexon/chip8emu). It can play space invaders but some games make it crash (gfx array out of bounds, bogus X or Y) in draw command (0xDXYN). I looked at some other implementations and couldn't find what's wrong.

    Animal Race doesn't show characters correctly. I'm pretty sure there is a javascript emu that shows them correctly but few other fail to show too.
    VBRIX sometimes doesn't draw the ball to upper left corner when starting new game, and crashes sometime after you start game.

    So my question is, am I overlooking something or is it some bug that needs to be emulated?