Emulation of the 1970's Chip-8 machine. The emulator has 7 games that are unmodified from the original Chip-8 format.

Dependencies:   mbed

TetrisGame.h

Committer:
taylorza
Date:
2015-02-08
Revision:
0:bc3f11b1b41f

File content as of revision 0:bc3f11b1b41f:

#ifndef __TETRISGAME_H__
#define __TETRISGAME_H__
static const uint8_t TetrisGame[] = 
{
    0xa2,0xb4,0x23,0xe6,0x22,0xb6,0x70,0x01,
    0xd0,0x11,0x30,0x25,0x12,0x06,0x71,0xff,
    0xd0,0x11,0x60,0x1a,0xd0,0x11,0x60,0x25,
    0x31,0x00,0x12,0x0e,0xc4,0x70,0x44,0x70,
    0x12,0x1c,0xc3,0x03,0x60,0x1e,0x61,0x03,
    0x22,0x5c,0xf5,0x15,0xd0,0x14,0x3f,0x01,
    0x12,0x3c,0xd0,0x14,0x71,0xff,0xd0,0x14,
    0x23,0x40,0x12,0x1c,0xe7,0xa1,0x22,0x72,
    0xe8,0xa1,0x22,0x84,0xe9,0xa1,0x22,0x96,
    0xe2,0x9e,0x12,0x50,0x66,0x00,0xf6,0x15,
    0xf6,0x07,0x36,0x00,0x12,0x3c,0xd0,0x14,
    0x71,0x01,0x12,0x2a,0xa2,0xc4,0xf4,0x1e,
    0x66,0x00,0x43,0x01,0x66,0x04,0x43,0x02,
    0x66,0x08,0x43,0x03,0x66,0x0c,0xf6,0x1e,
    0x00,0xee,0xd0,0x14,0x70,0xff,0x23,0x34,
    0x3f,0x01,0x00,0xee,0xd0,0x14,0x70,0x01,
    0x23,0x34,0x00,0xee,0xd0,0x14,0x70,0x01,
    0x23,0x34,0x3f,0x01,0x00,0xee,0xd0,0x14,
    0x70,0xff,0x23,0x34,0x00,0xee,0xd0,0x14,
    0x73,0x01,0x43,0x04,0x63,0x00,0x22,0x5c,
    0x23,0x34,0x3f,0x01,0x00,0xee,0xd0,0x14,
    0x73,0xff,0x43,0xff,0x63,0x03,0x22,0x5c,
    0x23,0x34,0x00,0xee,0x80,0x00,0x67,0x05,
    0x68,0x06,0x69,0x04,0x61,0x1f,0x65,0x10,
    0x62,0x07,0x00,0xee,0x40,0xe0,0x00,0x00,
    0x40,0xc0,0x40,0x00,0x00,0xe0,0x40,0x00,
    0x40,0x60,0x40,0x00,0x40,0x40,0x60,0x00,
    0x20,0xe0,0x00,0x00,0xc0,0x40,0x40,0x00,
    0x00,0xe0,0x80,0x00,0x40,0x40,0xc0,0x00,
    0x00,0xe0,0x20,0x00,0x60,0x40,0x40,0x00,
    0x80,0xe0,0x00,0x00,0x40,0xc0,0x80,0x00,
    0xc0,0x60,0x00,0x00,0x40,0xc0,0x80,0x00,
    0xc0,0x60,0x00,0x00,0x80,0xc0,0x40,0x00,
    0x00,0x60,0xc0,0x00,0x80,0xc0,0x40,0x00,
    0x00,0x60,0xc0,0x00,0xc0,0xc0,0x00,0x00,
    0xc0,0xc0,0x00,0x00,0xc0,0xc0,0x00,0x00,
    0xc0,0xc0,0x00,0x00,0x40,0x40,0x40,0x40,
    0x00,0xf0,0x00,0x00,0x40,0x40,0x40,0x40,
    0x00,0xf0,0x00,0x00,0xd0,0x14,0x66,0x35,
    0x76,0xff,0x36,0x00,0x13,0x38,0x00,0xee,
    0xa2,0xb4,0x8c,0x10,0x3c,0x1e,0x7c,0x01,
    0x3c,0x1e,0x7c,0x01,0x3c,0x1e,0x7c,0x01,
    0x23,0x5e,0x4b,0x0a,0x23,0x72,0x91,0xc0,
    0x00,0xee,0x71,0x01,0x13,0x50,0x60,0x1b,
    0x6b,0x00,0xd0,0x11,0x3f,0x00,0x7b,0x01,
    0xd0,0x11,0x70,0x01,0x30,0x25,0x13,0x62,
    0x00,0xee,0x60,0x1b,0xd0,0x11,0x70,0x01,
    0x30,0x25,0x13,0x74,0x8e,0x10,0x8d,0xe0,
    0x7e,0xff,0x60,0x1b,0x6b,0x00,0xd0,0xe1,
    0x3f,0x00,0x13,0x90,0xd0,0xe1,0x13,0x94,
    0xd0,0xd1,0x7b,0x01,0x70,0x01,0x30,0x25,
    0x13,0x86,0x4b,0x00,0x13,0xa6,0x7d,0xff,
    0x7e,0xff,0x3d,0x01,0x13,0x82,0x23,0xc0,
    0x3f,0x01,0x23,0xc0,0x7a,0x01,0x23,0xc0,
    0x80,0xa0,0x6d,0x07,0x80,0xd2,0x40,0x04,
    0x75,0xfe,0x45,0x02,0x65,0x04,0x00,0xee,
    0xa7,0x00,0xf2,0x55,0xa8,0x04,0xfa,0x33,
    0xf2,0x65,0xf0,0x29,0x6d,0x32,0x6e,0x00,
    0xdd,0xe5,0x7d,0x05,0xf1,0x29,0xdd,0xe5,
    0x7d,0x05,0xf2,0x29,0xdd,0xe5,0xa7,0x00,
    0xf2,0x65,0xa2,0xb4,0x00,0xee,0x6a,0x00,
    0x60,0x19,0x00,0xee,0x37,0x23,
};
#endif //__TETRISGAME_H__