diff options
| author | 2013-09-17 06:47:03 +0000 | |
|---|---|---|
| committer | 2013-09-17 06:47:03 +0000 | |
| commit | 96aa5e1c086b4927456dc88b925d8ec112f0482e (patch) | |
| tree | f59d136c51d4a065f39e3ab0d73981526c4d156b /src/mess/drivers | |
| parent | a7d12daf5b4c3374e8ad47a003ac7fff73d5c8fc (diff) | |
Cleanups and version bumpmame0150
Diffstat (limited to 'src/mess/drivers')
| -rw-r--r-- | src/mess/drivers/a7800.c | 264 | ||||
| -rw-r--r-- | src/mess/drivers/abc1600.c | 4 | ||||
| -rw-r--r-- | src/mess/drivers/apple2.c | 17 | ||||
| -rw-r--r-- | src/mess/drivers/apricot.c | 4 | ||||
| -rw-r--r-- | src/mess/drivers/cat.c | 4 | ||||
| -rw-r--r-- | src/mess/drivers/cosmicos.c | 4 | ||||
| -rw-r--r-- | src/mess/drivers/dccons.c | 466 | ||||
| -rw-r--r-- | src/mess/drivers/dsb46.c | 2 | ||||
| -rw-r--r-- | src/mess/drivers/esq5505.c | 22 | ||||
| -rw-r--r-- | src/mess/drivers/kaypro.c | 4 | ||||
| -rw-r--r-- | src/mess/drivers/kyocera.c | 18 | ||||
| -rw-r--r-- | src/mess/drivers/lola8a.c | 111 | ||||
| -rw-r--r-- | src/mess/drivers/mac.c | 2 | ||||
| -rw-r--r-- | src/mess/drivers/megadriv.c | 1 | ||||
| -rw-r--r-- | src/mess/drivers/mtx.c | 42 | ||||
| -rw-r--r-- | src/mess/drivers/octopus.c | 48 | ||||
| -rw-r--r-- | src/mess/drivers/onyx.c | 6 | ||||
| -rw-r--r-- | src/mess/drivers/pc9801.c | 36 | ||||
| -rw-r--r-- | src/mess/drivers/rainbow.c | 246 | ||||
| -rw-r--r-- | src/mess/drivers/sbc6510.c | 2 | ||||
| -rw-r--r-- | src/mess/drivers/segapico.c | 41 | ||||
| -rw-r--r-- | src/mess/drivers/studio2.c | 20 | ||||
| -rw-r--r-- | src/mess/drivers/supracan.c | 4 | ||||
| -rw-r--r-- | src/mess/drivers/v1050.c | 40 | ||||
| -rw-r--r-- | src/mess/drivers/zaurus.c | 26 |
25 files changed, 714 insertions, 720 deletions
diff --git a/src/mess/drivers/a7800.c b/src/mess/drivers/a7800.c index db7363abe92..0156f5ab7ae 100644 --- a/src/mess/drivers/a7800.c +++ b/src/mess/drivers/a7800.c @@ -49,13 +49,13 @@ 2013/08/04 Robert Tuccitto Green miscalculated proportions fixed. - 2013/08/13 Robert Tuccitto Normalized contrast and brightness, + 2013/08/13 Robert Tuccitto Normalized contrast and brightness, providing a standardize grayscale and adjusted color values. - 2013/09/02 Robert Tuccitto Stored data for 26.7 & 27.7 phase shifts + 2013/09/02 Robert Tuccitto Stored data for 26.7 & 27.7 phase shifts with corrections and label for 25.7 values. Made 26.7 - (medium) default. Phase shifting falls outside the realm of - video controls and hope to implement a selectable toggle + (medium) default. Phase shifting falls outside the realm of + video controls and hope to implement a selectable toggle hardware option similar to Donkey Kong TKG02/TKG04. ***************************************************************************/ @@ -286,100 +286,100 @@ static const rgb_t a7800p_palette[256*3] = define NTSC_GREY - MAKE_RGB(0x00,0x00,0x00), MAKE_RGB(0x11,0x11,0x11), MAKE_RGB(0x22,0x22,0x22), MAKE_RGB(0x33,0x33,0x33), \ - MAKE_RGB(0x44,0x44,0x44), MAKE_RGB(0x55,0x55,0x55), MAKE_RGB(0x66,0x66,0x66), MAKE_RGB(0x77,0x77,0x77), \ - MAKE_RGB(0x88,0x88,0x88), MAKE_RGB(0x99,0x99,0x99), MAKE_RGB(0xAA,0xAA,0xAA), MAKE_RGB(0xBB,0xBB,0xBB), \ - MAKE_RGB(0xCC,0xCC,0xCC), MAKE_RGB(0xDD,0xDD,0xDD), MAKE_RGB(0xEE,0xEE,0xEE), MAKE_RGB(0xFF,0xFF,0xFF ) + MAKE_RGB(0x00,0x00,0x00), MAKE_RGB(0x11,0x11,0x11), MAKE_RGB(0x22,0x22,0x22), MAKE_RGB(0x33,0x33,0x33), \ + MAKE_RGB(0x44,0x44,0x44), MAKE_RGB(0x55,0x55,0x55), MAKE_RGB(0x66,0x66,0x66), MAKE_RGB(0x77,0x77,0x77), \ + MAKE_RGB(0x88,0x88,0x88), MAKE_RGB(0x99,0x99,0x99), MAKE_RGB(0xAA,0xAA,0xAA), MAKE_RGB(0xBB,0xBB,0xBB), \ + MAKE_RGB(0xCC,0xCC,0xCC), MAKE_RGB(0xDD,0xDD,0xDD), MAKE_RGB(0xEE,0xEE,0xEE), MAKE_RGB(0xFF,0xFF,0xFF ) define NTSC_GOLD - MAKE_RGB(0x1A,0x07,0x00), MAKE_RGB(0x2B,0x18,0x00), MAKE_RGB(0x3C,0x29,0x00), MAKE_RGB(0x4D,0x3A,0x00), \ - MAKE_RGB(0x5E,0x4B,0x00), MAKE_RGB(0x6F,0x5C,0x00), MAKE_RGB(0x80,0x6D,0x00), MAKE_RGB(0x91,0x7E,0x09), \ - MAKE_RGB(0xA2,0x8F,0x1A), MAKE_RGB(0xB3,0xA0,0x2B), MAKE_RGB(0xC4,0xB1,0x3C), MAKE_RGB(0xD5,0xC2,0x4D), \ - MAKE_RGB(0xE6,0xD3,0x5E), MAKE_RGB(0xF7,0xE4,0x6F), MAKE_RGB(0xFF,0xF5,0x83), MAKE_RGB(0xFF,0xF7,0x97 ) + MAKE_RGB(0x1A,0x07,0x00), MAKE_RGB(0x2B,0x18,0x00), MAKE_RGB(0x3C,0x29,0x00), MAKE_RGB(0x4D,0x3A,0x00), \ + MAKE_RGB(0x5E,0x4B,0x00), MAKE_RGB(0x6F,0x5C,0x00), MAKE_RGB(0x80,0x6D,0x00), MAKE_RGB(0x91,0x7E,0x09), \ + MAKE_RGB(0xA2,0x8F,0x1A), MAKE_RGB(0xB3,0xA0,0x2B), MAKE_RGB(0xC4,0xB1,0x3C), MAKE_RGB(0xD5,0xC2,0x4D), \ + MAKE_RGB(0xE6,0xD3,0x5E), MAKE_RGB(0xF7,0xE4,0x6F), MAKE_RGB(0xFF,0xF5,0x83), MAKE_RGB(0xFF,0xF7,0x97 ) define NTSC_ORANGE - MAKE_RGB(0x31,0x00,0x00), MAKE_RGB(0x42,0x06,0x00), MAKE_RGB(0x53,0x17,0x00), MAKE_RGB(0x64,0x28,0x00), \ - MAKE_RGB(0x75,0x39,0x00), MAKE_RGB(0x86,0X4A,0x00), MAKE_RGB(0x97,0x5B,0x0A), MAKE_RGB(0xA8,0x6C,0x1B), \ - MAKE_RGB(0xB9,0x7D,0x2C), MAKE_RGB(0xCA,0x8E,0x3D), MAKE_RGB(0xDB,0x9F,0x4E), MAKE_RGB(0xEC,0xB0,0x5F), \ - MAKE_RGB(0xFD,0xC1,0x70), MAKE_RGB(0xFF,0xD2,0x85), MAKE_RGB(0xFF,0xE3,0x9C), MAKE_RGB(0xFF,0xF4,0xB2 ) + MAKE_RGB(0x31,0x00,0x00), MAKE_RGB(0x42,0x06,0x00), MAKE_RGB(0x53,0x17,0x00), MAKE_RGB(0x64,0x28,0x00), \ + MAKE_RGB(0x75,0x39,0x00), MAKE_RGB(0x86,0X4A,0x00), MAKE_RGB(0x97,0x5B,0x0A), MAKE_RGB(0xA8,0x6C,0x1B), \ + MAKE_RGB(0xB9,0x7D,0x2C), MAKE_RGB(0xCA,0x8E,0x3D), MAKE_RGB(0xDB,0x9F,0x4E), MAKE_RGB(0xEC,0xB0,0x5F), \ + MAKE_RGB(0xFD,0xC1,0x70), MAKE_RGB(0xFF,0xD2,0x85), MAKE_RGB(0xFF,0xE3,0x9C), MAKE_RGB(0xFF,0xF4,0xB2 ) define NTSC_RED_ORANGE - MAKE_RGB(0x3E,0x00,0x00), MAKE_RGB(0x4F,0x00,0x00), MAKE_RGB(0x60,0x08,0x00), MAKE_RGB(0x71,0x19,0x00), \ - MAKE_RGB(0x82,0x2A,0x0D), MAKE_RGB(0x93,0x3B,0x1E), MAKE_RGB(0xA4,0x4C,0x2F), MAKE_RGB(0xB5,0x5D,0x40), \ - MAKE_RGB(0xC6,0x6E,0x51), MAKE_RGB(0xD7,0x7F,0x62), MAKE_RGB(0xE8,0x90,0x73), MAKE_RGB(0xF9,0xA1,0x83), \ - MAKE_RGB(0xFF,0xB2,0x98), MAKE_RGB(0xFF,0xC3,0xAE), MAKE_RGB(0xFF,0xD4,0xC4), MAKE_RGB(0xFF,0xE5,0xDA ) + MAKE_RGB(0x3E,0x00,0x00), MAKE_RGB(0x4F,0x00,0x00), MAKE_RGB(0x60,0x08,0x00), MAKE_RGB(0x71,0x19,0x00), \ + MAKE_RGB(0x82,0x2A,0x0D), MAKE_RGB(0x93,0x3B,0x1E), MAKE_RGB(0xA4,0x4C,0x2F), MAKE_RGB(0xB5,0x5D,0x40), \ + MAKE_RGB(0xC6,0x6E,0x51), MAKE_RGB(0xD7,0x7F,0x62), MAKE_RGB(0xE8,0x90,0x73), MAKE_RGB(0xF9,0xA1,0x83), \ + MAKE_RGB(0xFF,0xB2,0x98), MAKE_RGB(0xFF,0xC3,0xAE), MAKE_RGB(0xFF,0xD4,0xC4), MAKE_RGB(0xFF,0xE5,0xDA ) define NTSC_PINK - MAKE_RGB(0x3F,0x00,0x03), MAKE_RGB(0x50,0x00,0x0F), MAKE_RGB(0x61,0x00,0x1B), MAKE_RGB(0x72,0x0F,0x2B), \ - MAKE_RGB(0x83,0x20,0x3C), MAKE_RGB(0x94,0x31,0x4D), MAKE_RGB(0xA5,0x42,0x5E), MAKE_RGB(0xB6,0x53,0x6F), \ - MAKE_RGB(0xC7,0x64,0x80), MAKE_RGB(0xD8,0x75,0x91), MAKE_RGB(0xE9,0x86,0xA2), MAKE_RGB(0xFA,0x97,0xB3), \ - MAKE_RGB(0xFF,0xA8,0xC8), MAKE_RGB(0xFF,0xB9,0xDE), MAKE_RGB(0xFF,0xCA,0xEF), MAKE_RGB(0xFF,0xDB,0xF4 ) + MAKE_RGB(0x3F,0x00,0x03), MAKE_RGB(0x50,0x00,0x0F), MAKE_RGB(0x61,0x00,0x1B), MAKE_RGB(0x72,0x0F,0x2B), \ + MAKE_RGB(0x83,0x20,0x3C), MAKE_RGB(0x94,0x31,0x4D), MAKE_RGB(0xA5,0x42,0x5E), MAKE_RGB(0xB6,0x53,0x6F), \ + MAKE_RGB(0xC7,0x64,0x80), MAKE_RGB(0xD8,0x75,0x91), MAKE_RGB(0xE9,0x86,0xA2), MAKE_RGB(0xFA,0x97,0xB3), \ + MAKE_RGB(0xFF,0xA8,0xC8), MAKE_RGB(0xFF,0xB9,0xDE), MAKE_RGB(0xFF,0xCA,0xEF), MAKE_RGB(0xFF,0xDB,0xF4 ) define NTSC_PURPLE - MAKE_RGB(0x33,0x00,0x35), MAKE_RGB(0x44,0x00,0x41), MAKE_RGB(0x55,0x00,0x4C), MAKE_RGB(0x66,0x0C,0x5C), \ - MAKE_RGB(0x77,0x1D,0x6D), MAKE_RGB(0x88,0x2E,0x7E), MAKE_RGB(0x99,0x3F,0x8F), MAKE_RGB(0xAA,0x50,0xA0), \ - MAKE_RGB(0xBB,0x61,0xB1), MAKE_RGB(0xCC,0x72,0xC2), MAKE_RGB(0xDD,0x83,0xD3), MAKE_RGB(0xEE,0x94,0xE4), \ - MAKE_RGB(0xFF,0xA5,0xE4), MAKE_RGB(0xFF,0xB6,0xE9), MAKE_RGB(0xFF,0xC7,0xEE), MAKE_RGB(0xFF,0xD8,0xF3 ) + MAKE_RGB(0x33,0x00,0x35), MAKE_RGB(0x44,0x00,0x41), MAKE_RGB(0x55,0x00,0x4C), MAKE_RGB(0x66,0x0C,0x5C), \ + MAKE_RGB(0x77,0x1D,0x6D), MAKE_RGB(0x88,0x2E,0x7E), MAKE_RGB(0x99,0x3F,0x8F), MAKE_RGB(0xAA,0x50,0xA0), \ + MAKE_RGB(0xBB,0x61,0xB1), MAKE_RGB(0xCC,0x72,0xC2), MAKE_RGB(0xDD,0x83,0xD3), MAKE_RGB(0xEE,0x94,0xE4), \ + MAKE_RGB(0xFF,0xA5,0xE4), MAKE_RGB(0xFF,0xB6,0xE9), MAKE_RGB(0xFF,0xC7,0xEE), MAKE_RGB(0xFF,0xD8,0xF3 ) define NTSC_PURPLE_BLUE - MAKE_RGB(0x1D,0x00,0x5C), MAKE_RGB(0x2E,0x00,0x68), MAKE_RGB(0x40,0x00,0x74), MAKE_RGB(0x51,0x10,0x84), \ - MAKE_RGB(0x62,0x21,0x95), MAKE_RGB(0x73,0x32,0xA6), MAKE_RGB(0x84,0x43,0xB7), MAKE_RGB(0x95,0x54,0xC8), \ - MAKE_RGB(0xA6,0x65,0xD9), MAKE_RGB(0xB7,0x76,0xEA), MAKE_RGB(0xC8,0x87,0xEB), MAKE_RGB(0xD9,0x98,0xEB), \ - MAKE_RGB(0xE9,0xA9,0xEC), MAKE_RGB(0xFB,0xBA,0xEB), MAKE_RGB(0xFF,0xCB,0xEF), MAKE_RGB(0xFF,0xDC,0xF4 ) + MAKE_RGB(0x1D,0x00,0x5C), MAKE_RGB(0x2E,0x00,0x68), MAKE_RGB(0x40,0x00,0x74), MAKE_RGB(0x51,0x10,0x84), \ + MAKE_RGB(0x62,0x21,0x95), MAKE_RGB(0x73,0x32,0xA6), MAKE_RGB(0x84,0x43,0xB7), MAKE_RGB(0x95,0x54,0xC8), \ + MAKE_RGB(0xA6,0x65,0xD9), MAKE_RGB(0xB7,0x76,0xEA), MAKE_RGB(0xC8,0x87,0xEB), MAKE_RGB(0xD9,0x98,0xEB), \ + MAKE_RGB(0xE9,0xA9,0xEC), MAKE_RGB(0xFB,0xBA,0xEB), MAKE_RGB(0xFF,0xCB,0xEF), MAKE_RGB(0xFF,0xDC,0xF4 ) define NTSC_BLUE1 - MAKE_RGB(0x02,0x00,0x71), MAKE_RGB(0x13,0x00,0x7D), MAKE_RGB(0x24,0x0B,0x8C), MAKE_RGB(0x35,0x1C,0x9D), \ - MAKE_RGB(0x46,0x2D,0xAE), MAKE_RGB(0x57,0x3E,0xBF), MAKE_RGB(0x68,0x4F,0xD0), MAKE_RGB(0x79,0x60,0xE1), \ - MAKE_RGB(0x8A,0x71,0xF2), MAKE_RGB(0x9B,0x82,0xF7), MAKE_RGB(0xAC,0x93,0xF7), MAKE_RGB(0xBD,0xA4,0xF7), \ - MAKE_RGB(0xCE,0xB5,0xF7), MAKE_RGB(0xDF,0xC6,0xF7), MAKE_RGB(0xF0,0xD7,0xF7), MAKE_RGB(0xFF,0xE8,0xF8 ) + MAKE_RGB(0x02,0x00,0x71), MAKE_RGB(0x13,0x00,0x7D), MAKE_RGB(0x24,0x0B,0x8C), MAKE_RGB(0x35,0x1C,0x9D), \ + MAKE_RGB(0x46,0x2D,0xAE), MAKE_RGB(0x57,0x3E,0xBF), MAKE_RGB(0x68,0x4F,0xD0), MAKE_RGB(0x79,0x60,0xE1), \ + MAKE_RGB(0x8A,0x71,0xF2), MAKE_RGB(0x9B,0x82,0xF7), MAKE_RGB(0xAC,0x93,0xF7), MAKE_RGB(0xBD,0xA4,0xF7), \ + MAKE_RGB(0xCE,0xB5,0xF7), MAKE_RGB(0xDF,0xC6,0xF7), MAKE_RGB(0xF0,0xD7,0xF7), MAKE_RGB(0xFF,0xE8,0xF8 ) define NTSC_BLUE2 - MAKE_RGB(0x00,0x00,0x68), MAKE_RGB(0x00,0x0A,0x7C), MAKE_RGB(0x08,0x1B,0x90), MAKE_RGB(0x19,0x2C,0xA1), \ - MAKE_RGB(0x2A,0x3D,0xB2), MAKE_RGB(0x3B,0x4E,0xC3), MAKE_RGB(0x4C,0x5F,0xD4), MAKE_RGB(0x5D,0x70,0xE5), \ - MAKE_RGB(0x6E,0x81,0xF6), MAKE_RGB(0x7F,0x92,0xFF), MAKE_RGB(0x90,0xA3,0xFF), MAKE_RGB(0xA1,0xB4,0xFF), \ - MAKE_RGB(0xB2,0xC5,0xFF), MAKE_RGB(0xC3,0xD6,0xFF), MAKE_RGB(0xD4,0xE7,0xFF), MAKE_RGB(0xE5,0xF8,0xFF ) + MAKE_RGB(0x00,0x00,0x68), MAKE_RGB(0x00,0x0A,0x7C), MAKE_RGB(0x08,0x1B,0x90), MAKE_RGB(0x19,0x2C,0xA1), \ + MAKE_RGB(0x2A,0x3D,0xB2), MAKE_RGB(0x3B,0x4E,0xC3), MAKE_RGB(0x4C,0x5F,0xD4), MAKE_RGB(0x5D,0x70,0xE5), \ + MAKE_RGB(0x6E,0x81,0xF6), MAKE_RGB(0x7F,0x92,0xFF), MAKE_RGB(0x90,0xA3,0xFF), MAKE_RGB(0xA1,0xB4,0xFF), \ + MAKE_RGB(0xB2,0xC5,0xFF), MAKE_RGB(0xC3,0xD6,0xFF), MAKE_RGB(0xD4,0xE7,0xFF), MAKE_RGB(0xE5,0xF8,0xFF ) define NTSC_LIGHT_BLUE - MAKE_RGB(0x00,0x0A,0x4D), MAKE_RGB(0x00,0x1B,0x63), MAKE_RGB(0x00,0x2C,0x79), MAKE_RGB(0x02,0x3D,0x8F), \ - MAKE_RGB(0x13,0x4E,0xA0), MAKE_RGB(0x24,0x5F,0xB1), MAKE_RGB(0x35,0x70,0xC2), MAKE_RGB(0x46,0x81,0xD3), \ - MAKE_RGB(0x57,0x92,0xE4), MAKE_RGB(0x68,0xA3,0xF5), MAKE_RGB(0x79,0xB4,0xFF), MAKE_RGB(0x8A,0xC5,0xFF), \ - MAKE_RGB(0x9B,0xD6,0xFF), MAKE_RGB(0xAC,0xE7,0xFF), MAKE_RGB(0xBD,0xF8,0xFF), MAKE_RGB(0xCE,0xFF,0xFF ) + MAKE_RGB(0x00,0x0A,0x4D), MAKE_RGB(0x00,0x1B,0x63), MAKE_RGB(0x00,0x2C,0x79), MAKE_RGB(0x02,0x3D,0x8F), \ + MAKE_RGB(0x13,0x4E,0xA0), MAKE_RGB(0x24,0x5F,0xB1), MAKE_RGB(0x35,0x70,0xC2), MAKE_RGB(0x46,0x81,0xD3), \ + MAKE_RGB(0x57,0x92,0xE4), MAKE_RGB(0x68,0xA3,0xF5), MAKE_RGB(0x79,0xB4,0xFF), MAKE_RGB(0x8A,0xC5,0xFF), \ + MAKE_RGB(0x9B,0xD6,0xFF), MAKE_RGB(0xAC,0xE7,0xFF), MAKE_RGB(0xBD,0xF8,0xFF), MAKE_RGB(0xCE,0xFF,0xFF ) define NTSC_TURQUOISE - MAKE_RGB(0x00,0x1A,0x26), MAKE_RGB(0x00,0x2B,0x3C), MAKE_RGB(0x00,0x3C,0x52), MAKE_RGB(0x00,0x4D,0x68), \ - MAKE_RGB(0x06,0x5E,0x7C), MAKE_RGB(0x17,0x6F,0x8D), MAKE_RGB(0x28,0x80,0x9E), MAKE_RGB(0x39,0x91,0xAF), \ - MAKE_RGB(0x4A,0xA2,0xC0), MAKE_RGB(0x5B,0xB3,0xD1), MAKE_RGB(0x6C,0xC4,0xE2), MAKE_RGB(0x7D,0xD5,0xF3), \ - MAKE_RGB(0x8E,0xE6,0xFF), MAKE_RGB(0x9F,0xF7,0xFF), MAKE_RGB(0xB0,0xFF,0xFF), MAKE_RGB(0xC1,0xFF,0xFF ) + MAKE_RGB(0x00,0x1A,0x26), MAKE_RGB(0x00,0x2B,0x3C), MAKE_RGB(0x00,0x3C,0x52), MAKE_RGB(0x00,0x4D,0x68), \ + MAKE_RGB(0x06,0x5E,0x7C), MAKE_RGB(0x17,0x6F,0x8D), MAKE_RGB(0x28,0x80,0x9E), MAKE_RGB(0x39,0x91,0xAF), \ + MAKE_RGB(0x4A,0xA2,0xC0), MAKE_RGB(0x5B,0xB3,0xD1), MAKE_RGB(0x6C,0xC4,0xE2), MAKE_RGB(0x7D,0xD5,0xF3), \ + MAKE_RGB(0x8E,0xE6,0xFF), MAKE_RGB(0x9F,0xF7,0xFF), MAKE_RGB(0xB0,0xFF,0xFF), MAKE_RGB(0xC1,0xFF,0xFF ) define NTSC_GREEN_BLUE - MAKE_RGB(0x00,0x24,0x0B), MAKE_RGB(0x00,0x35,0x10), MAKE_RGB(0x00,0x46,0x22), MAKE_RGB(0x00,0x57,0x38), \ - MAKE_RGB(0x05,0x68,0x4D), MAKE_RGB(0x16,0x79,0x5E), MAKE_RGB(0x27,0x8A,0x6F), MAKE_RGB(0x38,0x9B,0x80), \ - MAKE_RGB(0x49,0xAC,0x91), MAKE_RGB(0x5A,0xBD,0xA2), MAKE_RGB(0x6B,0xCE,0xB3), MAKE_RGB(0x7C,0xDF,0xC4), \ - MAKE_RGB(0x8D,0xF0,0xD5), MAKE_RGB(0x9E,0xFF,0xE5), MAKE_RGB(0xAF,0xFF,0xF1), MAKE_RGB(0xC0,0xFF,0xFD ) + MAKE_RGB(0x00,0x24,0x0B), MAKE_RGB(0x00,0x35,0x10), MAKE_RGB(0x00,0x46,0x22), MAKE_RGB(0x00,0x57,0x38), \ + MAKE_RGB(0x05,0x68,0x4D), MAKE_RGB(0x16,0x79,0x5E), MAKE_RGB(0x27,0x8A,0x6F), MAKE_RGB(0x38,0x9B,0x80), \ + MAKE_RGB(0x49,0xAC,0x91), MAKE_RGB(0x5A,0xBD,0xA2), MAKE_RGB(0x6B,0xCE,0xB3), MAKE_RGB(0x7C,0xDF,0xC4), \ + MAKE_RGB(0x8D,0xF0,0xD5), MAKE_RGB(0x9E,0xFF,0xE5), MAKE_RGB(0xAF,0xFF,0xF1), MAKE_RGB(0xC0,0xFF,0xFD ) define NTSC_GREEN - MAKE_RGB(0x00,0x27,0x0C), MAKE_RGB(0x00,0x38,0x11), MAKE_RGB(0x00,0x49,0x16), MAKE_RGB(0x00,0x5A,0x1B), \ - MAKE_RGB(0x10,0x6B,0x1B), MAKE_RGB(0x21,0x7C,0x2C), MAKE_RGB(0x32,0x8D,0x3D), MAKE_RGB(0x43,0x9E,0x4E), \ - MAKE_RGB(0x54,0xAF,0x5F), MAKE_RGB(0x65,0xC0,0x70), MAKE_RGB(0x76,0xD1,0x81), MAKE_RGB(0x87,0xE2,0x92), \ - MAKE_RGB(0x98,0xF3,0xA3), MAKE_RGB(0xA9,0xFF,0xB3), MAKE_RGB(0xBA,0xFF,0xBF), MAKE_RGB(0xCB,0xFF,0xCB ) + MAKE_RGB(0x00,0x27,0x0C), MAKE_RGB(0x00,0x38,0x11), MAKE_RGB(0x00,0x49,0x16), MAKE_RGB(0x00,0x5A,0x1B), \ + MAKE_RGB(0x10,0x6B,0x1B), MAKE_RGB(0x21,0x7C,0x2C), MAKE_RGB(0x32,0x8D,0x3D), MAKE_RGB(0x43,0x9E,0x4E), \ + MAKE_RGB(0x54,0xAF,0x5F), MAKE_RGB(0x65,0xC0,0x70), MAKE_RGB(0x76,0xD1,0x81), MAKE_RGB(0x87,0xE2,0x92), \ + MAKE_RGB(0x98,0xF3,0xA3), MAKE_RGB(0xA9,0xFF,0xB3), MAKE_RGB(0xBA,0xFF,0xBF), MAKE_RGB(0xCB,0xFF,0xCB ) define NTSC_YELLOW_GREEN - MAKE_RGB(0x00,0x23,0x0A), MAKE_RGB(0x00,0x34,0x10), MAKE_RGB(0x04,0x45,0x13), MAKE_RGB(0x15,0x56,0x13), \ - MAKE_RGB(0x26,0x67,0x13), MAKE_RGB(0x37,0x78,0x13), MAKE_RGB(0x48,0x89,0x14), MAKE_RGB(0x59,0x9A,0x25), \ - MAKE_RGB(0x6A,0xAB,0x36), MAKE_RGB(0x7B,0xBC,0x47), MAKE_RGB(0x8C,0xCD,0x58), MAKE_RGB(0x9D,0xDE,0x69), \ - MAKE_RGB(0xAE,0xEF,0x7A), MAKE_RGB(0xBF,0xFF,0x8B), MAKE_RGB(0xD0,0xFF,0x97), MAKE_RGB(0xE1,0xFF,0xA3 ) + MAKE_RGB(0x00,0x23,0x0A), MAKE_RGB(0x00,0x34,0x10), MAKE_RGB(0x04,0x45,0x13), MAKE_RGB(0x15,0x56,0x13), \ + MAKE_RGB(0x26,0x67,0x13), MAKE_RGB(0x37,0x78,0x13), MAKE_RGB(0x48,0x89,0x14), MAKE_RGB(0x59,0x9A,0x25), \ + MAKE_RGB(0x6A,0xAB,0x36), MAKE_RGB(0x7B,0xBC,0x47), MAKE_RGB(0x8C,0xCD,0x58), MAKE_RGB(0x9D,0xDE,0x69), \ + MAKE_RGB(0xAE,0xEF,0x7A), MAKE_RGB(0xBF,0xFF,0x8B), MAKE_RGB(0xD0,0xFF,0x97), MAKE_RGB(0xE1,0xFF,0xA3 ) define NTSC_ORANGE_GREEN - MAKE_RGB(0x00,0x17,0x07), MAKE_RGB(0x0E,0x28,0x08), MAKE_RGB(0x1F,0x39,0x08), MAKE_RGB(0x30,0x4A,0x08), \ - MAKE_RGB(0x41,0x5B,0x08), MAKE_RGB(0x52,0x6C,0x08), MAKE_RGB(0x63,0x7D,0x08), MAKE_RGB(0x74,0x8E,0x0D), \ - MAKE_RGB(0x85,0x9F,0x1E), MAKE_RGB(0x96,0xB0,0x2F), MAKE_RGB(0xA7,0xC1,0x40), MAKE_RGB(0xB8,0xD2,0x51), \ - MAKE_RGB(0xC9,0xE3,0x62), MAKE_RGB(0xDA,0xF4,0x73), MAKE_RGB(0xEB,0xFF,0x82), MAKE_RGB(0xFC,0xFF,0x8E ) + MAKE_RGB(0x00,0x17,0x07), MAKE_RGB(0x0E,0x28,0x08), MAKE_RGB(0x1F,0x39,0x08), MAKE_RGB(0x30,0x4A,0x08), \ + MAKE_RGB(0x41,0x5B,0x08), MAKE_RGB(0x52,0x6C,0x08), MAKE_RGB(0x63,0x7D,0x08), MAKE_RGB(0x74,0x8E,0x0D), \ + MAKE_RGB(0x85,0x9F,0x1E), MAKE_RGB(0x96,0xB0,0x2F), MAKE_RGB(0xA7,0xC1,0x40), MAKE_RGB(0xB8,0xD2,0x51), \ + MAKE_RGB(0xC9,0xE3,0x62), MAKE_RGB(0xDA,0xF4,0x73), MAKE_RGB(0xEB,0xFF,0x82), MAKE_RGB(0xFC,0xFF,0x8E ) define NTSC_LIGHT_ORANGE - MAKE_RGB(0x19,0x07,0x00), MAKE_RGB(0x2A,0x18,0x00), MAKE_RGB(0x3B,0x29,0x00), MAKE_RGB(0x4C,0x3A,0x00), \ - MAKE_RGB(0x5D,0x4B,0x00), MAKE_RGB(0x6E,0x5C,0x00), MAKE_RGB(0x7F,0x6D,0x00), MAKE_RGB(0x90,0x7E,0x09), \ - MAKE_RGB(0xA1,0x8F,0x1A), MAKE_RGB(0xB2,0xA0,0x2B), MAKE_RGB(0xC3,0xB1,0x3C), MAKE_RGB(0xD4,0xC2,0x4D), \ - MAKE_RGB(0xE5,0xD3,0x5E), MAKE_RGB(0xF6,0xE4,0x6F), MAKE_RGB(0xFF,0xF5,0x82), MAKE_RGB(0xFF,0xFF,0x96 ) + MAKE_RGB(0x19,0x07,0x00), MAKE_RGB(0x2A,0x18,0x00), MAKE_RGB(0x3B,0x29,0x00), MAKE_RGB(0x4C,0x3A,0x00), \ + MAKE_RGB(0x5D,0x4B,0x00), MAKE_RGB(0x6E,0x5C,0x00), MAKE_RGB(0x7F,0x6D,0x00), MAKE_RGB(0x90,0x7E,0x09), \ + MAKE_RGB(0xA1,0x8F,0x1A), MAKE_RGB(0xB2,0xA0,0x2B), MAKE_RGB(0xC3,0xB1,0x3C), MAKE_RGB(0xD4,0xC2,0x4D), \ + MAKE_RGB(0xE5,0xD3,0x5E), MAKE_RGB(0xF6,0xE4,0x6F), MAKE_RGB(0xFF,0xF5,0x82), MAKE_RGB(0xFF,0xFF,0x96 ) ***************************************************************************/ @@ -388,100 +388,100 @@ define NTSC_LIGHT_ORANGE define NTSC_GREY - MAKE_RGB(0x00,0x00,0x00), MAKE_RGB(0x11,0x11,0x11), MAKE_RGB(0x22,0x22,0x22), MAKE_RGB(0x33,0x33,0x33), \ - MAKE_RGB(0x44,0x44,0x44), MAKE_RGB(0x55,0x55,0x55), MAKE_RGB(0x66,0x66,0x66), MAKE_RGB(0x77,0x77,0x77), \ - MAKE_RGB(0x88,0x88,0x88), MAKE_RGB(0x99,0x99,0x99), MAKE_RGB(0xAA,0xAA,0xAA), MAKE_RGB(0xBB,0xBB,0xBB), \ - MAKE_RGB(0xCC,0xCC,0xCC), MAKE_RGB(0xDD,0xDD,0xDD), MAKE_RGB(0xEE,0xEE,0xEE), MAKE_RGB(0xFF,0xFF,0xFF ) + MAKE_RGB(0x00,0x00,0x00), MAKE_RGB(0x11,0x11,0x11), MAKE_RGB(0x22,0x22,0x22), MAKE_RGB(0x33,0x33,0x33), \ + MAKE_RGB(0x44,0x44,0x44), MAKE_RGB(0x55,0x55,0x55), MAKE_RGB(0x66,0x66,0x66), MAKE_RGB(0x77,0x77,0x77), \ + MAKE_RGB(0x88,0x88,0x88), MAKE_RGB(0x99,0x99,0x99), MAKE_RGB(0xAA,0xAA,0xAA), MAKE_RGB(0xBB,0xBB,0xBB), \ + MAKE_RGB(0xCC,0xCC,0xCC), MAKE_RGB(0xDD,0xDD,0xDD), MAKE_RGB(0xEE,0xEE,0xEE), MAKE_RGB(0xFF,0xFF,0xFF ) define NTSC_GOLD - MAKE_RGB(0x1A,0x07,0x00), MAKE_RGB(0x2B,0x18,0x00), MAKE_RGB(0x3C,0x29,0x00), MAKE_RGB(0x4D,0x3A,0x00), \ - MAKE_RGB(0x5E,0x4B,0x00), MAKE_RGB(0x6F,0x5C,0x00), MAKE_RGB(0x80,0x6D,0x00), MAKE_RGB(0x91,0x7E,0x09), \ - MAKE_RGB(0xA2,0x8F,0x1A), MAKE_RGB(0xB3,0xA0,0x2B), MAKE_RGB(0xC4,0xB1,0x3C), MAKE_RGB(0xD5,0xC2,0x4D), \ - MAKE_RGB(0xE6,0xD3,0x5E), MAKE_RGB(0xF7,0xE4,0x6F), MAKE_RGB(0xFF,0xF5,0x83), MAKE_RGB(0xFF,0xFF,0x97 ) + MAKE_RGB(0x1A,0x07,0x00), MAKE_RGB(0x2B,0x18,0x00), MAKE_RGB(0x3C,0x29,0x00), MAKE_RGB(0x4D,0x3A,0x00), \ + MAKE_RGB(0x5E,0x4B,0x00), MAKE_RGB(0x6F,0x5C,0x00), MAKE_RGB(0x80,0x6D,0x00), MAKE_RGB(0x91,0x7E,0x09), \ + MAKE_RGB(0xA2,0x8F,0x1A), MAKE_RGB(0xB3,0xA0,0x2B), MAKE_RGB(0xC4,0xB1,0x3C), MAKE_RGB(0xD5,0xC2,0x4D), \ + MAKE_RGB(0xE6,0xD3,0x5E), MAKE_RGB(0xF7,0xE4,0x6F), MAKE_RGB(0xFF,0xF5,0x83), MAKE_RGB(0xFF,0xFF,0x97 ) define NTSC_ORANGE - MAKE_RGB(0x32,0x00,0x00), MAKE_RGB(0x43,0x05,0x00), MAKE_RGB(0x54,0x16,0x00), MAKE_RGB(0x65,0x27,0x00), \ - MAKE_RGB(0x76,0x38,0x00), MAKE_RGB(0x87,0x49,0x00), MAKE_RGB(0x98,0x5A,0x0C), MAKE_RGB(0xA9,0x6B,0x1D), \ - MAKE_RGB(0xBA,0x7C,0x2E), MAKE_RGB(0xCB,0x8D,0x3F), MAKE_RGB(0xDC,0x9E,0x50), MAKE_RGB(0xED,0xAF,0x61), \ - MAKE_RGB(0xFE,0xC0,0x72), MAKE_RGB(0xFF,0xD1,0x88), MAKE_RGB(0xFF,0xE2,0x9E), MAKE_RGB(0xFF,0xF3,0xB4 ) + MAKE_RGB(0x32,0x00,0x00), MAKE_RGB(0x43,0x05,0x00), MAKE_RGB(0x54,0x16,0x00), MAKE_RGB(0x65,0x27,0x00), \ + MAKE_RGB(0x76,0x38,0x00), MAKE_RGB(0x87,0x49,0x00), MAKE_RGB(0x98,0x5A,0x0C), MAKE_RGB(0xA9,0x6B,0x1D), \ + MAKE_RGB(0xBA,0x7C,0x2E), MAKE_RGB(0xCB,0x8D,0x3F), MAKE_RGB(0xDC,0x9E,0x50), MAKE_RGB(0xED,0xAF,0x61), \ + MAKE_RGB(0xFE,0xC0,0x72), MAKE_RGB(0xFF,0xD1,0x88), MAKE_RGB(0xFF,0xE2,0x9E), MAKE_RGB(0xFF,0xF3,0xB4 ) define NTSC_RED_ORANGE - MAKE_RGB(0x3F,0x00,0x00), MAKE_RGB(0x50,0x00,0x00), MAKE_RGB(0x61,0x06,0x00), MAKE_RGB(0x72,0x17,0x03), \ - MAKE_RGB(0x83,0x28,0x14), MAKE_RGB(0x94,0x39,0x25), MAKE_RGB(0xA5,0x4A,0x36), MAKE_RGB(0xB6,0x5B,0x47), \ - MAKE_RGB(0xC7,0x6C,0x58), MAKE_RGB(0xD8,0x7D,0x69), MAKE_RGB(0xE9,0x8E,0x7A), MAKE_RGB(0xFA,0x9F,0x8B), \ - MAKE_RGB(0xFF,0xB0,0x9F), MAKE_RGB(0xFF,0xC1,0xB5), MAKE_RGB(0xFF,0xD2,0xCB), MAKE_RGB(0xFF,0xE3,0xE1 ) + MAKE_RGB(0x3F,0x00,0x00), MAKE_RGB(0x50,0x00,0x00), MAKE_RGB(0x61,0x06,0x00), MAKE_RGB(0x72,0x17,0x03), \ + MAKE_RGB(0x83,0x28,0x14), MAKE_RGB(0x94,0x39,0x25), MAKE_RGB(0xA5,0x4A,0x36), MAKE_RGB(0xB6,0x5B,0x47), \ + MAKE_RGB(0xC7,0x6C,0x58), MAKE_RGB(0xD8,0x7D,0x69), MAKE_RGB(0xE9,0x8E,0x7A), MAKE_RGB(0xFA,0x9F,0x8B), \ + MAKE_RGB(0xFF,0xB0,0x9F), MAKE_RGB(0xFF,0xC1,0xB5), MAKE_RGB(0xFF,0xD2,0xCB), MAKE_RGB(0xFF,0xE3,0xE1 ) define NTSC_PINK - MAKE_RGB(0x3D,0x00,0x10), MAKE_RGB(0x4E,0x00,0x1C), MAKE_RGB(0x5F,0x00,0x27), MAKE_RGB(0x70,0x0D,0x37), \ - MAKE_RGB(0x81,0x1E,0x48), MAKE_RGB(0x92,0x2F,0x59), MAKE_RGB(0xA3,0x40,0x6A), MAKE_RGB(0xB4,0x51,0x7B), \ - MAKE_RGB(0xC5,0x62,0x8C), MAKE_RGB(0xD6,0x73,0x9D), MAKE_RGB(0xE7,0x84,0xAE), MAKE_RGB(0xF8,0x95,0xBF), \ - MAKE_RGB(0xFF,0xA6,0xD3), MAKE_RGB(0xFF,0xB7,0xE9), MAKE_RGB(0xFF,0xC8,0xEE), MAKE_RGB(0xFF,0xD9,0xF4 ) + MAKE_RGB(0x3D,0x00,0x10), MAKE_RGB(0x4E,0x00,0x1C), MAKE_RGB(0x5F,0x00,0x27), MAKE_RGB(0x70,0x0D,0x37), \ + MAKE_RGB(0x81,0x1E,0x48), MAKE_RGB(0x92,0x2F,0x59), MAKE_RGB(0xA3,0x40,0x6A), MAKE_RGB(0xB4,0x51,0x7B), \ + MAKE_RGB(0xC5,0x62,0x8C), MAKE_RGB(0xD6,0x73,0x9D), MAKE_RGB(0xE7,0x84,0xAE), MAKE_RGB(0xF8,0x95,0xBF), \ + MAKE_RGB(0xFF,0xA6,0xD3), MAKE_RGB(0xFF,0xB7,0xE9), MAKE_RGB(0xFF,0xC8,0xEE), MAKE_RGB(0xFF,0xD9,0xF4 ) define NTSC_PURPLE - MAKE_RGB(0x2D,0x00,0x42), MAKE_RGB(0x3E,0x00,0x4E), MAKE_RGB(0x4F,0x00,0x5A), MAKE_RGB(0x60,0x0C,0x6A), \ - MAKE_RGB(0x71,0x1D,0x7B), MAKE_RGB(0x82,0x2E,0x8C), MAKE_RGB(0x93,0x3F,0x9D), MAKE_RGB(0xA4,0x50,0xAE), \ - MAKE_RGB(0xB5,0x61,0xBF), MAKE_RGB(0xC6,0x72,0xD0), MAKE_RGB(0xD7,0x83,0xE1), MAKE_RGB(0xE8,0x94,0xE6), \ - MAKE_RGB(0xF9,0xA5,0xE6), MAKE_RGB(0xFF,0xB6,0xE9), MAKE_RGB(0xFF,0xC7,0xEE), MAKE_RGB(0xFF,0xD8,0xF3 ) + MAKE_RGB(0x2D,0x00,0x42), MAKE_RGB(0x3E,0x00,0x4E), MAKE_RGB(0x4F,0x00,0x5A), MAKE_RGB(0x60,0x0C,0x6A), \ + MAKE_RGB(0x71,0x1D,0x7B), MAKE_RGB(0x82,0x2E,0x8C), MAKE_RGB(0x93,0x3F,0x9D), MAKE_RGB(0xA4,0x50,0xAE), \ + MAKE_RGB(0xB5,0x61,0xBF), MAKE_RGB(0xC6,0x72,0xD0), MAKE_RGB(0xD7,0x83,0xE1), MAKE_RGB(0xE8,0x94,0xE6), \ + MAKE_RGB(0xF9,0xA5,0xE6), MAKE_RGB(0xFF,0xB6,0xE9), MAKE_RGB(0xFF,0xC7,0xEE), MAKE_RGB(0xFF,0xD8,0xF3 ) define NTSC_PURPLE_BLUE - MAKE_RGB(0x13,0x00,0x67), MAKE_RGB(0x24,0x00,0x73), MAKE_RGB(0x35,0x03,0x80), MAKE_RGB(0x46,0x14,0x91), \ - MAKE_RGB(0x57,0x25,0xA2), MAKE_RGB(0x68,0x36,0xB3), MAKE_RGB(0x79,0x47,0xC4), MAKE_RGB(0x8A,0x58,0xD5), \ - MAKE_RGB(0x9B,0x69,0xE6), MAKE_RGB(0xAC,0x7A,0xF0), MAKE_RGB(0xBD,0x8B,0xF0), MAKE_RGB(0xCE,0x9C,0xF0), \ - MAKE_RGB(0xDF,0xAD,0xF0), MAKE_RGB(0xF0,0xBE,0xF0), MAKE_RGB(0xFF,0xCF,0xF1), MAKE_RGB(0xFF,0xE0,0xF6 ) + MAKE_RGB(0x13,0x00,0x67), MAKE_RGB(0x24,0x00,0x73), MAKE_RGB(0x35,0x03,0x80), MAKE_RGB(0x46,0x14,0x91), \ + MAKE_RGB(0x57,0x25,0xA2), MAKE_RGB(0x68,0x36,0xB3), MAKE_RGB(0x79,0x47,0xC4), MAKE_RGB(0x8A,0x58,0xD5), \ + MAKE_RGB(0x9B,0x69,0xE6), MAKE_RGB(0xAC,0x7A,0xF0), MAKE_RGB(0xBD,0x8B,0xF0), MAKE_RGB(0xCE,0x9C,0xF0), \ + MAKE_RGB(0xDF,0xAD,0xF0), MAKE_RGB(0xF0,0xBE,0xF0), MAKE_RGB(0xFF,0xCF,0xF1), MAKE_RGB(0xFF,0xE0,0xF6 ) define NTSC_BLUE1 - MAKE_RGB(0x00,0x00,0x70), MAKE_RGB(0x05,0x01,0x80), MAKE_RGB(0x16,0x12,0x91), MAKE_RGB(0x27,0x23,0xA2), \ - MAKE_RGB(0x38,0x34,0xB3), MAKE_RGB(0x49,0x45,0xC4), MAKE_RGB(0x5A,0x56,0xD5), MAKE_RGB(0x6B,0x67,0xE6), \ - MAKE_RGB(0x7C,0x78,0xF7), MAKE_RGB(0x8D,0x89,0xFE), MAKE_RGB(0x9E,0x9A,0xFE), MAKE_RGB(0xAF,0xAB,0xFE), \ - MAKE_RGB(0xC0,0xBC,0xFE), MAKE_RGB(0xD1,0xCD,0xFE), MAKE_RGB(0xE2,0xDE,0xFE), MAKE_RGB(0xF3,0xEF,0xFE ) + MAKE_RGB(0x00,0x00,0x70), MAKE_RGB(0x05,0x01,0x80), MAKE_RGB(0x16,0x12,0x91), MAKE_RGB(0x27,0x23,0xA2), \ + MAKE_RGB(0x38,0x34,0xB3), MAKE_RGB(0x49,0x45,0xC4), MAKE_RGB(0x5A,0x56,0xD5), MAKE_RGB(0x6B,0x67,0xE6), \ + MAKE_RGB(0x7C,0x78,0xF7), MAKE_RGB(0x8D,0x89,0xFE), MAKE_RGB(0x9E,0x9A,0xFE), MAKE_RGB(0xAF,0xAB,0xFE), \ + MAKE_RGB(0xC0,0xBC,0xFE), MAKE_RGB(0xD1,0xCD,0xFE), MAKE_RGB(0xE2,0xDE,0xFE), MAKE_RGB(0xF3,0xEF,0xFE ) define NTSC_BLUE2 - MAKE_RGB(0x00,0x03,0x5B), MAKE_RGB(0x00,0x14,0x71), MAKE_RGB(0x00,0x25,0x87), MAKE_RGB(0x0C,0x36,0x9A), \ - MAKE_RGB(0x1D,0x47,0xAB), MAKE_RGB(0x2E,0x58,0xBC), MAKE_RGB(0x3F,0x69,0xCD), MAKE_RGB(0x50,0x7A,0xDE), \ - MAKE_RGB(0x61,0x8B,0xEF), MAKE_RGB(0x72,0x9C,0xFF), MAKE_RGB(0x83,0xAD,0xFF), MAKE_RGB(0x94,0xBE,0xFF), \ - MAKE_RGB(0xA5,0xCF,0xFF), MAKE_RGB(0xB6,0xE0,0xFF), MAKE_RGB(0xC7,0xF1,0xFF), MAKE_RGB(0xD8,0xFF,0xFF ) + MAKE_RGB(0x00,0x03,0x5B), MAKE_RGB(0x00,0x14,0x71), MAKE_RGB(0x00,0x25,0x87), MAKE_RGB(0x0C,0x36,0x9A), \ + MAKE_RGB(0x1D,0x47,0xAB), MAKE_RGB(0x2E,0x58,0xBC), MAKE_RGB(0x3F,0x69,0xCD), MAKE_RGB(0x50,0x7A,0xDE), \ + MAKE_RGB(0x61,0x8B,0xEF), MAKE_RGB(0x72,0x9C,0xFF), MAKE_RGB(0x83,0xAD,0xFF), MAKE_RGB(0x94,0xBE,0xFF), \ + MAKE_RGB(0xA5,0xCF,0xFF), MAKE_RGB(0xB6,0xE0,0xFF), MAKE_RGB(0xC7,0xF1,0xFF), MAKE_RGB(0xD8,0xFF,0xFF ) define NTSC_LIGHT_BLUE - MAKE_RGB(0x00,0x15,0x35), MAKE_RGB(0x00,0x26,0x4B), MAKE_RGB(0x00,0x37,0x61), MAKE_RGB(0x00,0x48,0x78), \ - MAKE_RGB(0x0A,0x59,0x8B), MAKE_RGB(0x1B,0x6A,0x9C), MAKE_RGB(0x2C,0x7B,0xAD), MAKE_RGB(0x3D,0x8C,0xBE), \ - MAKE_RGB(0x4E,0x9D,0xCF), MAKE_RGB(0x5F,0xAE,0xE0), MAKE_RGB(0x70,0xBF,0xF1), MAKE_RGB(0x81,0xD0,0xFF), \ - MAKE_RGB(0x92,0xE1,0xFF), MAKE_RGB(0xA3,0xF2,0xFF), MAKE_RGB(0xB4,0xFF,0xFF), MAKE_RGB(0xC5,0xFF,0xFF ) + MAKE_RGB(0x00,0x15,0x35), MAKE_RGB(0x00,0x26,0x4B), MAKE_RGB(0x00,0x37,0x61), MAKE_RGB(0x00,0x48,0x78), \ + MAKE_RGB(0x0A,0x59,0x8B), MAKE_RGB(0x1B,0x6A,0x9C), MAKE_RGB(0x2C,0x7B,0xAD), MAKE_RGB(0x3D,0x8C,0xBE), \ + MAKE_RGB(0x4E,0x9D,0xCF), MAKE_RGB(0x5F,0xAE,0xE0), MAKE_RGB(0x70,0xBF,0xF1), MAKE_RGB(0x81,0xD0,0xFF), \ + MAKE_RGB(0x92,0xE1,0xFF), MAKE_RGB(0xA3,0xF2,0xFF), MAKE_RGB(0xB4,0xFF,0xFF), MAKE_RGB(0xC5,0xFF,0xFF ) define NTSC_TURQUOISE - MAKE_RGB(0x00,0x22,0x0A), MAKE_RGB(0x00,0x33,0x19), MAKE_RGB(0x00,0x44,0x2F), MAKE_RGB(0x00,0x55,0x45), \ - MAKE_RGB(0x04,0x66,0x5A), MAKE_RGB(0x15,0x77,0x6B), MAKE_RGB(0x26,0x88,0x7C), MAKE_RGB(0x37,0x99,0x8D), \ - MAKE_RGB(0x48,0xAA,0x9E), MAKE_RGB(0x59,0xBB,0xAF), MAKE_RGB(0x6A,0xCC,0xC0), MAKE_RGB(0x7B,0xDD,0xD1), \ - MAKE_RGB(0x8C,0xEE,0xE2), MAKE_RGB(0x9D,0xFF,0xF3), MAKE_RGB(0xAE,0xFF,0xFF), MAKE_RGB(0xBF,0xFF,0xFF ) + MAKE_RGB(0x00,0x22,0x0A), MAKE_RGB(0x00,0x33,0x19), MAKE_RGB(0x00,0x44,0x2F), MAKE_RGB(0x00,0x55,0x45), \ + MAKE_RGB(0x04,0x66,0x5A), MAKE_RGB(0x15,0x77,0x6B), MAKE_RGB(0x26,0x88,0x7C), MAKE_RGB(0x37,0x99,0x8D), \ + MAKE_RGB(0x48,0xAA,0x9E), MAKE_RGB(0x59,0xBB,0xAF), MAKE_RGB(0x6A,0xCC,0xC0), MAKE_RGB(0x7B,0xDD,0xD1), \ + MAKE_RGB(0x8C,0xEE,0xE2), MAKE_RGB(0x9D,0xFF,0xF3), MAKE_RGB(0xAE,0xFF,0xFF), MAKE_RGB(0xBF,0xFF,0xFF ) define NTSC_GREEN_BLUE - MAKE_RGB(0x00,0x27,0x0C), MAKE_RGB(0x00,0x38,0x11), MAKE_RGB(0x00,0x49,0x16), MAKE_RGB(0x00,0x5A,0x1B), \ - MAKE_RGB(0x0D,0x6B,0x25), MAKE_RGB(0x1E,0x7C,0x36), MAKE_RGB(0x2F,0x8D,0x47), MAKE_RGB(0x40,0x9E,0x58), \ - MAKE_RGB(0x51,0xAF,0x69), MAKE_RGB(0x62,0xC0,0x7A), MAKE_RGB(0x73,0xD1,0x8B), MAKE_RGB(0x84,0xE2,0x9C), \ - MAKE_RGB(0x95,0xF3,0xAD), MAKE_RGB(0xA6,0xFF,0xBD), MAKE_RGB(0xB7,0xFF,0xC9), MAKE_RGB(0xC8,0xFF,0xD4 ) + MAKE_RGB(0x00,0x27,0x0C), MAKE_RGB(0x00,0x38,0x11), MAKE_RGB(0x00,0x49,0x16), MAKE_RGB(0x00,0x5A,0x1B), \ + MAKE_RGB(0x0D,0x6B,0x25), MAKE_RGB(0x1E,0x7C,0x36), MAKE_RGB(0x2F,0x8D,0x47), MAKE_RGB(0x40,0x9E,0x58), \ + MAKE_RGB(0x51,0xAF,0x69), MAKE_RGB(0x62,0xC0,0x7A), MAKE_RGB(0x73,0xD1,0x8B), MAKE_RGB(0x84,0xE2,0x9C), \ + MAKE_RGB(0x95,0xF3,0xAD), MAKE_RGB(0xA6,0xFF,0xBD), MAKE_RGB(0xB7,0xFF,0xC9), MAKE_RGB(0xC8,0xFF,0xD4 ) define NTSC_GREEN - MAKE_RGB(0x00,0x24,0x0B), MAKE_RGB(0x00,0x35,0x10), MAKE_RGB(0x01,0x46,0x15), MAKE_RGB(0x12,0x57,0x15), \ - MAKE_RGB(0x23,0x68,0x15), MAKE_RGB(0x34,0x79,0x15), MAKE_RGB(0x45,0x8A,0x19), MAKE_RGB(0x56,0x9B,0x2A), \ - MAKE_RGB(0x67,0xAC,0x3B), MAKE_RGB(0x78,0xBD,0x4C), MAKE_RGB(0x89,0xCE,0x5D), MAKE_RGB(0x9A,0xDF,0x6E), \ - MAKE_RGB(0xAB,0xF0,0x7F), MAKE_RGB(0xBC,0xFF,0x8F), MAKE_RGB(0xCD,0xFF,0x9B), MAKE_RGB(0xDE,0xFF,0xA7 ) + MAKE_RGB(0x00,0x24,0x0B), MAKE_RGB(0x00,0x35,0x10), MAKE_RGB(0x01,0x46,0x15), MAKE_RGB(0x12,0x57,0x15), \ + MAKE_RGB(0x23,0x68,0x15), MAKE_RGB(0x34,0x79,0x15), MAKE_RGB(0x45,0x8A,0x19), MAKE_RGB(0x56,0x9B,0x2A), \ + MAKE_RGB(0x67,0xAC,0x3B), MAKE_RGB(0x78,0xBD,0x4C), MAKE_RGB(0x89,0xCE,0x5D), MAKE_RGB(0x9A,0xDF,0x6E), \ + MAKE_RGB(0xAB,0xF0,0x7F), MAKE_RGB(0xBC,0xFF,0x8F), MAKE_RGB(0xCD,0xFF,0x9B), MAKE_RGB(0xDE,0xFF,0xA7 ) define NTSC_YELLOW_GREEN - MAKE_RGB(0x00,0x18,0x07), MAKE_RGB(0x00,0x29,0x0C), MAKE_RGB(0x1E,0x3A,0x08), MAKE_RGB(0x2F,0x4B,0x08), \ - MAKE_RGB(0x40,0x5C,0x08), MAKE_RGB(0x51,0x6D,0x08), MAKE_RGB(0x62,0x7E,0x08), MAKE_RGB(0x73,0x8F,0x0D), \ - MAKE_RGB(0x84,0xA0,0x1E), MAKE_RGB(0x95,0xB1,0x2F), MAKE_RGB(0xA6,0xC2,0x40), MAKE_RGB(0xB7,0xD3,0x51), \ - MAKE_RGB(0xC8,0xE4,0x62), MAKE_RGB(0xD9,0xF5,0x73), MAKE_RGB(0xEA,0xFF,0x82), MAKE_RGB(0xFB,0xFF,0x8E ) + MAKE_RGB(0x00,0x18,0x07), MAKE_RGB(0x00,0x29,0x0C), MAKE_RGB(0x1E,0x3A,0x08), MAKE_RGB(0x2F,0x4B,0x08), \ + MAKE_RGB(0x40,0x5C,0x08), MAKE_RGB(0x51,0x6D,0x08), MAKE_RGB(0x62,0x7E,0x08), MAKE_RGB(0x73,0x8F,0x0D), \ + MAKE_RGB(0x84,0xA0,0x1E), MAKE_RGB(0x95,0xB1,0x2F), MAKE_RGB(0xA6,0xC2,0x40), MAKE_RGB(0xB7,0xD3,0x51), \ + MAKE_RGB(0xC8,0xE4,0x62), MAKE_RGB(0xD9,0xF5,0x73), MAKE_RGB(0xEA,0xFF,0x82), MAKE_RGB(0xFB,0xFF,0x8E ) define NTSC_ORANGE_GREEN - MAKE_RGB(0x1B,0x07,0x00), MAKE_RGB(0x2C,0x18,0x00), MAKE_RGB(0x3D,0x29,0x00), MAKE_RGB(0x4E,0x3A,0x00), \ - MAKE_RGB(0x5F,0x4B,0x00), MAKE_RGB(0x70,0x5C,0x00), MAKE_RGB(0x81,0x6D,0x00), MAKE_RGB(0x92,0x7E,0x09), \ - MAKE_RGB(0xA3,0x8F,0x1A), MAKE_RGB(0xB4,0xA0,0x2B), MAKE_RGB(0xC5,0xB1,0x3C), MAKE_RGB(0xD6,0xC2,0x4D), \ - MAKE_RGB(0xE7,0xD3,0x5E), MAKE_RGB(0xF8,0xE4,0x6F), MAKE_RGB(0xFF,0xF5,0x83), MAKE_RGB(0xFF,0xFF,0x97 ) + MAKE_RGB(0x1B,0x07,0x00), MAKE_RGB(0x2C,0x18,0x00), MAKE_RGB(0x3D,0x29,0x00), MAKE_RGB(0x4E,0x3A,0x00), \ + MAKE_RGB(0x5F,0x4B,0x00), MAKE_RGB(0x70,0x5C,0x00), MAKE_RGB(0x81,0x6D,0x00), MAKE_RGB(0x92,0x7E,0x09), \ + MAKE_RGB(0xA3,0x8F,0x1A), MAKE_RGB(0xB4,0xA0,0x2B), MAKE_RGB(0xC5,0xB1,0x3C), MAKE_RGB(0xD6,0xC2,0x4D), \ + MAKE_RGB(0xE7,0xD3,0x5E), MAKE_RGB(0xF8,0xE4,0x6F), MAKE_RGB(0xFF,0xF5,0x83), MAKE_RGB(0xFF,0xFF,0x97 ) define NTSC_LIGHT_ORANGE - MAKE_RGB(0x33,0x00,0x00), MAKE_RGB(0x44,0x05,0x00), MAKE_RGB(0x55,0x16,0x00), MAKE_RGB(0x66,0x27,0x00), \ - MAKE_RGB(0x77,0x38,0x00), MAKE_RGB(0x88,0x49,0x00), MAKE_RGB(0x99,0x5A,0x0D), MAKE_RGB(0xAA,0x6B,0x1E), \ - MAKE_RGB(0xBB,0x7C,0x2F), MAKE_RGB(0xCC,0x8D,0x40), MAKE_RGB(0xDD,0x9E,0x51), MAKE_RGB(0xEE,0xAF,0x62), \ - MAKE_RGB(0xFF,0xC0,0x73), MAKE_RGB(0xFF,0xD1,0x89), MAKE_RGB(0xFF,0xE2,0x9F), MAKE_RGB(0xFF,0xF3,0xB5 ) + MAKE_RGB(0x33,0x00,0x00), MAKE_RGB(0x44,0x05,0x00), MAKE_RGB(0x55,0x16,0x00), MAKE_RGB(0x66,0x27,0x00), \ + MAKE_RGB(0x77,0x38,0x00), MAKE_RGB(0x88,0x49,0x00), MAKE_RGB(0x99,0x5A,0x0D), MAKE_RGB(0xAA,0x6B,0x1E), \ + MAKE_RGB(0xBB,0x7C,0x2F), MAKE_RGB(0xCC,0x8D,0x40), MAKE_RGB(0xDD,0x9E,0x51), MAKE_RGB(0xEE,0xAF,0x62), \ + MAKE_RGB(0xFF,0xC0,0x73), MAKE_RGB(0xFF,0xD1,0x89), MAKE_RGB(0xFF,0xE2,0x9F), MAKE_RGB(0xFF,0xF3,0xB5 ) ***************************************************************************/ /* Initialise the palette */ diff --git a/src/mess/drivers/abc1600.c b/src/mess/drivers/abc1600.c index 6d9bc684dd7..42cab12859e 100644 --- a/src/mess/drivers/abc1600.c +++ b/src/mess/drivers/abc1600.c @@ -478,8 +478,8 @@ static ADDRESS_MAP_START( mac_mem, AS_PROGRAM, 8, abc1600_state ) AM_RANGE(0x1ff300, 0x1ff300) AM_MIRROR(0xff) AM_DEVREADWRITE_LEGACY(Z8410AB1_0_TAG, z80dma_r, z80dma_w) AM_RANGE(0x1ff400, 0x1ff400) AM_MIRROR(0xff) AM_DEVREADWRITE_LEGACY(Z8410AB1_1_TAG, z80dma_r, z80dma_w) AM_RANGE(0x1ff500, 0x1ff500) AM_MIRROR(0xff) AM_DEVREADWRITE_LEGACY(Z8410AB1_2_TAG, z80dma_r, z80dma_w) - AM_RANGE(0x1ff600, 0x1ff607) AM_MIRROR(0xf8) AM_READWRITE(scc_r, scc_w) - AM_RANGE(0x1ff700, 0x1ff707) AM_MIRROR(0xf8) AM_READWRITE(cio_r, cio_w) + AM_RANGE(0x1ff600, 0x1ff607) AM_MIRROR(0xf8) AM_READWRITE(scc_r, scc_w) + AM_RANGE(0x1ff700, 0x1ff707) AM_MIRROR(0xf8) AM_READWRITE(cio_r, cio_w) AM_RANGE(0x1ff800, 0x1ffaff) AM_DEVICE(ABC1600_MOVER_TAG, abc1600_mover_device, io_map) AM_RANGE(0x1ffb00, 0x1ffb00) AM_MIRROR(0x7e) AM_WRITE(fw0_w) AM_RANGE(0x1ffb01, 0x1ffb01) AM_MIRROR(0x7e) AM_WRITE(fw1_w) diff --git a/src/mess/drivers/apple2.c b/src/mess/drivers/apple2.c index 915580301e4..834372a4cfd 100644 --- a/src/mess/drivers/apple2.c +++ b/src/mess/drivers/apple2.c @@ -639,7 +639,7 @@ static SLOT_INTERFACE_START(apple2_cards) SLOT_INTERFACE("zipdrive", A2BUS_ZIPDRIVE) /* ZIP Technologies IDE card */ SLOT_INTERFACE("echoiiplus", A2BUS_ECHOPLUS) /* Street Electronics Echo Plus (Echo II + Mockingboard clone) */ SLOT_INTERFACE("scsi", A2BUS_SCSI) /* Apple II SCSI Card */ - SLOT_INTERFACE("applicard", A2BUS_APPLICARD) /* PCPI Applicard */ + SLOT_INTERFACE("applicard", A2BUS_APPLICARD) /* PCPI Applicard */ SLOT_INTERFACE_END static SLOT_INTERFACE_START(apple2eaux_cards) @@ -1150,23 +1150,23 @@ ROM_END #if 0 ROM_START(laba2p) /* II Plus clone with on-board Disk II controller and Videx-compatible 80-column card, supposedly from lab equipment */ ROM_REGION(0x1000,"gfx1",0) - ROM_LOAD( "char.u30", 0x0000, 0x1000, CRC(2dbaef88) SHA1(9834842796132a11facd57923326d6954bcb609f) ) + ROM_LOAD( "char.u30", 0x0000, 0x1000, CRC(2dbaef88) SHA1(9834842796132a11facd57923326d6954bcb609f) ) ROM_REGION(0x4700,"maincpu",0) - ROM_LOAD( "maind0.u35", 0x1000, 0x1000, CRC(24d73c7b) SHA1(d17a15868dc875c67061c95ec53a6b2699d3a425) ) - ROM_LOAD( "maine0.u34", 0x2000, 0x2000, CRC(314462ca) SHA1(5a23616dca14e59b4aca8ff6cfa0d98592a78a79) ) + ROM_LOAD( "maind0.u35", 0x1000, 0x1000, CRC(24d73c7b) SHA1(d17a15868dc875c67061c95ec53a6b2699d3a425) ) + ROM_LOAD( "maine0.u34", 0x2000, 0x2000, CRC(314462ca) SHA1(5a23616dca14e59b4aca8ff6cfa0d98592a78a79) ) ROM_REGION(0x1000, "fw80col", 0) - ROM_LOAD( "80cfw.u3", 0x0000, 0x1000, CRC(92d2b8b0) SHA1(5149483eb3e550ece1584e85fc821bb04d068dec) ) // firmware for on-board Videx + ROM_LOAD( "80cfw.u3", 0x0000, 0x1000, CRC(92d2b8b0) SHA1(5149483eb3e550ece1584e85fc821bb04d068dec) ) // firmware for on-board Videx ROM_REGION(0x1000, "cg80col", 0) - ROM_LOAD( "80ccgv80.u25", 0x0000, 0x1000, CRC(6d5e2707) SHA1(c56f76e8a366fee7374eb09f4866435c692490b2) ) // character generator for on-board Videx + ROM_LOAD( "80ccgv80.u25", 0x0000, 0x1000, CRC(6d5e2707) SHA1(c56f76e8a366fee7374eb09f4866435c692490b2) ) // character generator for on-board Videx ROM_REGION(0x800, "diskii", 0) - ROM_LOAD( "diskfw.u7", 0x0000, 0x0800, CRC(9207ef4e) SHA1(5fcffa4c68b16a7ef2f62651d4c7470400e5bd35) ) // firmware for on-board Disk II + ROM_LOAD( "diskfw.u7", 0x0000, 0x0800, CRC(9207ef4e) SHA1(5fcffa4c68b16a7ef2f62651d4c7470400e5bd35) ) // firmware for on-board Disk II ROM_REGION(0x800, "unknown", 0) - ROM_LOAD( "unk.u5", 0x0000, 0x0800, CRC(240a1774) SHA1(e6aeb0702dc99d76fd8c5a642fdfbe9ab896acd4) ) // unknown ROM + ROM_LOAD( "unk.u5", 0x0000, 0x0800, CRC(240a1774) SHA1(e6aeb0702dc99d76fd8c5a642fdfbe9ab896acd4) ) // unknown ROM ROM_END #endif @@ -1197,4 +1197,3 @@ COMP( 1984, agat9, apple2, 0, apple2p, apple2p, driver_device, COMP( 1985, space84, apple2, 0, space84, apple2p, driver_device, 0, "ComputerTechnik/IBS", "Space 84", GAME_NOT_WORKING ) COMP( 1985, am64, apple2, 0, space84, apple2p, driver_device, 0, "ASEM", "AM 64", GAME_SUPPORTS_SAVE ) //COMP( 19??, laba2p, apple2, 0, laba2p, apple2p, driver_device, 0, "<unknown>", "Lab equipment Apple II Plus clone", GAME_SUPPORTS_SAVE ) - diff --git a/src/mess/drivers/apricot.c b/src/mess/drivers/apricot.c index f5489a38b32..99fb2e5386d 100644 --- a/src/mess/drivers/apricot.c +++ b/src/mess/drivers/apricot.c @@ -342,8 +342,8 @@ void apricot_state::machine_start() //************************************************************************** static ADDRESS_MAP_START( apricot_mem, AS_PROGRAM, 16, apricot_state ) -// AM_RANGE(0x00000, 0x3ffff) AM_RAMBANK("standard_ram") -// AM_RANGE(0x40000, 0xeffff) AM_RAMBANK("expansion_ram") +// AM_RANGE(0x00000, 0x3ffff) AM_RAMBANK("standard_ram") +// AM_RANGE(0x40000, 0xeffff) AM_RAMBANK("expansion_ram") AM_RANGE(0xf0000, 0xf0fff) AM_MIRROR(0x7000) AM_RAM AM_SHARE("screen_buffer") AM_RANGE(0xfc000, 0xfffff) AM_MIRROR(0x4000) AM_ROM AM_REGION("bootstrap", 0) ADDRESS_MAP_END diff --git a/src/mess/drivers/cat.c b/src/mess/drivers/cat.c index 9eb72b20f66..085cd792ed4 100644 --- a/src/mess/drivers/cat.c +++ b/src/mess/drivers/cat.c @@ -154,7 +154,7 @@ Canon Cat: Crystals: X1: 19.968Mhz, used by GA2 (plus a PLL to multiply by 2?), and divide by 4 for cpuclk, divide by 8 for 2.5mhz and divide by 5.5 for 3.63mhz (is this - suposed to be divide by 6? there may not be a pll if it is...) + suposed to be divide by 6? there may not be a pll if it is...) X2: 3.579545Mhz, used by the DTMF generator chip AMI S2579 at IC40 X3: 2.4576Mhz, used by the modem chip AMI S35213 at IC37 @@ -183,7 +183,7 @@ Board name: 950-0001C | TMS4256 74F153 "VIDEO 2B" .----------. J4 | K = | | AM27256 | 74HC02 74HC374 || | O = | TMS4256 74F153 74LS393 |__________| || UM95089 Y2 | U = -|_____________________________________(j9)________________________________________________________|_T___= +|_____________________________________(j9)________________________________________________________|_T___= "TIMING B" - AMPAL16R4APC (marked on silkscreen "TIMING PAL") "DECODE E" - AMPAL16L8PC (marked on silkscreen "DECODE PAL") diff --git a/src/mess/drivers/cosmicos.c b/src/mess/drivers/cosmicos.c index bf4fbd3f206..33641343368 100644 --- a/src/mess/drivers/cosmicos.c +++ b/src/mess/drivers/cosmicos.c @@ -69,7 +69,7 @@ READ8_MEMBER( cosmicos_state::read ) WRITE8_MEMBER( cosmicos_state::write ) { if (m_boot) offset |= 0xc0c0; - + if (offset < 0xc000) { // TODO @@ -77,7 +77,7 @@ WRITE8_MEMBER( cosmicos_state::write ) else if (!m_ram_disable && !m_ram_protect && (offset >= 0xff00)) { m_ram->pointer()[offset & 0xff] = data; - } + } } READ8_MEMBER( cosmicos_state::video_off_r ) diff --git a/src/mess/drivers/dccons.c b/src/mess/drivers/dccons.c index f7bc3e87edc..6a43cc4556e 100644 --- a/src/mess/drivers/dccons.c +++ b/src/mess/drivers/dccons.c @@ -24,236 +24,236 @@ - Carrier: Jaleco logo uses YUV, but y size is halved? - Close To: Hangs at FMV - F355 Challenge: black screen after Sega logo; - - Gundam - Side Story 0079: currently hangs at Bandai logo (regression) - - Idol Janshi wo Tsukucchaou: pixel aspect is way wrong (stretched and offsetted horizontally) - - Power Stone: hangs at Capcom logo; - - Sega GT: no cursor on main menu; - - Tetris 4D: hangs at BPS FMV (bp 0C0B0C4E) - - Notes: - - DC US and DC PAL flash ROMs are definitely hacked, they are set to have Chinese instead of Japanese. - - 0x1a002 of flash ROM returns the region type (0x30=Japan, 0x31=USA, 0x32=Europe). Amusingly, if the value - on a non-jp console is different than these ones, the system shows a black swirl (and nothing boots). - - gdi file for DCLP (a Dreamcast tester) doesn't have first two tracks info, they are: - 1 0 4 2048 FILE0001.DUP 0 + - Gundam - Side Story 0079: currently hangs at Bandai logo (regression) + - Idol Janshi wo Tsukucchaou: pixel aspect is way wrong (stretched and offsetted horizontally) + - Power Stone: hangs at Capcom logo; + - Sega GT: no cursor on main menu; + - Tetris 4D: hangs at BPS FMV (bp 0C0B0C4E) + + Notes: + - DC US and DC PAL flash ROMs are definitely hacked, they are set to have Chinese instead of Japanese. + - 0x1a002 of flash ROM returns the region type (0x30=Japan, 0x31=USA, 0x32=Europe). Amusingly, if the value + on a non-jp console is different than these ones, the system shows a black swirl (and nothing boots). + - gdi file for DCLP (a Dreamcast tester) doesn't have first two tracks info, they are: + 1 0 4 2048 FILE0001.DUP 0 2 1798 0 2352 FILE0002.DUP 0 - serial i/o also fails on that, work ram addresses that needs to be patched with 0x0009 (nop) are: - 0xc0196da - 0xc0196ec - SH4 TEST: - UBC test (0101): - ok - FPU test (0201): - NG - 0xc03fe24 work ram flag check (1=error, 0=ok) - Cache test (03xx): - Cache Read/Write test (0301) - NG - Cache RAM mode Check (0305) - NG - MMU test (04xx): - asserts - TMU test (0501): - *_reg check -> ok - TCNT* reload -> NG - TCNT* underflow irq -> NG - MULT test (0601) - ok - DIVU test (0701) - ok - Store Queue test (0801): - ok - SCIF test (0901) - NG - Private Instruction test (0a01) - NG - Critical test (0dxx) - Critical (Store Queue) test (0d01): - ok - Critical (Write back) test (0d02): - ok - Critical (ADD,CMP/EQ) test (0d03): - ok - Critical (OC_OIX) test (0d04): - NG - Critical (MAX current) test (0d05): - ok (very slow!) - Critical (IC Cross Talk) test (0d06): - NG - Critical (Cache D-array) test (0d07): - NG - SH-4 BUG (0exx) - SH4_BUG 64bit FMOV - ok - SH4 BUG FIX (64bitFMOV) - ok - MEM TEST: - AICA (0102) - ok - Work RAM (0204): - ok - PV64 area (0303): - ok - PV32 area (0403): - ok - CLX TEST: - CLX internal RAM (0101): - ok - <Torus> check (0401): - (sets up RGB888 mode 2, assuming it's critically failed) - TA TEST: - TA_YUVINT (0101): - ok -> IST_EOXFER_YUV - TA_OENDINT (0102): - ok -> IST_EOXFER_OPLST - TA_OMENDINT (0103): - ok -> IST_EOXFER_OPMV - TA_TENDINT (0104): - ok -> IST_EOXFER_TRLST - TA_TMENDINT (0105): - ok -> IST_EOXFER_TRMV - TA_PTENDINT (0106): - ok -> IST_EOXFER_PTLST - TA_ISPINT (0107): - NG -> ISP/TSP Parameter Overflow (error) - TA_OBJINT (0108): - NG -> OBJect list pointer Overflow (error) - TA_IPINT (0109): - NG -> TA: Illegal parameter (error) - YUV Converter (0201): - ok - DDT i/f TEST: - Sort, Normal DMA (1) (0101) - hangs (wants Sort DMA irq, of course) - Sort, Normal DMA (2) - ... - Through - NG, hangs again - DC_DEINT (0201) - ok - DC_SDTEINT (0202) - ok - DC_SDTERINT (0203) - ok (but returns error count ++, think it's a bug in the SW) - G2 TEST - DMA (0101): - G2 EXT AREA DETECT: - "!!!! ch00 ERROR DETECT !!!!" - Interrupt (0301): - G2 EXT AREA DETECT - DMA END INT - hangs - Ext Interrupt (06xx) - AICA INT (0601) - error detect - Modem INT (0602) - error detect - AICA TEST - Sound RAM (01xx) - Pattern R/W check (0101) - ok - Register (02xx) - CH Data (0201) - ok - EXT Input (0202) - ok - DSP Data (0203) - ok - S_Clock (03xx) - 50MSEC (0301) - NG -> ~0xa58 in 0x702814, must be > 0x889 and < 0x8b0 - 25MSEC (0302) - NG -> ~0x372 in 0x702814, must be > 0x443 and < 0x45a - Timer (04xx) - Timer A (0401) - NG - Timer B (0402) - NG - Timer C (0403) - NG - DMA (05xx) - SRAM -> CH Reg (0501) - ok - SRAM -> Comm Reg (0502) - ok - SRAM -> DSP Reg (0503) - ok - CH Reg -> SRAM (0504) - ok - Comm Reg -> SRAM (0505) - ok - DSP Reg -> SRAM (0506) - ok - Clear SRAM (0507) - ok - Clear CH Reg (0508) - ok - Clear Comm Reg (0509) - ok - Clear DSP Reg (050a) - ok - Interrupt (06xx) - Sampling clock (0601) - NG (irq 0x400) - Timer A (0602) - randomly NG/ok - Timer B (0603) - ok - Timer C (0604) - ok - DMA End (0605) - ok - Midi Out (0606) - NG - Main CPU (0607) - ok - RTC (07xx) - Write Protect (0701) - ok - RW Comp (0702) - ok - Clock (0703) - NG - ARM7 (08xx) - Load & Start (0801) - NG - Timer & Intr (0802) - NG - DMA (0803) - NG - Ch-Reg R/W (0804) - ok - SRAM incr (0805) - NG - SRAM pattern (0806) - ok - EG (09xx) - LSA-Reg Left (0901) - ok/NG - LSA-Reg Right (0902) - ok/NG - LSA-Reg Left & Right (0903) - ok/NG - MIDI (0axx) - OEMP bit (0a01) - NG - OFLL bit (0a02) - NG - PVRi/f test - DMA (01xx) - CPU trig (0101) - ok - INT trig - ok - Interrupt (02xx) - PVR DMA end Int (0201) - ok - PVR DMA IA Int (0202) - NG - PVR DMA end (0203) - NG - Flash test: - (SH-4 jumps to la la land as soon as this is started) + serial i/o also fails on that, work ram addresses that needs to be patched with 0x0009 (nop) are: + 0xc0196da + 0xc0196ec + SH4 TEST: + UBC test (0101): + ok + FPU test (0201): + NG + 0xc03fe24 work ram flag check (1=error, 0=ok) + Cache test (03xx): + Cache Read/Write test (0301) + NG + Cache RAM mode Check (0305) + NG + MMU test (04xx): + asserts + TMU test (0501): + *_reg check -> ok + TCNT* reload -> NG + TCNT* underflow irq -> NG + MULT test (0601) + ok + DIVU test (0701) + ok + Store Queue test (0801): + ok + SCIF test (0901) + NG + Private Instruction test (0a01) + NG + Critical test (0dxx) + Critical (Store Queue) test (0d01): + ok + Critical (Write back) test (0d02): + ok + Critical (ADD,CMP/EQ) test (0d03): + ok + Critical (OC_OIX) test (0d04): + NG + Critical (MAX current) test (0d05): + ok (very slow!) + Critical (IC Cross Talk) test (0d06): + NG + Critical (Cache D-array) test (0d07): + NG + SH-4 BUG (0exx) + SH4_BUG 64bit FMOV + ok + SH4 BUG FIX (64bitFMOV) + ok + MEM TEST: + AICA (0102) + ok + Work RAM (0204): + ok + PV64 area (0303): + ok + PV32 area (0403): + ok + CLX TEST: + CLX internal RAM (0101): + ok + <Torus> check (0401): + (sets up RGB888 mode 2, assuming it's critically failed) + TA TEST: + TA_YUVINT (0101): + ok -> IST_EOXFER_YUV + TA_OENDINT (0102): + ok -> IST_EOXFER_OPLST + TA_OMENDINT (0103): + ok -> IST_EOXFER_OPMV + TA_TENDINT (0104): + ok -> IST_EOXFER_TRLST + TA_TMENDINT (0105): + ok -> IST_EOXFER_TRMV + TA_PTENDINT (0106): + ok -> IST_EOXFER_PTLST + TA_ISPINT (0107): + NG -> ISP/TSP Parameter Overflow (error) + TA_OBJINT (0108): + NG -> OBJect list pointer Overflow (error) + TA_IPINT (0109): + NG -> TA: Illegal parameter (error) + YUV Converter (0201): + ok + DDT i/f TEST: + Sort, Normal DMA (1) (0101) + hangs (wants Sort DMA irq, of course) + Sort, Normal DMA (2) + ... + Through + NG, hangs again + DC_DEINT (0201) + ok + DC_SDTEINT (0202) + ok + DC_SDTERINT (0203) + ok (but returns error count ++, think it's a bug in the SW) + G2 TEST + DMA (0101): + G2 EXT AREA DETECT: + "!!!! ch00 ERROR DETECT !!!!" + Interrupt (0301): + G2 EXT AREA DETECT + DMA END INT + hangs + Ext Interrupt (06xx) + AICA INT (0601) + error detect + Modem INT (0602) + error detect + AICA TEST + Sound RAM (01xx) + Pattern R/W check (0101) + ok + Register (02xx) + CH Data (0201) + ok + EXT Input (0202) + ok + DSP Data (0203) + ok + S_Clock (03xx) + 50MSEC (0301) + NG -> ~0xa58 in 0x702814, must be > 0x889 and < 0x8b0 + 25MSEC (0302) + NG -> ~0x372 in 0x702814, must be > 0x443 and < 0x45a + Timer (04xx) + Timer A (0401) + NG + Timer B (0402) + NG + Timer C (0403) + NG + DMA (05xx) + SRAM -> CH Reg (0501) + ok + SRAM -> Comm Reg (0502) + ok + SRAM -> DSP Reg (0503) + ok + CH Reg -> SRAM (0504) + ok + Comm Reg -> SRAM (0505) + ok + DSP Reg -> SRAM (0506) + ok + Clear SRAM (0507) + ok + Clear CH Reg (0508) + ok + Clear Comm Reg (0509) + ok + Clear DSP Reg (050a) + ok + Interrupt (06xx) + Sampling clock (0601) + NG (irq 0x400) + Timer A (0602) + randomly NG/ok + Timer B (0603) + ok + Timer C (0604) + ok + DMA End (0605) + ok + Midi Out (0606) + NG + Main CPU (0607) + ok + RTC (07xx) + Write Protect (0701) + ok + RW Comp (0702) + ok + Clock (0703) + NG + ARM7 (08xx) + Load & Start (0801) + NG + Timer & Intr (0802) + NG + DMA (0803) + NG + Ch-Reg R/W (0804) + ok + SRAM incr (0805) + NG + SRAM pattern (0806) + ok + EG (09xx) + LSA-Reg Left (0901) + ok/NG + LSA-Reg Right (0902) + ok/NG + LSA-Reg Left & Right (0903) + ok/NG + MIDI (0axx) + OEMP bit (0a01) + NG + OFLL bit (0a02) + NG + PVRi/f test + DMA (01xx) + CPU trig (0101) + ok + INT trig + ok + Interrupt (02xx) + PVR DMA end Int (0201) + ok + PVR DMA IA Int (0202) + NG + PVR DMA end (0203) + NG + Flash test: + (SH-4 jumps to la la land as soon as this is started) */ @@ -275,7 +275,7 @@ READ64_MEMBER(dc_cons_state::dcus_idle_skip_r ) { //if (space.device().safe_pc()==0xc0ba52a) - // space.device().execute().spin_until_time(attotime::from_usec(2500)); + // space.device().execute().spin_until_time(attotime::from_usec(2500)); // device_spinuntil_int(&space.device()); return dc_ram[0x2303b0/8]; @@ -284,7 +284,7 @@ READ64_MEMBER(dc_cons_state::dcus_idle_skip_r ) READ64_MEMBER(dc_cons_state::dcjp_idle_skip_r ) { //if (space.device().safe_pc()==0xc0bac62) - // space.device().execute().spin_until_time(attotime::from_usec(2500)); + // space.device().execute().spin_until_time(attotime::from_usec(2500)); // device_spinuntil_int(&space.device()); return dc_ram[0x2302f8/8]; @@ -384,7 +384,7 @@ static ADDRESS_MAP_START( dc_map, AS_PROGRAM, 64, dc_cons_state ) AM_RANGE(0x00800000, 0x009fffff) AM_READWRITE(dc_arm_r, dc_arm_w ) // AM_RANGE(0x01000000, 0x01ffffff) G2 Ext Device #1 // AM_RANGE(0x02700000, 0x02707fff) AICA reg mirror -// AM_RANGE(0x02800000, 0x02ffffff) AICA wave mem mirror +// AM_RANGE(0x02800000, 0x02ffffff) AICA wave mem mirror // AM_RANGE(0x03000000, 0x03ffffff) G2 Ext Device #2 @@ -627,7 +627,7 @@ static MACHINE_CONFIG_START( dc, dc_cons_state ) MCFG_MACHINE_RESET_OVERRIDE(dc_cons_state,dc_console ) -// MCFG_MACRONIX_29LV160TMC_ADD("dcflash") +// MCFG_MACRONIX_29LV160TMC_ADD("dcflash") MCFG_MAPLE_DC_ADD( "maple_dc", "maincpu", dc_maple_irq ) MCFG_DC_CONTROLLER_ADD("dcctrl0", "maple_dc", 0, ":P1:0", ":P1:1", ":P1:A0", ":P1:A1", ":P1:A2", ":P1:A3", ":P1:A4", ":P1:A5") diff --git a/src/mess/drivers/dsb46.c b/src/mess/drivers/dsb46.c index d26f52d2fe6..0c60e432ed1 100644 --- a/src/mess/drivers/dsb46.c +++ b/src/mess/drivers/dsb46.c @@ -77,7 +77,7 @@ WRITE8_MEMBER( dsb46_state::port1a_w ) { membank("read")->set_entry(data & 1); } - + READ8_MEMBER( dsb46_state::port01_r ) { return (m_term_data) ? 5 : 4; diff --git a/src/mess/drivers/esq5505.c b/src/mess/drivers/esq5505.c index c4f1a6e1fa9..a40a46b39f1 100644 --- a/src/mess/drivers/esq5505.c +++ b/src/mess/drivers/esq5505.c @@ -107,7 +107,7 @@ 5 = Volume Slider 6 = Battery 7 = Voltage Reference - + SQ-1: 4 = second digit of patch # becomes 2 5 = first digit of patch # becomes 2 @@ -117,11 +117,11 @@ 12 = patch -1 13 = patch +1 14 = second digit of patch # becomes 5 - 15 = first digit of patch # becomes 5 + 15 = first digit of patch # becomes 5 20 = select sound? - 22 = second digit of patch # becomes 6 - 23 = first digit of patch # becomes 6 - + 22 = second digit of patch # becomes 6 + 23 = first digit of patch # becomes 6 + ***************************************************************************/ #include <cstdio> @@ -843,8 +843,8 @@ ROM_END ROM_START( sd1 ) ROM_REGION(0x40000, "osrom", 0) - ROM_LOAD16_BYTE( "sd1_21_300b_lower.bin", 0x000000, 0x020000, CRC(a1358a0c) SHA1(64ac5358aa46da37ca4195002cf358554e00878a) ) - ROM_LOAD16_BYTE( "sd1_21_300b_upper.bin", 0x000001, 0x010000, CRC(465ba463) SHA1(899b0e83d0788c8d49c7b09ccf0b4a92b528c6e9) ) + ROM_LOAD16_BYTE( "sd1_21_300b_lower.bin", 0x000000, 0x020000, CRC(a1358a0c) SHA1(64ac5358aa46da37ca4195002cf358554e00878a) ) + ROM_LOAD16_BYTE( "sd1_21_300b_upper.bin", 0x000001, 0x010000, CRC(465ba463) SHA1(899b0e83d0788c8d49c7b09ccf0b4a92b528c6e9) ) ROM_REGION(0x200000, "waverom", ROMREGION_ERASE00) // BS=0 region (12-bit) ROM_LOAD16_BYTE( "u34.bin", 0x000001, 0x080000, CRC(85592299) SHA1(1aa7cf612f91972baeba15991d9686ccde01599c) ) @@ -865,8 +865,8 @@ ROM_START( sd132 ) ROM_LOAD16_BYTE_BIOS(0, "sd1_410_lo.bin", 0x000000, 0x020000, CRC(faa613a6) SHA1(60066765cddfa9d3b5d09057d8f83fb120f4e65e) ) ROM_LOAD16_BYTE_BIOS(0, "sd1_410_hi.bin", 0x000001, 0x010000, CRC(618c0aa8) SHA1(74acf458aa1d04a0a7a0cd5855c49e6855dbd301) ) ROM_SYSTEM_BIOS(1, "402", "SD-1 v4.02") - ROM_LOAD16_BYTE_BIOS(1, "sd1_32_402_lo.bin", 0x000000, 0x020000, CRC(5da2572b) SHA1(cb6ddd637ed13bfeb40a99df56000479e63fc8ec) ) - ROM_LOAD16_BYTE_BIOS(1, "sd1_32_402_hi.bin", 0x000001, 0x010000, CRC(fc45c210) SHA1(23b81ebd9176112e6eae0c7c75b39fcb1656c953) ) + ROM_LOAD16_BYTE_BIOS(1, "sd1_32_402_lo.bin", 0x000000, 0x020000, CRC(5da2572b) SHA1(cb6ddd637ed13bfeb40a99df56000479e63fc8ec) ) + ROM_LOAD16_BYTE_BIOS(1, "sd1_32_402_hi.bin", 0x000001, 0x010000, CRC(fc45c210) SHA1(23b81ebd9176112e6eae0c7c75b39fcb1656c953) ) ROM_REGION(0x200000, "waverom", ROMREGION_ERASE00) // BS=0 region (12-bit) ROM_LOAD16_BYTE( "u34.bin", 0x000001, 0x080000, CRC(85592299) SHA1(1aa7cf612f91972baeba15991d9686ccde01599c) ) @@ -964,7 +964,7 @@ DRIVER_INIT_MEMBER(esq5505_state,denib) CONS( 1988, eps, 0, 0, eps, vfx, esq5505_state, eps, "Ensoniq", "EPS", GAME_NOT_WORKING ) // custom VFD: one alphanumeric 22-char row, one graphics-capable row (alpha row can also do bar graphs) CONS( 1989, vfx, 0, 0, vfx, vfx, esq5505_state, denib, "Ensoniq", "VFX", GAME_NOT_WORKING ) // 2x40 VFD CONS( 1989, vfxsd, 0, 0, vfxsd, vfx, esq5505_state, denib, "Ensoniq", "VFX-SD", GAME_NOT_WORKING ) // 2x40 VFD -CONS( 1990, sd1, 0, 0, vfxsd, vfx, esq5505_state, denib, "Ensoniq", "SD-1 (21 voice)", GAME_NOT_WORKING ) // 2x40 VFD -CONS( 1990, sd132, sd1,0, vfx32, vfx, esq5505_state, denib, "Ensoniq", "SD-1 (32 voice)", GAME_NOT_WORKING ) // 2x40 VFD +CONS( 1990, sd1, 0, 0, vfxsd, vfx, esq5505_state, denib, "Ensoniq", "SD-1 (21 voice)", GAME_NOT_WORKING ) // 2x40 VFD +CONS( 1990, sd132, sd1,0, vfx32, vfx, esq5505_state, denib, "Ensoniq", "SD-1 (32 voice)", GAME_NOT_WORKING ) // 2x40 VFD CONS( 1990, sq1, 0, 0, sq1, vfx, esq5505_state, sq1, "Ensoniq", "SQ-1", GAME_NOT_WORKING ) // 2x16 LCD CONS( 1990, sqrack,sq1, 0, sq1, vfx, esq5505_state, sq1, "Ensoniq", "SQ-Rack", GAME_NOT_WORKING ) // 2x16 LCD diff --git a/src/mess/drivers/kaypro.c b/src/mess/drivers/kaypro.c index 84ad609a773..4dd20d8f3af 100644 --- a/src/mess/drivers/kaypro.c +++ b/src/mess/drivers/kaypro.c @@ -175,11 +175,11 @@ static MC6845_INTERFACE( kaypro2x_crtc ) ************************************************************/ //FLOPPY_FORMATS_MEMBER( kaypro_state::kayproii_floppy_formats ) -// FLOPPY_KAYPROII_FORMAT +// FLOPPY_KAYPROII_FORMAT //FLOPPY_FORMATS_END //FLOPPY_FORMATS_MEMBER( kaypro_state::kaypro2x_floppy_formats ) -// FLOPPY_KAYPRO2X_FORMAT +// FLOPPY_KAYPRO2X_FORMAT //FLOPPY_FORMATS_END static SLOT_INTERFACE_START( kaypro_floppies ) diff --git a/src/mess/drivers/kyocera.c b/src/mess/drivers/kyocera.c index afbe55ee664..e99f7322bbe 100644 --- a/src/mess/drivers/kyocera.c +++ b/src/mess/drivers/kyocera.c @@ -1654,12 +1654,12 @@ ROM_END /* System Drivers */ /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME */ -COMP( 1983, kc85, 0, 0, kc85, kc85, driver_device, 0, "Kyosei", "Kyotronic 85 (Japan)", 0 ) -COMP( 1983, m10, kc85, 0, kc85, olivm10, driver_device, 0, "Olivetti", "M-10", 0 ) -//COMP( 1983, m10m, kc85, 0, kc85, olivm10, driver_device, 0, "Olivetti", "M-10 Modem (US)", 0 ) -COMP( 1983, trsm100, 0, 0, trsm100, kc85, driver_device, 0, "Tandy Radio Shack", "TRS-80 Model 100", 0 ) -COMP( 1986, tandy102, trsm100,0, tandy102, kc85, driver_device, 0, "Tandy Radio Shack", "Tandy 102", 0 ) -COMP( 1983, pc8201, 0, 0, pc8201, pc8201, driver_device, 0, "Nippon Electronic Company", "PC-8201 (Japan)", GAME_NOT_WORKING ) // keyboard layout wrong -COMP( 1983, pc8201a, pc8201, 0, pc8201, pc8201a, driver_device, 0, "Nippon Electronic Company", "PC-8201A", 0 ) -COMP( 1987, npc8300, pc8201, 0, pc8300, pc8201a, driver_device, 0, "Nippon Electronic Company", "PC-8300", GAME_NOT_WORKING ) -COMP( 1984, tandy200, 0, 0, tandy200, kc85, driver_device, 0, "Tandy Radio Shack", "Tandy 200", 0 ) +COMP( 1983, kc85, 0, 0, kc85, kc85, driver_device, 0, "Kyosei", "Kyotronic 85 (Japan)", 0 ) +COMP( 1983, m10, kc85, 0, kc85, olivm10, driver_device, 0, "Olivetti", "M-10", 0 ) +//COMP( 1983, m10m, kc85, 0, kc85, olivm10, driver_device, 0, "Olivetti", "M-10 Modem (US)", 0 ) +COMP( 1983, trsm100, 0, 0, trsm100, kc85, driver_device, 0, "Tandy Radio Shack", "TRS-80 Model 100", 0 ) +COMP( 1986, tandy102, trsm100,0, tandy102, kc85, driver_device, 0, "Tandy Radio Shack", "Tandy 102", 0 ) +COMP( 1983, pc8201, 0, 0, pc8201, pc8201, driver_device, 0, "Nippon Electronic Company", "PC-8201 (Japan)", GAME_NOT_WORKING ) // keyboard layout wrong +COMP( 1983, pc8201a, pc8201, 0, pc8201, pc8201a, driver_device, 0, "Nippon Electronic Company", "PC-8201A", 0 ) +COMP( 1987, npc8300, pc8201, 0, pc8300, pc8201a, driver_device, 0, "Nippon Electronic Company", "PC-8300", GAME_NOT_WORKING ) +COMP( 1984, tandy200, 0, 0, tandy200, kc85, driver_device, 0, "Tandy Radio Shack", "Tandy 200", 0 ) diff --git a/src/mess/drivers/lola8a.c b/src/mess/drivers/lola8a.c index 063802323b4..c06b00ff852 100644 --- a/src/mess/drivers/lola8a.c +++ b/src/mess/drivers/lola8a.c @@ -1,20 +1,20 @@ /*************************************************************************** - - Lola 8A - - Ivo Lola Ribar Institute + + Lola 8A + + Ivo Lola Ribar Institute 2013-08-28 Skeleton driver. - BASIC commands : - - LET NEXT IF GOTO GOSUB RETURN READ DATA FOR CLS INPUT DIM STOP END RESTORE - REM CLEAR PUSH POKE PRINT OUT ERROR USR CURSOR NORMAL INVERSE PLOT UNPLOT - ELSE WIPE COLOUR CENTRE RANGE DRAW CIRCLE LOAD SAVE VERIFY HLOAD HSAVE HVERIFY - DLOAD DSAVE DVERIFY MERGE CAT RUN NEW ON LIST DEF MON GWIND TWIND UNDER - SPC OFF TAB THEN TO STEP AND OR XOR NOT ABS LEN SQR INT ASC CHR VAL STR MID - ARG CALL RND LEFT RIGHT DOT SGN SIN FREE PI FN TAN COS POP PEEK INP LN EXP ATN + BASIC commands : + + LET NEXT IF GOTO GOSUB RETURN READ DATA FOR CLS INPUT DIM STOP END RESTORE + REM CLEAR PUSH POKE PRINT OUT ERROR USR CURSOR NORMAL INVERSE PLOT UNPLOT + ELSE WIPE COLOUR CENTRE RANGE DRAW CIRCLE LOAD SAVE VERIFY HLOAD HSAVE HVERIFY + DLOAD DSAVE DVERIFY MERGE CAT RUN NEW ON LIST DEF MON GWIND TWIND UNDER + SPC OFF TAB THEN TO STEP AND OR XOR NOT ABS LEN SQR INT ASC CHR VAL STR MID + ARG CALL RND LEFT RIGHT DOT SGN SIN FREE PI FN TAN COS POP PEEK INP LN EXP ATN ****************************************************************************/ #include "emu.h" @@ -38,19 +38,19 @@ public: { } required_device<cpu_device> m_maincpu; - - virtual void palette_init(); + + virtual void palette_init(); virtual void machine_reset() { m_maincpu->set_pc(0x8000); } - + DECLARE_READ8_MEMBER(lola8a_port_a_r); DECLARE_WRITE8_MEMBER(lola8a_port_b_w); DECLARE_WRITE_LINE_MEMBER(crtc_vsync); DECLARE_READ_LINE_MEMBER(cass_r); DECLARE_WRITE_LINE_MEMBER(cass_w); - + DECLARE_READ8_MEMBER(keyboard_r); - -private: + +private: UINT8 m_portb; required_device<cassette_image_device> m_cass; }; @@ -58,24 +58,24 @@ private: static ADDRESS_MAP_START(lola8a_mem, AS_PROGRAM, 8, lola8a_state) ADDRESS_MAP_UNMAP_HIGH AM_RANGE( 0x0000, 0x1fff ) AM_RAM // 6264 at G45 - AM_RANGE( 0x2000, 0x3fff ) AM_RAM // 6264 at F45 - // empty place for 6264 at E45 - // empty place for 6264 at D45 + AM_RANGE( 0x2000, 0x3fff ) AM_RAM // 6264 at F45 + // empty place for 6264 at E45 + // empty place for 6264 at D45 AM_RANGE( 0x8000, 0x9fff ) AM_ROM // 2764A at B45 AM_RANGE( 0xa000, 0xbfff ) AM_ROM // 2764A at C45 - AM_RANGE( 0xc000, 0xdfff ) AM_ROM // 2764A at H67 + AM_RANGE( 0xc000, 0xdfff ) AM_ROM // 2764A at H67 AM_RANGE( 0xe000, 0xffff ) AM_RAM // 6264 at G67 ADDRESS_MAP_END static ADDRESS_MAP_START(lola8a_io, AS_IO, 8, lola8a_state) ADDRESS_MAP_UNMAP_HIGH AM_RANGE(0x80, 0x80) AM_DEVWRITE(AY8910_TAG, ay8910_device, address_w) - AM_RANGE(0x84, 0x84) AM_DEVREADWRITE(AY8910_TAG, ay8910_device, data_r, data_w) - AM_RANGE(0x88, 0x88) AM_READ(keyboard_r) - + AM_RANGE(0x84, 0x84) AM_DEVREADWRITE(AY8910_TAG, ay8910_device, data_r, data_w) + AM_RANGE(0x88, 0x88) AM_READ(keyboard_r) + AM_RANGE(0x90, 0x90) AM_DEVREADWRITE(HD46505SP_TAG, mc6845_device, status_r, address_w) AM_RANGE(0x92, 0x92) AM_DEVREADWRITE(HD46505SP_TAG, mc6845_device, register_r, register_w) - + ADDRESS_MAP_END /* Input ports */ @@ -99,8 +99,8 @@ static INPUT_PORTS_START( lola8a ) PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_X) PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LSHIFT) PORT_CODE(KEYCODE_RSHIFT) PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LCONTROL) PORT_CODE(KEYCODE_RCONTROL) - - PORT_START("line_2") + + PORT_START("line_2") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_R) PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_F) PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_4) @@ -109,8 +109,8 @@ static INPUT_PORTS_START( lola8a ) PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_C) PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LSHIFT) PORT_CODE(KEYCODE_RSHIFT) PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LCONTROL) PORT_CODE(KEYCODE_RCONTROL) - - PORT_START("line_3") + + PORT_START("line_3") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_V) PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_B) PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_5) @@ -119,18 +119,18 @@ static INPUT_PORTS_START( lola8a ) PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_6) PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LSHIFT) PORT_CODE(KEYCODE_RSHIFT) PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LCONTROL) PORT_CODE(KEYCODE_RCONTROL) - - PORT_START("line_4") + + PORT_START("line_4") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_N) - PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_SPACE) + PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_SPACE) PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_7) PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_Y) PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_U) PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_H) PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LSHIFT) PORT_CODE(KEYCODE_RSHIFT) PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LCONTROL) PORT_CODE(KEYCODE_RCONTROL) - - PORT_START("line_5") + + PORT_START("line_5") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_M) PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_K) PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_8) @@ -139,8 +139,8 @@ static INPUT_PORTS_START( lola8a ) PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_9) PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LSHIFT) PORT_CODE(KEYCODE_RSHIFT) PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LCONTROL) PORT_CODE(KEYCODE_RCONTROL) - - PORT_START("line_6") + + PORT_START("line_6") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSLASH)// Z" PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_COMMA) PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_0) @@ -149,28 +149,28 @@ static INPUT_PORTS_START( lola8a ) PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_O) PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LSHIFT) PORT_CODE(KEYCODE_RSHIFT) PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LCONTROL) PORT_CODE(KEYCODE_RCONTROL) - - PORT_START("line_7") + + PORT_START("line_7") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_UNUSED) // C" PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_STOP) - PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_MINUS) // = + PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_MINUS) // = PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_UNUSED) // S" PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_UNUSED) // C' PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_UNUSED) // ; PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LSHIFT) PORT_CODE(KEYCODE_RSHIFT) PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LCONTROL) PORT_CODE(KEYCODE_RCONTROL) - - PORT_START("line_8") + + PORT_START("line_8") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_SLASH)// / PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_DOWN) PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_UNUSED) // ???? PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_OPENBRACE) PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_UP) - PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_UNUSED) // : + PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_UNUSED) // : PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LSHIFT) PORT_CODE(KEYCODE_RSHIFT) PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LCONTROL) PORT_CODE(KEYCODE_RCONTROL) - - PORT_START("line_9") + + PORT_START("line_9") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_ENTER) // return PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_UNUSED) // ???? PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_UNUSED) // ???? @@ -187,7 +187,7 @@ void lola8a_state::palette_init() int i; for(i=0;i<8;i++) { - palette_set_color_rgb(machine(), i, pal1bit(i >> 1),pal1bit(i >> 2),pal1bit(i >> 0)); + palette_set_color_rgb(machine(), i, pal1bit(i >> 1),pal1bit(i >> 2),pal1bit(i >> 0)); } } @@ -201,7 +201,7 @@ static MC6845_UPDATE_ROW( lola8a_update_row ) { UINT16 addr = 0xa000 + sx*8 + ra + ma * 8; UINT8 code = program.read_byte(addr); - + for (int x = 0; x <= 8; x++) { int color = BIT(code, 7-x) ? 7 : 0; @@ -241,15 +241,15 @@ READ8_MEMBER(lola8a_state::keyboard_r) "line_8", "line_9", NULL, NULL, NULL,NULL,NULL,NULL }; - - if( keynames[m_portb & 0x0f]) + + if( keynames[m_portb & 0x0f]) return ioport(keynames[m_portb & 0x0f])->read(); return 0xff; } WRITE_LINE_MEMBER(lola8a_state::crtc_vsync) { - m_maincpu->set_input_line(I8085_RST75_LINE, state? ASSERT_LINE : CLEAR_LINE); + m_maincpu->set_input_line(I8085_RST75_LINE, state? ASSERT_LINE : CLEAR_LINE); } static MC6845_INTERFACE( hd46505sp_intf ) @@ -283,12 +283,12 @@ static MACHINE_CONFIG_START( lola8a, lola8a_state ) MCFG_CPU_IO_MAP(lola8a_io) MCFG_I8085A_SID(READLINE(lola8a_state, cass_r)) MCFG_I8085A_SOD(WRITELINE(lola8a_state, cass_w)) - + MCFG_SPEAKER_STANDARD_MONO("mono") MCFG_SOUND_ADD(AY8910_TAG, AY8910, XTAL_4_9152MHz / 4) MCFG_SOUND_CONFIG(psg_intf) MCFG_SOUND_ROUTE(ALL_OUTPUTS,"mono",1.0) - + /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) MCFG_SCREEN_REFRESH_RATE(50) @@ -297,7 +297,7 @@ static MACHINE_CONFIG_START( lola8a, lola8a_state ) MCFG_SCREEN_SIZE(640, 480) MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1) MCFG_MC6845_ADD(HD46505SP_TAG, HD6845, "screen", XTAL_8MHz / 8, hd46505sp_intf) // HD6845 == HD46505S - MCFG_PALETTE_LENGTH(8) + MCFG_PALETTE_LENGTH(8) /* Cassette */ MCFG_CASSETTE_ADD( "cassette", default_cassette_interface ) @@ -315,6 +315,5 @@ ROM_END /* Driver */ -/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */ -COMP( 1986, lola8a, 0, 0, lola8a, lola8a, driver_device, 0, "Institut Ivo Lola Ribar", "Lola 8A", GAME_NOT_WORKING) - +/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */ +COMP( 1986, lola8a, 0, 0, lola8a, lola8a, driver_device, 0, "Institut Ivo Lola Ribar", "Lola 8A", GAME_NOT_WORKING) diff --git a/src/mess/drivers/mac.c b/src/mess/drivers/mac.c index ef6b0f82e50..30aa24b1157 100644 --- a/src/mess/drivers/mac.c +++ b/src/mess/drivers/mac.c @@ -960,7 +960,7 @@ static MACHINE_CONFIG_START( mac512ke, mac_state ) MCFG_VIA6522_ADD("via6522_0", 1000000, mac_via6522_intf) MCFG_MACKBD_ADD() - MCFG_MACKBD_CLKOUT_HANDLER(WRITELINE(mac_state, mac_kbd_clk_in)) + MCFG_MACKBD_CLKOUT_HANDLER(WRITELINE(mac_state, mac_kbd_clk_in)) /* internal ram */ MCFG_RAM_ADD(RAM_TAG) diff --git a/src/mess/drivers/megadriv.c b/src/mess/drivers/megadriv.c index 484b0602502..b073feeef26 100644 --- a/src/mess/drivers/megadriv.c +++ b/src/mess/drivers/megadriv.c @@ -860,4 +860,3 @@ CONS( 1993, wmegam2, xeye, 0, mdj_scd, md, md_cons_state, CONS( 1994, cdx, 0, 0, genesis_scd, md, md_cons_state, genesis, "Sega", "CDX (USA, NTSC)", GAME_NOT_WORKING ) CONS( 1994, multmega, cdx, 0, md_scd, md, md_cons_state, md_eur, "Sega", "Multi-Mega (Europe, PAL)", GAME_NOT_WORKING ) CONS( 1994, 32x_scd, 0, 0, genesis_32x_scd, md, md_cons_state, genesis, "Sega", "Sega CD (USA, NTSC, w/32X)", GAME_NOT_WORKING ) - diff --git a/src/mess/drivers/mtx.c b/src/mess/drivers/mtx.c index 8ee63b95571..305a680c9ce 100644 --- a/src/mess/drivers/mtx.c +++ b/src/mess/drivers/mtx.c @@ -456,31 +456,31 @@ COMP( 1984, rs128, mtx512, 0, rs128, mtx512, driver_device, 0, The following roms are available should they be considered useful: ROM_START( mtx_roms ) - ROM_LOAD( "assem.rom", CRC(599d5b6b) SHA1(3ec1f7f476a21ca3206012ded22198c020b47f7d) ) - ROM_LOAD( "basic.rom", CRC(d1e9ff36) SHA1(e89ae3a627716e6cee7e35054be8a2472bdd49d4) ) - ROM_LOAD( "boot.rom", CRC(ed98d6dd) SHA1(4671ee49bb96262b0468f7122a49bf2588170903) ) - ROM_LOAD( "mtx3-an.rom", CRC(54c9eca2) SHA1(3e628beaa360e635264c8c2c3a5b8312951a220b) ) - ROM_LOAD( "nboot.rom", CRC(9caea81c) SHA1(93fca6e7ffbc7ae3283b8bda9f01c36b2bed1c54) ) + ROM_LOAD( "assem.rom", CRC(599d5b6b) SHA1(3ec1f7f476a21ca3206012ded22198c020b47f7d) ) + ROM_LOAD( "basic.rom", CRC(d1e9ff36) SHA1(e89ae3a627716e6cee7e35054be8a2472bdd49d4) ) + ROM_LOAD( "boot.rom", CRC(ed98d6dd) SHA1(4671ee49bb96262b0468f7122a49bf2588170903) ) + ROM_LOAD( "mtx3-an.rom", CRC(54c9eca2) SHA1(3e628beaa360e635264c8c2c3a5b8312951a220b) ) + ROM_LOAD( "nboot.rom", CRC(9caea81c) SHA1(93fca6e7ffbc7ae3283b8bda9f01c36b2bed1c54) ) ROM_END -BASIC.ROM this contains the monitor ROM plus the BASIC ROM. - It's good to view them as one, because the monitor - ROM contains a good deal of BASIC code and the machine - code just runs from the monitor ROM into the BASIC ROM. - It's also handy if you want to disassemble it (which - you don't need because it's already done). +BASIC.ROM this contains the monitor ROM plus the BASIC ROM. + It's good to view them as one, because the monitor + ROM contains a good deal of BASIC code and the machine + code just runs from the monitor ROM into the BASIC ROM. + It's also handy if you want to disassemble it (which + you don't need because it's already done). -MTX3-AN.ROM the monitor ROM, but slightly modified - While detecting memory size, the startup code destroys - RAM content. When you have a lot of RAM it is convenient - to have a ramdisk for CP/M, but it is a nuisance if the - ramdisk is trashed at each reset. The modification simply - prevents RAM trashing. +MTX3-AN.ROM the monitor ROM, but slightly modified + While detecting memory size, the startup code destroys + RAM content. When you have a lot of RAM it is convenient + to have a ramdisk for CP/M, but it is a nuisance if the + ramdisk is trashed at each reset. The modification simply + prevents RAM trashing. -ASSEM.ROM assembler ROM +ASSEM.ROM assembler ROM -BOOT.ROM FDX floppy boot ROM +BOOT.ROM FDX floppy boot ROM -NBOOT.ROM replacement FDX boot ROM written by M. Kessler (supports - booting from different disk formats and different drives) +NBOOT.ROM replacement FDX boot ROM written by M. Kessler (supports + booting from different disk formats and different drives) */ diff --git a/src/mess/drivers/octopus.c b/src/mess/drivers/octopus.c index 53cf98f31ad..f0ec2b1ebd5 100644 --- a/src/mess/drivers/octopus.c +++ b/src/mess/drivers/octopus.c @@ -23,45 +23,45 @@ CP/M, MP/M (concurrent - multitasking-like OS, even with terminals), or even MS- with Z80 or 8080. There was also LSI ELSIE system, a concurrent DOS. Last British LSI machines were 386 computers which could be used as servers for Octopus computers. -Manufacturer Hilger Analytical / LSI Computers Ltd. - -Origin UK -Year of unit 1986? -Year of introduction 1985 -End of production ? -CPU Z80, 8088 -Speed ?? -RAM 256kB -ROM 16kB (Basic) -Colors: ?? -Sound: Speaker. Beeps :) -OS: CP/M 80 or 86 +Manufacturer Hilger Analytical / LSI Computers Ltd. + +Origin UK +Year of unit 1986? +Year of introduction 1985 +End of production ? +CPU Z80, 8088 +Speed ?? +RAM 256kB +ROM 16kB (Basic) +Colors: ?? +Sound: Speaker. Beeps :) +OS: CP/M 80 or 86 MP/M 80 o 86 Concurrent CP/M LSI ELSIE MS-DOS -Display modes: Text: ?? -Graphics: ?? - -Media: Two internal 5.25" floppy disk drives, DS DD, 96tpi. -Probably hard disk +Display modes: Text: ?? +Graphics: ?? + +Media: Two internal 5.25" floppy disk drives, DS DD, 96tpi. +Probably hard disk Power supply: Built-in switching power supply. -I/O: Serial port +I/O: Serial port 2 parallel ports Video TTL Output Composite video output - -Possible upgrades: Many - + +Possible upgrades: Many + Software accessibility: Dedicated: Impossible. CP/M - Good DOS - Good. - + It won't take XT nor AT keyboard, but pinout is quite similar. UPDATE: I saw a few photos of keyboard. It's another Z80 computer! It has an EPROM, simple memory and CPU. @@ -100,7 +100,7 @@ Enter selection: This information was gained by studying boot ROM of the machine. It's a very rare computer. It has 2 processors, Z80 and 8088, so it seems that it may run CP/M and DOS. -Its BIOS performs POST and halts as there's no keyboard. +Its BIOS performs POST and halts as there's no keyboard. ****************************************************************************/ diff --git a/src/mess/drivers/onyx.c b/src/mess/drivers/onyx.c index 40c7088b08d..2d669cb35e5 100644 --- a/src/mess/drivers/onyx.c +++ b/src/mess/drivers/onyx.c @@ -249,9 +249,9 @@ static ADDRESS_MAP_START(c8002_mem, AS_PROGRAM, 16, onyx_state) ADDRESS_MAP_END //static ADDRESS_MAP_START(c8002_data, AS_DATA, 16, onyx_state) -// AM_RANGE(0x00000, 0x00fff) AM_ROM AM_SHARE("share0") -// AM_RANGE(0x01000, 0x07fff) AM_RAM AM_SHARE("share1") -// AM_RANGE(0x08000, 0xfffff) AM_RAM AM_SHARE("share2") +// AM_RANGE(0x00000, 0x00fff) AM_ROM AM_SHARE("share0") +// AM_RANGE(0x01000, 0x07fff) AM_RAM AM_SHARE("share1") +// AM_RANGE(0x08000, 0xfffff) AM_RAM AM_SHARE("share2") //ADDRESS_MAP_END static ADDRESS_MAP_START(c8002_io, AS_IO, 8, onyx_state) diff --git a/src/mess/drivers/pc9801.c b/src/mess/drivers/pc9801.c index b14bc21b29e..59a4694782f 100644 --- a/src/mess/drivers/pc9801.c +++ b/src/mess/drivers/pc9801.c @@ -83,8 +83,8 @@ - Bishoujo Shanshinkan: has white rectangles all over the place; - Bishoujo Tsuushin: hangs with a beep while writing some intro text; - - Bomber Quest: beeps when speech is supposed to be played (0->1 to i/o port 0xfe8e?) - - Deflektor: no sound, moans about a DIP-sw during loading, very slow on non-pc9801rs machines; + - Bomber Quest: beeps when speech is supposed to be played (0->1 to i/o port 0xfe8e?) + - Deflektor: no sound, moans about a DIP-sw during loading, very slow on non-pc9801rs machines; - Dragon Buster: slight issue with window masking; - Far Side Moon: doesn't detect sound board (tied to 0x00ec ports) - Jan Borg Suzume: gets stuck at a pic8259 read; @@ -92,17 +92,17 @@ - Lovely Horror: Doesn't show kanji, tries to read it thru the 0xa9 port; - Madou Monogatari 1/2/3: doesn't display bitmap gfxs during gameplay; - Quarth: should do a split screen effect, it doesn't hence there are broken gfxs - - Princess Maker 2: mouse is buggy; + - Princess Maker 2: mouse is buggy; - Princess Maker 2: screen transitions are very ugly (btanb?) - - Puyo Puyo: beeps out when it's supposed to play samples, Not supposed to use ADPCM, is it a PIT issue? - - Puzznic: trips illegal irq 0x41 (?), prints an error on screen. (PC-9801RS only, writes an 1 to 0x69d2f for whatever reason, almost surely a btanb) - - Runner's High: wrong double height on the title screen; - - Sokoban Perfect: hangs at title screen, after loading the menu; + - Puyo Puyo: beeps out when it's supposed to play samples, Not supposed to use ADPCM, is it a PIT issue? + - Puzznic: trips illegal irq 0x41 (?), prints an error on screen. (PC-9801RS only, writes an 1 to 0x69d2f for whatever reason, almost surely a btanb) + - Runner's High: wrong double height on the title screen; + - Sokoban Perfect: hangs at title screen, after loading the menu; - Sorcerian, Twilight Zone 3: Fails initial booting, issue with 2dd irq? - - The Incredible Machine: hangs at main menu (YM mis-fires irq?) + - The Incredible Machine: hangs at main menu (YM mis-fires irq?) - Uchiyama Aki no Chou Bangai: keyboard irq is fussy (sometimes it doesn't register a key press); - Uno: uses EGC - - Viper V16 Demo: moans with a JP message; + - Viper V16 Demo: moans with a JP message; per-game TODO (PC-9821): - Battle Skin Panic: gfx bugs at the Gainax logo, it crashes after it; @@ -323,7 +323,7 @@ IDE: 0x432: IDE drive switch 0x435: <unknown> - (ISA correlated i/o) + (ISA correlated i/o) ---------------------------------------------------------- 0x0640 |WORD|R/W|Data Register |01F0h 0x0642 |BYTE| R |Error Register |01F1h @@ -2291,15 +2291,15 @@ WRITE8_MEMBER(pc9801_state::pc9801rs_ide_io_0_w) /* [0x430] [Read/write] - bit 7-0: unknown - 00 h = IDE Bank # 1 - 01 h = IDE Bank # 2 + bit 7-0: unknown + 00 h = IDE Bank # 1 + 01 h = IDE Bank # 2 [0x432] - bit 7-0: Bank select - 80 h = readout for dummy (only [WRITE]) - 00 h = IDE Bank # 1 choice - 01 h = IDE Bank # 2 selection + bit 7-0: Bank select + 80 h = readout for dummy (only [WRITE]) + 00 h = IDE Bank # 1 choice + 01 h = IDE Bank # 2 selection */ printf("IDE w %02x %02x\n",offset,data); @@ -3828,7 +3828,7 @@ static MACHINE_CONFIG_DERIVED( pc9801ux, pc9801rs ) MCFG_80286_A20(pc9801_state, pc9801_286_a20) MCFG_CPU_VBLANK_INT_DRIVER("screen", pc9801_state, pc9801_vrtc_irq) -// MCFG_I8237_REPLACE("i8237", 10000000, pc9801rs_dmac_intf) // unknown clock +// MCFG_I8237_REPLACE("i8237", 10000000, pc9801rs_dmac_intf) // unknown clock MACHINE_CONFIG_END static MACHINE_CONFIG_DERIVED( pc9801bx2, pc9801rs ) diff --git a/src/mess/drivers/rainbow.c b/src/mess/drivers/rainbow.c index 3c29694e2a8..e21e5dbf63b 100644 --- a/src/mess/drivers/rainbow.c +++ b/src/mess/drivers/rainbow.c @@ -5,28 +5,28 @@ Driver-in-progress by R. Belmont and Miodrag Milanovic with additions by Karl-Ludwig Deisenhofer. STATE AS OF SEPTEMBER 2013 - -------------------------- - - FATAL: keyboard emulation needs love (inhibits the system from booting with ERROR 50 on cold or ERROR 13 on warm boot). - - NOT WORKING: serial (ERROR 60) - - NOT WORKING: printer interface (ERROR 40). + -------------------------- + - FATAL: keyboard emulation needs love (inhibits the system from booting with ERROR 50 on cold or ERROR 13 on warm boot). + - NOT WORKING: serial (ERROR 60) + - NOT WORKING: printer interface (ERROR 40). - - NON-CRITICAL: NVRAM currently saves changes instantly. A switch to EEPROM (load, store...) might be in order. - - NON-CRITICAL: no code for W18 (DSR) jumper. - - NON-CRITICAL: watchdog logic not implemented. MHFLU - ERROR 16 indicated hardware problems or (most often) software crashes on real hardware. + - NON-CRITICAL: NVRAM currently saves changes instantly. A switch to EEPROM (load, store...) might be in order. + - NON-CRITICAL: no code for W18 (DSR) jumper. + - NON-CRITICAL: watchdog logic not implemented. MHFLU - ERROR 16 indicated hardware problems or (most often) software crashes on real hardware. + + - FUTURE IMPROVEMENTS (=> DIP switches currently disabled): + * Color graphics option (NEC 7220) + * Extended communication option ( = Bundle option ?) - - FUTURE IMPROVEMENTS (=> DIP switches currently disabled): - * Color graphics option (NEC 7220) - * Extended communication option ( = Bundle option ?) - Meaning of Diagnostics LEDs (from PC100ESV1.PDF found, e.g., on ftp://ftp.update.uu.se/pub/rainbow/doc/rainbow-docs/ - Internal Diagnostic Messages F + Internal Diagnostic Messages F Msg Message Lights Display A No. * = on o = off T - = on or off A - 1 2 3 4 5 6 7 L + 1 2 3 4 5 6 7 L -------------------------------------------------------------- 1 Main Board (Video) o * * o * o * Yes 2 Main Board* (unsolicited interrupt) * * * * o * o Yes @@ -74,7 +74,7 @@ PCB layout ---------- -DEC-100 model B +DEC-100 model B PCB # 5416206 / 5016205-01C1: @@ -125,7 +125,7 @@ W17 pulls J1 serial port pin 1 to GND when set (otherwise pin unconnected) #include "rainbow.lh" // BEZEL - LAYOUT with LEDs for diag 1-7, keyboard 8-11 and floppy 20-21 -#define DEC_B_NVMEM_SIZE (256) +#define DEC_B_NVMEM_SIZE (256) class rainbow_state : public driver_device { @@ -161,8 +161,8 @@ public: required_ioport m_inp6; required_ioport m_inp7; required_ioport m_inp8; - - required_device<beep_device> m_beep; + + required_device<beep_device> m_beep; required_device<rainbow_video_device> m_crtc; required_device<cpu_device> m_i8088; @@ -185,7 +185,7 @@ public: DECLARE_READ8_MEMBER(comm_control_r); DECLARE_WRITE8_MEMBER(comm_control_w); - + DECLARE_READ8_MEMBER(share_z80_r); DECLARE_WRITE8_MEMBER(share_z80_w); @@ -193,10 +193,10 @@ public: DECLARE_WRITE8_MEMBER(floating_bus_w); // EMULATOR TRAP TO INTERCEPT KEYBOARD cmd in AH and PARAMETER in AL (port 90 = AL / port 91 = AH) - // TODO: beeper and led handling should better be handled by LK201 code. + // TODO: beeper and led handling should better be handled by LK201 code. DECLARE_WRITE8_MEMBER(PORT90_W); DECLARE_WRITE8_MEMBER(PORT91_W); - + DECLARE_READ8_MEMBER(i8088_latch_r); DECLARE_WRITE8_MEMBER(i8088_latch_w); DECLARE_READ8_MEMBER(z80_latch_r); @@ -204,10 +204,10 @@ public: DECLARE_WRITE8_MEMBER(z80_diskdiag_read_w); DECLARE_WRITE8_MEMBER(z80_diskdiag_write_w); - + DECLARE_WRITE8_MEMBER(z80_diskcontrol_write_w); DECLARE_READ8_MEMBER(system_parameter_r); - + DECLARE_READ_LINE_MEMBER(kbd_rx); DECLARE_WRITE_LINE_MEMBER(kbd_tx); DECLARE_WRITE_LINE_MEMBER(kbd_rxready_w); @@ -218,7 +218,7 @@ public: bool m_zflip; // Z80 alternate memory map with A15 inverted bool m_z80_halted; bool m_kbd_tx_ready, m_kbd_rx_ready; - + int m_KBD; int m_beep_counter; @@ -236,7 +236,7 @@ public: }; void rainbow_state::machine_start() -{ m_COLDBOOT = true; +{ m_COLDBOOT = true; save_item(NAME(m_z80_private)); save_item(NAME(m_z80_mailbox)); @@ -249,25 +249,25 @@ void rainbow_state::machine_start() // Enables PORT90_W + PORT91_W via BIOS call (offset +$21 in HIGH ROM) // F8 / FC ROM REGION (CHECK + PATCH) - if(rom[0xfc000 + 0x0022] == 0x22 && rom[0xfc000 + 0x0023] == 0x28) + if(rom[0xfc000 + 0x0022] == 0x22 && rom[0xfc000 + 0x0023] == 0x28) { rom[0xf4303]=0x00; // Disable CRC CHECK (F0 / F4 ROM) rom[0xfc000 + 0x0022] =0xe2; // jmp to offset $3906 rom[0xfc000 + 0x0023] =0x38; - + rom[0xfc000 + 0x3906] =0xe6; // out 90,al rom[0xfc000 + 0x3907] =0x90; - + rom[0xfc000 + 0x3908] =0x86; // xchg al,ah rom[0xfc000 + 0x3909] =0xc4; rom[0xfc000 + 0x390a] =0xe6; // out 91,al rom[0xfc000 + 0x390b] =0x91; - + rom[0xfc000 + 0x390c] =0x86; // xchg al,ah rom[0xfc000 + 0x390d] =0xc4; - + rom[0xfc000 + 0x390e] =0xe9; // jmp (original jump offset $2846) rom[0xfc000 + 0x390f] =0x35; rom[0xfc000 + 0x3910] =0xef; @@ -279,18 +279,18 @@ static ADDRESS_MAP_START( rainbow8088_map, AS_PROGRAM, 8, rainbow_state) AM_RANGE(0x00000, 0x0ffff) AM_RAM AM_SHARE("sh_ram") AM_RANGE(0x10000, 0x1ffff) AM_RAM - // test at f4e00 - f4e1c - AM_RANGE(0x20000, 0xdffff) AM_READWRITE(floating_bus_r,floating_bus_w) - AM_RANGE(0x20000, 0xdffff) AM_RAM + // test at f4e00 - f4e1c + AM_RANGE(0x20000, 0xdffff) AM_READWRITE(floating_bus_r,floating_bus_w) + AM_RANGE(0x20000, 0xdffff) AM_RAM // TODO: handle shadowing 100% correctly. // PDF says there is a 256 x 4 bit NVRAM from 0xed000 to 0xed040. - // * SHOULD * be shadowed from $ec00 - $ecfff AND FROM $ed040 - $edfff. + // * SHOULD * be shadowed from $ec00 - $ecfff AND FROM $ed040 - $edfff. // "address bits 8-12 are not decoded when accessing the NVM" // ROM code gives an error if NVRAM isn't 256 x 8 bit // with address bits 8-12 ignored, so do that. - AM_RANGE(0xec000, 0xec0ff) AM_MIRROR(0x1f00) AM_RAM AM_SHARE("nvram") + AM_RANGE(0xec000, 0xec0ff) AM_MIRROR(0x1f00) AM_RAM AM_SHARE("nvram") AM_RANGE(0xee000, 0xeffff) AM_RAM AM_SHARE("p_ram") AM_RANGE(0xf0000, 0xfffff) AM_ROM @@ -300,22 +300,22 @@ static ADDRESS_MAP_START( rainbow8088_io , AS_IO, 8, rainbow_state) ADDRESS_MAP_UNMAP_HIGH ADDRESS_MAP_GLOBAL_MASK(0xff) AM_RANGE (0x00, 0x00) AM_READWRITE(i8088_latch_r, i8088_latch_w) - + // 0x02 Communication status / control register (8088) AM_RANGE (0x02, 0x02) AM_READWRITE(comm_control_r, comm_control_w) // 0x04 Video processor DC011 AM_RANGE (0x04, 0x04) AM_DEVWRITE("vt100_video", rainbow_video_device, dc011_w) - + AM_RANGE (0x08, 0x08) AM_READ(system_parameter_r) - + AM_RANGE (0x0a, 0x0a) AM_READWRITE(diagnostic_r, diagnostic_w) // 0x0C Video processor DC012 AM_RANGE (0x0c, 0x0c) AM_DEVWRITE("vt100_video", rainbow_video_device, dc012_w) AM_RANGE(0x10, 0x10) AM_DEVREADWRITE("kbdser", i8251_device, data_r, data_w) AM_RANGE(0x11, 0x11) AM_DEVREADWRITE("kbdser", i8251_device, status_r, control_w) - + AM_RANGE (0x90, 0x90) AM_WRITE(PORT90_W) AM_RANGE (0x91, 0x91) AM_WRITE(PORT91_W) ADDRESS_MAP_END @@ -340,13 +340,13 @@ ADDRESS_MAP_END /* Input ports */ static INPUT_PORTS_START( rainbow ) - PORT_START("FLOPPY CONTROLLER") - PORT_DIPNAME( 0x02, 0x02, "FLOPPY CONTROLLER") PORT_TOGGLE + PORT_START("FLOPPY CONTROLLER") + PORT_DIPNAME( 0x02, 0x02, "FLOPPY CONTROLLER") PORT_TOGGLE PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x02, DEF_STR( On ) ) PORT_START("MEMORY PRESENT") - PORT_DIPNAME( 0xF000, 0x2000, "MEMORY PRESENT") + PORT_DIPNAME( 0xF000, 0x2000, "MEMORY PRESENT") PORT_DIPSETTING( 0x2000, "128 K (BOARD DEFAULT)" ) // NOTE: 0x2000 hard coded in 'system_parameter_r' PORT_DIPSETTING( 0x3000, "192 K (MEMORY OPTION)" ) PORT_DIPSETTING( 0x4000, "256 K (MEMORY OPTION)" ) @@ -361,29 +361,29 @@ static INPUT_PORTS_START( rainbow ) PORT_DIPSETTING( 0xD000, "832 K (MEMORY OPTION)" ) PORT_DIPSETTING( 0xE000, "896 K (MEMORY OPTION)" ) - PORT_START("GRAPHICS OPTION") - PORT_DIPNAME( 0x00, 0x00, "GRAPHICS OPTION") PORT_TOGGLE + PORT_START("GRAPHICS OPTION") + PORT_DIPNAME( 0x00, 0x00, "GRAPHICS OPTION") PORT_TOGGLE PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x04, DEF_STR( On ) ) - PORT_START("BUNDLE OPTION") - PORT_DIPNAME( 0x00, 0x00, "BUNDLE OPTION") PORT_TOGGLE + PORT_START("BUNDLE OPTION") + PORT_DIPNAME( 0x00, 0x00, "BUNDLE OPTION") PORT_TOGGLE PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x01, DEF_STR( On ) ) - + PORT_START("W13") - PORT_DIPNAME( 0x02, 0x02, "W13") PORT_TOGGLE + PORT_DIPNAME( 0x02, 0x02, "W13") PORT_TOGGLE PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_START("W14") - PORT_DIPNAME( 0x04, 0x04, "W14") PORT_TOGGLE + PORT_DIPNAME( 0x04, 0x04, "W14") PORT_TOGGLE PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_START("W15") - PORT_DIPNAME( 0x08, 0x08, "W15") PORT_TOGGLE + PORT_DIPNAME( 0x08, 0x08, "W15") PORT_TOGGLE PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_START("W18") - PORT_DIPNAME( 0x00, 0x04, "W18") PORT_TOGGLE + PORT_DIPNAME( 0x00, 0x04, "W18") PORT_TOGGLE PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) INPUT_PORTS_END @@ -398,12 +398,12 @@ void rainbow_state::machine_reset() m_kbd_tx_ready = m_kbd_rx_ready = false; m_kbd8251->input_callback(SERIAL_STATE_CTS); // raise clear to send - - m_KBD = 0; + + m_KBD = 0; m_beep->set_frequency(2000); - m_beep->set_state(0); - + m_beep->set_state(0); + // RESET ALL LEDs output_set_value("led1", 1); output_set_value("led2", 1); @@ -416,7 +416,7 @@ void rainbow_state::machine_reset() output_set_value("led9", 1); output_set_value("led10", 1); output_set_value("led11", 1); - + output_set_value("led20", 1); // DRIVE 0 (A) output_set_value("led21", 1); // DRIVE 1 (B) } @@ -431,21 +431,21 @@ UINT32 rainbow_state::screen_update_rainbow(screen_device &screen, bitmap_ind16 // WANTED: is a cleaner, more compatible way feasible? READ8_MEMBER(rainbow_state::floating_bus_r) { - if ( m_maincpu->state_int(I8086_CS) != 0xF400) - return space.read_byte(offset); + if ( m_maincpu->state_int(I8086_CS) != 0xF400) + return space.read_byte(offset); - if ( m_maincpu->state_int(I8086_DS) < m_inp8->read() ) - { - return space.read_byte(offset); - } else - { - return (offset>>16) + 2; - } + if ( m_maincpu->state_int(I8086_DS) < m_inp8->read() ) + { + return space.read_byte(offset); + } else + { + return (offset>>16) + 2; + } } WRITE8_MEMBER(rainbow_state::floating_bus_w) { - space.write_byte(offset,data); + space.write_byte(offset,data); } @@ -507,31 +507,31 @@ WRITE8_MEMBER(rainbow_state::share_z80_w) READ8_MEMBER(rainbow_state::system_parameter_r) { -/* Info about option boards is in bits 0 - 3: +/* Info about option boards is in bits 0 - 3: Bundle card (1) | Floppy (2) | Graphics (4) | Memory option (8) - 0 1 2 3 4 5 6 7 + 0 1 2 3 4 5 6 7 B F G M ( 1 means NOT present ) */ // Hard coded value 0x2000 - see DIP switch setup! - return 0x0f - m_inp5->read() - m_inp6->read() - m_inp7->read() - ( - (m_inp8->read() > 0x2000) ? 8 : 0 - ); + return 0x0f - m_inp5->read() - m_inp6->read() - m_inp7->read() - ( + (m_inp8->read() > 0x2000) ? 8 : 0 + ); } READ8_MEMBER(rainbow_state::comm_control_r) { - // Our simple COLDBOOT flag is adequate for the initial MHFU test (at BIOS location 00A8). + // Our simple COLDBOOT flag is adequate for the initial MHFU test (at BIOS location 00A8). - // TODO: on real hardware, MHFU detection is disabled BY WRITING TO 0x10c (=> BIOS assumes power-up reset) - // MHFU is enabled by writing to 0x0c. - if (m_COLDBOOT) - { m_COLDBOOT = 0; - return ( 0x20 ); // bit 5 = watchdog detect. - } else { - return ( 0x00 ); // ERROR 16 is displayed = watchdog triggered - } + // TODO: on real hardware, MHFU detection is disabled BY WRITING TO 0x10c (=> BIOS assumes power-up reset) + // MHFU is enabled by writing to 0x0c. + if (m_COLDBOOT) + { m_COLDBOOT = 0; + return ( 0x20 ); // bit 5 = watchdog detect. + } else { + return ( 0x00 ); // ERROR 16 is displayed = watchdog triggered + } } WRITE8_MEMBER(rainbow_state::comm_control_w) @@ -544,9 +544,9 @@ WRITE8_MEMBER(rainbow_state::comm_control_w) -4--5--6--7- <- NUMBERS EMBOSSED ON BACK OF PLASTIC HOUSING (see error chart) */ output_set_value("led4", BIT(data, 5)); // LED "D6" - output_set_value("led5", BIT(data, 7)); // LED "D5" + output_set_value("led5", BIT(data, 7)); // LED "D5" output_set_value("led6", BIT(data, 6)); // LED "D4" - output_set_value("led7", BIT(data, 4)); // LED "D3" + output_set_value("led7", BIT(data, 4)); // LED "D3" // printf("%02x to COMM.CONTROL REGISTER\n", data); } @@ -554,53 +554,53 @@ WRITE8_MEMBER(rainbow_state::comm_control_w) // EMULATOR TRAP (patched into ROM @ machine_start) via BIOS : call / offset +$21 (AL / AH) WRITE8_MEMBER(rainbow_state::PORT90_W) { - //printf("KBD COMMAND : %02x to AL (90)\n", data); - + //printf("KBD COMMAND : %02x to AL (90)\n", data); + m_KBD = 0; // reset previous command. - if (data == 0xfd) { // Powerup (beep) - m_beep->set_state(1); - m_beep_counter=600; // BELL = 125 ms + if (data == 0xfd) { // Powerup (beep) + m_beep->set_state(1); + m_beep_counter=600; // BELL = 125 ms } - if (data == 0xa7) { - m_beep->set_state(1); - m_beep_counter=600; // BELL = 125 ms + if (data == 0xa7) { + m_beep->set_state(1); + m_beep_counter=600; // BELL = 125 ms } if (data == 0x9f) { // emit a keyclick (2ms) - m_beep->set_state(1); + m_beep->set_state(1); m_beep_counter=25; // longer than calculated ( 9,6 ) } - if (data == 0x13) { // light LEDs - - m_KBD = 0x13; + if (data == 0x13) { // light LEDs - + m_KBD = 0x13; } - if (data == 0x11) { // switch off LEDs - - m_KBD = 0x11; + if (data == 0x11) { // switch off LEDs - + m_KBD = 0x11; } } WRITE8_MEMBER(rainbow_state::PORT91_W) { - //printf("KBD PARAM %02x to AH (91) \n", data); - - // 4 leds, represented in the low 4 bits of a byte - if (m_KBD == 0x13) { // light LEDs - - if (data & 1) { output_set_value("led8", 0); } // KEYBOARD : "Wait" LED + //printf("KBD PARAM %02x to AH (91) \n", data); + + // 4 leds, represented in the low 4 bits of a byte + if (m_KBD == 0x13) { // light LEDs - + if (data & 1) { output_set_value("led8", 0); } // KEYBOARD : "Wait" LED if (data & 2) { output_set_value("led9", 0); } // KEYBOARD : "Compose" LED if (data & 4) { output_set_value("led10", 0); } // KEYBOARD : "Lock" LED if (data & 8) { output_set_value("led11", 0); } // KEYBOARD : "Hold" LED m_KBD = 0; // reset previous command. } - if (m_KBD == 0x11) { // switch off LEDs - - if (data & 1) { output_set_value("led8", 1); } // KEYBOARD : "Wait" LED + if (m_KBD == 0x11) { // switch off LEDs - + if (data & 1) { output_set_value("led8", 1); } // KEYBOARD : "Wait" LED if (data & 2) { output_set_value("led9", 1); } // KEYBOARD : "Compose" LED if (data & 4) { output_set_value("led10", 1); } // KEYBOARD : "Lock" LED if (data & 8) { output_set_value("led11", 1); } // KEYBOARD : "Hold" LED m_KBD = 0; // reset previous command. } - + if (m_KBD == 0x1b) { /* enable the keyclick */ /* max volume is 0, lowest is 0x7 */ m_KBD = 0; // reset previous command. @@ -644,8 +644,8 @@ WRITE8_MEMBER(rainbow_state::z80_diskdiag_write_w) { /* Z80 LEDs: 4 5 6 <- bit # - D11 D10 -D9 <- INTERNAL LED NUMBER (see PDF) - -1 --2-- 3 <- NUMBERS EMBOSSED ON BACK OF PLASTIC HOUSING (see error chart) + D11 D10 -D9 <- INTERNAL LED NUMBER (see PDF) + -1 --2-- 3 <- NUMBERS EMBOSSED ON BACK OF PLASTIC HOUSING (see error chart) */ output_set_value("led1", BIT(data, 4)); // LED "D11" output_set_value("led2", BIT(data, 5)); // LED "D10" @@ -656,19 +656,19 @@ WRITE8_MEMBER(rainbow_state::z80_diskdiag_write_w) WRITE8_MEMBER(rainbow_state::z80_diskcontrol_write_w) { - //printf("%02x to z80 DISK CONTROL (W)\n", data); + //printf("%02x to z80 DISK CONTROL (W)\n", data); - // TODO: this logic is a bit primitive. According to the spec, the RX-50 drive LED only turns on if + // TODO: this logic is a bit primitive. According to the spec, the RX-50 drive LED only turns on if // (a) spindle motor runs (b) disk is in drive (c) door closed (d) drive side is selected - if ( (data & 1) && (data & 8) ) - output_set_value("led20", 0); // DISKETTE 0 SELECTED & MOTOR 0 ON => LIGHT "DRIVE A" + if ( (data & 1) && (data & 8) ) + output_set_value("led20", 0); // DISKETTE 0 SELECTED & MOTOR 0 ON => LIGHT "DRIVE A" else - output_set_value("led20", 1); + output_set_value("led20", 1); - if ( (data & 2) && (data & 8) ) - output_set_value("led21", 0); // DISKETTE 1 SELECTED & MOTOR 0 ON => LIGHT "DRIVE B" + if ( (data & 2) && (data & 8) ) + output_set_value("led21", 0); // DISKETTE 1 SELECTED & MOTOR 0 ON => LIGHT "DRIVE B" else - output_set_value("led21", 1); + output_set_value("led21", 1); } READ8_MEMBER( rainbow_state::read_video_ram_r ) @@ -691,9 +691,9 @@ READ8_MEMBER( rainbow_state::diagnostic_r ) // printf("%02x DIP value ORed to diagnostic\n", ( m_inp1->read() | m_inp2->read() | m_inp3->read() ) ); return ( (m_diagnostic & (0xf1)) | ( m_inp1->read() | - m_inp2->read() | - m_inp3->read() ) - ); + m_inp2->read() | + m_inp3->read() ) + ); } WRITE8_MEMBER( rainbow_state::diagnostic_w ) @@ -758,14 +758,14 @@ TIMER_DEVICE_CALLBACK_MEMBER(rainbow_state::keyboard_tick) { m_kbd8251->transmit_clock(); m_kbd8251->receive_clock(); - - if (m_beep_counter > 1) - m_beep_counter--; - else - if ( m_beep_counter == 1 ) + + if (m_beep_counter > 1) + m_beep_counter--; + else + if ( m_beep_counter == 1 ) { m_beep->set_state(0); - m_beep_counter = 0; - } + m_beep_counter = 0; + } } static const vt_video_interface video_interface = @@ -852,7 +852,7 @@ static MACHINE_CONFIG_START( rainbow, rainbow_state ) MCFG_PALETTE_LENGTH(3) MCFG_PALETTE_INIT_OVERRIDE(driver_device, monochrome_amber) MCFG_RAINBOW_VIDEO_ADD("vt100_video", video_interface) - + /* sound hardware */ MCFG_SPEAKER_STANDARD_MONO("mono") MCFG_SOUND_ADD("beeper", BEEP, 0) diff --git a/src/mess/drivers/sbc6510.c b/src/mess/drivers/sbc6510.c index 2ee572fd0ac..c1c7a847472 100644 --- a/src/mess/drivers/sbc6510.c +++ b/src/mess/drivers/sbc6510.c @@ -284,7 +284,7 @@ static MACHINE_CONFIG_START( sbc6510, sbc6510_state ) MCFG_CPU_PROGRAM_MAP(sbc6510_mem) MCFG_CPU_ADD("videocpu",ATMEGA88, XTAL_16MHz) -// MCFG_DEVICE_DISABLE() // trips SLEEP opcode, needs to be emulated +// MCFG_DEVICE_DISABLE() // trips SLEEP opcode, needs to be emulated MCFG_CPU_AVR8_CONFIG(atmega88_config) MCFG_CPU_PROGRAM_MAP(sbc6510_video_mem) MCFG_CPU_DATA_MAP(sbc6510_video_data) diff --git a/src/mess/drivers/segapico.c b/src/mess/drivers/segapico.c index 8eed241ce82..3b44bb4376c 100644 --- a/src/mess/drivers/segapico.c +++ b/src/mess/drivers/segapico.c @@ -21,32 +21,32 @@ Pico mainboard (PAL version) | | | +-+ | | | | +--+ |B| +-+ | | | | |A3| +-+ | | | -| +------------------------------+ +--+ |C| +-| +| +------------------------------+ +--+ |C| +-| | | | | | | GCMK-C2X +-+ | --> PEN -| +-----+ +--+ +-| -| | | |A3| +--------+ | -| | A1 | +--+ | | +---------+ | +| +-----+ +--+ +-| +| | | |A3| +--------+ | +| | A1 | +--+ | | +---------+ | | SEGA | | | A2 | |HM53861J | | -| 1994 837-10846 +-----+ | | | | | -| IAC MAIN PAL +--------+ +---------+ | +| 1994 837-10846 +-----+ | | | | | +| IAC MAIN PAL +--------+ +---------+ | | MADE IN JAPAN +----+ | -| VA0 +----------+ |XTAL| +--+ -| | SEGA | +---------+ | | | <-- VCC IN +| VA0 +----------+ |XTAL| +--+ +| | SEGA | +---------+ | | | <-- VCC IN | | 315-5640 | |MC68HC000| |53.2| +--+ -| | 9434 W51 | |FN8-A | +----+ |00 | +----------+ | -| | | | | | | +----+ | SEGA | | -| | | | 2B89N | | | | 315-5313A| | -| | | |S0AH9425A| | A4 | | F1001 | +--| -| +----------+ +---------+ | | | | | | +| | 9434 W51 | |FN8-A | +----+ |00 | +----------+ | +| | | | | | | +----+ | SEGA | | +| | | | 2B89N | | | | 315-5313A| | +| | | |S0AH9425A| | A4 | | F1001 | +--| +| +----------+ +---------+ | | | | | | | | | |9428 LAGG | | --> VIDEO OUT | | | | | | | -| +----+ +----------+ +--| +| +----+ +----------+ +--| | | | +----------------------------+ | | ||||||CARTRIDGE CONNECTOR||||| | | +----------------------------+ | -| | +| | +------------------------------------------------------------------------------------------------------------+ A1 = SEGA / 315-5641 / D77591 / 9442CA010 @@ -130,7 +130,7 @@ class pico_base_state : public md_cons_state { public: pico_base_state(const machine_config &mconfig, device_type type, const char *tag) - : md_cons_state(mconfig, type, tag), + : md_cons_state(mconfig, type, tag), m_upd7759(*this, "7759") { } optional_device<upd7759_device> m_upd7759; @@ -271,7 +271,7 @@ READ16_MEMBER(pico_base_state::pico_68k_io_read ) static void sound_cause_irq( device_t *device, int chip ) { pico_base_state *state = device->machine().driver_data<pico_base_state>(); -// printf("sound irq\n"); +// printf("sound irq\n"); /* upd7759 callback */ state->m_maincpu->set_input_line(3, HOLD_LINE); } @@ -285,11 +285,10 @@ const upd775x_interface pico_upd7759_interface = WRITE16_MEMBER(pico_base_state::pico_68k_io_write ) { -// printf("pico_68k_io_write %04x %04x %04x\n", offset*2, data, mem_mask); +// printf("pico_68k_io_write %04x %04x %04x\n", offset*2, data, mem_mask); switch (offset) { - case 0x12/2: // guess m_upd7759->reset_w(0); m_upd7759->start_w(0); @@ -471,11 +470,11 @@ MMG-1 | |FL-1| |FL-1| | | | E | | |0 | |0 | | | | D | | | | | | | | | | - |--+ +----+ +----+ +-------------+ | | + |--+ +----+ +----+ +-------------+ | | +-- | | C | | |--+ | O | S-AUDIO <-| | +-----------+ +-------+ | N | - | |--+ | SEGA | | SEGA | +-----------+ | N | + | |--+ | SEGA | | SEGA | +-----------+ | N | +-- | | 315-5640 | |315-564| | 3D4 UA | | E | |--+ | 9333 W26 | |1 | |HD68HC000CP| | C | | | | |D77591 | |8 | | T | diff --git a/src/mess/drivers/studio2.c b/src/mess/drivers/studio2.c index 919771590a1..2418263a2b4 100644 --- a/src/mess/drivers/studio2.c +++ b/src/mess/drivers/studio2.c @@ -434,7 +434,7 @@ WRITE8_MEMBER( visicom_state::dma_w ) { int sx = m_screen->hpos() + 4; int y = m_screen->vpos(); - + UINT8 addr = offset & 0xff; UINT8 color0 = m_color0_ram[addr]; UINT8 color1 = m_color1_ram[addr]; @@ -695,12 +695,12 @@ DRIVER_INIT_MEMBER(studio2_state,studio2) /* Game Drivers */ -// YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS -CONS( 1977, studio2, 0, 0, studio2, studio2, studio2_state, studio2, "RCA", "Studio II", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) -CONS( 1978, visicom, studio2,0, visicom, studio2, studio2_state, studio2, "Toshiba", "Visicom COM-100 (Japan)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) -CONS( 1978, mpt02, studio2,0, mpt02, studio2, studio2_state, studio2, "Soundic", "Victory MPT-02 Home TV Programmer (Austria)", GAME_SUPPORTS_SAVE ) -CONS( 1978, mpt02h, studio2,0, mpt02, studio2, studio2_state, studio2, "Hanimex", "MPT-02 Jeu TV Programmable (France)", GAME_SUPPORTS_SAVE ) -CONS( 1978, mtc9016, studio2,0, mpt02, studio2, studio2_state, studio2, "Mustang", "9016 Telespiel Computer (Germany)", GAME_SUPPORTS_SAVE ) -CONS( 1978, shmc1200, studio2,0, mpt02, studio2, studio2_state, studio2, "Sheen", "1200 Micro Computer (Australia)", GAME_SUPPORTS_SAVE ) -CONS( 1978, cm1200, studio2,0, mpt02, studio2, studio2_state, studio2, "Conic", "M-1200 (?)", GAME_SUPPORTS_SAVE ) -CONS( 1978, apollo80, studio2,0, mpt02, studio2, studio2_state, studio2, "Academy", "Apollo 80 (Germany)", GAME_SUPPORTS_SAVE ) +// YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS +CONS( 1977, studio2, 0, 0, studio2, studio2, studio2_state, studio2, "RCA", "Studio II", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) +CONS( 1978, visicom, studio2,0, visicom, studio2, studio2_state, studio2, "Toshiba", "Visicom COM-100 (Japan)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) +CONS( 1978, mpt02, studio2,0, mpt02, studio2, studio2_state, studio2, "Soundic", "Victory MPT-02 Home TV Programmer (Austria)", GAME_SUPPORTS_SAVE ) +CONS( 1978, mpt02h, studio2,0, mpt02, studio2, studio2_state, studio2, "Hanimex", "MPT-02 Jeu TV Programmable (France)", GAME_SUPPORTS_SAVE ) +CONS( 1978, mtc9016, studio2,0, mpt02, studio2, studio2_state, studio2, "Mustang", "9016 Telespiel Computer (Germany)", GAME_SUPPORTS_SAVE ) +CONS( 1978, shmc1200, studio2,0, mpt02, studio2, studio2_state, studio2, "Sheen", "1200 Micro Computer (Australia)", GAME_SUPPORTS_SAVE ) +CONS( 1978, cm1200, studio2,0, mpt02, studio2, studio2_state, studio2, "Conic", "M-1200 (?)", GAME_SUPPORTS_SAVE ) +CONS( 1978, apollo80, studio2,0, mpt02, studio2, studio2_state, studio2, "Academy", "Apollo 80 (Germany)", GAME_SUPPORTS_SAVE ) diff --git a/src/mess/drivers/supracan.c b/src/mess/drivers/supracan.c index f1ec608195d..a85aa12558a 100644 --- a/src/mess/drivers/supracan.c +++ b/src/mess/drivers/supracan.c @@ -1130,7 +1130,7 @@ static ADDRESS_MAP_START( supracan_mem, AS_PROGRAM, 16, supracan_state ) AM_RANGE( 0xe90000, 0xe9001f ) AM_READWRITE( supracan_sound_r, supracan_sound_w ) AM_RANGE( 0xe90020, 0xe9002f ) AM_WRITE( supracan_dma_channel0_w ) AM_RANGE( 0xe90030, 0xe9003f ) AM_WRITE( supracan_dma_channel1_w ) - + AM_RANGE( 0xf00000, 0xf001ff ) AM_READWRITE( supracan_video_r, supracan_video_w ) AM_RANGE( 0xf00200, 0xf003ff ) AM_RAM AM_WRITE(paletteram_xBBBBBGGGGGRRRRR_word_w) AM_SHARE("paletteram") AM_RANGE( 0xf40000, 0xf5ffff ) AM_READWRITE(supracan_vram_r, supracan_vram_w) @@ -1743,7 +1743,7 @@ WRITE16_MEMBER( supracan_state::supracan_video_w ) verboselog("maincpu", 0, "supracan_video_w: Unknown register: %08x = %04x & %04x\n", 0xf00000 + (offset << 1), data, mem_mask); break; } -// m_video_regs[offset] = data; +// m_video_regs[offset] = data; } diff --git a/src/mess/drivers/v1050.c b/src/mess/drivers/v1050.c index dc64584ccba..e62ad9c78fb 100644 --- a/src/mess/drivers/v1050.c +++ b/src/mess/drivers/v1050.c @@ -93,39 +93,39 @@ Notes: /* - Using the hard disk - ------------------- + Using the hard disk + ------------------- - Use the chdman utility to create a Tandon TM501 (5MB) or CMI CM-5412 (10MB) hard disk image: + Use the chdman utility to create a Tandon TM501 (5MB) or CMI CM-5412 (10MB) hard disk image: $ chdman createhd -chs 306,2,32 -ss 256 -o tm501.chd - $ chdman createhd -chs 306,4,32 -ss 256 -o cm5412.chd + $ chdman createhd -chs 306,4,32 -ss 256 -o cm5412.chd - Start the Visual 1050 emulator with the floppy and hard disk images mounted: + Start the Visual 1050 emulator with the floppy and hard disk images mounted: - $ mess v1050 -flop1 cpm3:flop2 -hard cm5412.chd + $??mess v1050 -flop1 cpm3:flop2 -hard cm5412.chd - Start the Winchester Format Program from the CP/M prompt: + Start the Winchester Format Program from the CP/M prompt: - A>fmtwinch + A>fmtwinch - Enter Y to continue. - Ener A for 5MB, or B for 10MB hard disk. - Enter C to start formatting. + Enter Y to continue. + Ener A for 5MB, or B for 10MB hard disk. + Enter C to start formatting. - Once the formatting is complete, the CP/M system files need to be copied over to the hard disk: + Once the formatting is complete, the CP/M system files need to be copied over to the hard disk: - A>copysys + A>copysys - Enter source drive name "a" and press RETURN. - Enter target drive name "c" and press RETURN. - Enter "y" at the prompt for CPM3.SYS. - Enter "y" at the prompt for CCP.COM. - Press RETURN to return to CP/M. + Enter source drive name "a" and press RETURN. + Enter target drive name "c" and press RETURN. + Enter "y" at the prompt for CPM3.SYS. + Enter "y" at the prompt for CCP.COM. + Press RETURN to return to CP/M. - The hard disk can now be booted from with the following command line: + The hard disk can now be booted from with the following command line: - $ mess v1050 -hard cm5412.chd + $ mess v1050 -hard cm5412.chd */ diff --git a/src/mess/drivers/zaurus.c b/src/mess/drivers/zaurus.c index 8a0e44bd5c8..eb5db827b39 100644 --- a/src/mess/drivers/zaurus.c +++ b/src/mess/drivers/zaurus.c @@ -1,13 +1,13 @@ /**************************************************************************************************************************************** - Sharp Zaurus PDA skeleton driver (SL, ARM/Linux based, 4th generation) + Sharp Zaurus PDA skeleton driver (SL, ARM/Linux based, 4th generation) - TODO: - - PXA-255 ID opcode fails on this - - ARM TLB look-up errors? - - RTC irq doesn't fire? - - For whatever reason, after RTC check ARM executes invalid code at 0-0x200 - - Dumps are questionable to say the least + TODO: + - PXA-255 ID opcode fails on this + - ARM TLB look-up errors? + - RTC irq doesn't fire? + - For whatever reason, after RTC check ARM executes invalid code at 0-0x200 + - Dumps are questionable to say the least ========================================================================================================================================= Sharp Zaurus @@ -1472,8 +1472,6 @@ void zaurus_state::video_start() UINT32 zaurus_state::screen_update( screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect ) { - - return 0; } @@ -1501,7 +1499,7 @@ void zaurus_state::pxa255_ostimer_irq_check() { PXA255_OSTMR_Regs *ostimer_regs = &m_ostimer_regs; -// logerror("%08x OStimer irq check\n",ostimer_regs->oier); +// logerror("%08x OStimer irq check\n",ostimer_regs->oier); pxa255_set_irq_line(PXA255_INT_OSTIMER0, (ostimer_regs->oier & PXA255_OIER_E0) ? ((ostimer_regs->ossr & PXA255_OSSR_M0) ? 1 : 0) : 0); //pxa255_set_irq_line(PXA255_INT_OSTIMER1, (ostimer_regs->oier & PXA255_OIER_E1) ? ((ostimer_regs->ossr & PXA255_OSSR_M1) ? 1 : 0) : 0); @@ -1784,7 +1782,7 @@ MACHINE_CONFIG_END /* was labeled SL-C500 */ ROM_START( zsl5500 ) ROM_REGION32_LE( 0x200000, "firmware", ROMREGION_ERASE00 ) - ROM_LOAD( "sl-c500 v1.20 (zimage).bin", 0x000000, 0x13c000, BAD_DUMP CRC(dc1c259f) SHA1(8150744196a72821ae792462d0381182274c2ce0) ) + ROM_LOAD( "sl-c500 v1.20 (zimage).bin", 0x000000, 0x13c000, BAD_DUMP CRC(dc1c259f) SHA1(8150744196a72821ae792462d0381182274c2ce0) ) ROM_END ROM_START( zsl5600 ) @@ -1794,7 +1792,7 @@ ROM_END ROM_START( zslc750 ) ROM_REGION32_LE( 0x200000, "firmware", ROMREGION_ERASE00 ) - ROM_LOAD( "zaurus sl-c750 (zimage).bin", 0x000000, 0x121544, BAD_DUMP CRC(56353f4d) SHA1(8e1fff6e93d560bd6572c5c163bbd81378693f68) ) + ROM_LOAD( "zaurus sl-c750 (zimage).bin", 0x000000, 0x121544, BAD_DUMP CRC(56353f4d) SHA1(8e1fff6e93d560bd6572c5c163bbd81378693f68) ) ROM_END ROM_START( zslc760 ) @@ -1804,12 +1802,12 @@ ROM_END ROM_START( zslc3000 ) ROM_REGION32_LE( 0x200000, "firmware", ROMREGION_ERASE00 ) - ROM_LOAD( "openzaurus 3.5.3 - zimage-sharp sl-c3000-20050428091110.bin", 0x000000, 0x12828c, BAD_DUMP CRC(fd94510d) SHA1(901f8154b4228a448f5551f0c9f21c2153e1e3a1) ) + ROM_LOAD( "openzaurus 3.5.3 - zimage-sharp sl-c3000-20050428091110.bin", 0x000000, 0x12828c, BAD_DUMP CRC(fd94510d) SHA1(901f8154b4228a448f5551f0c9f21c2153e1e3a1) ) ROM_END ROM_START( zslc1000 ) ROM_REGION32_LE( 0x200000, "firmware", ROMREGION_ERASE00 ) - ROM_LOAD( "openzaurus 3.5.3 - zimage-sharp sl-c1000-20050427214434.bin", 0x000000, 0x128980, BAD_DUMP CRC(1e1a9279) SHA1(909ac3f00385eced55822d6a155b79d9d25f43b3) ) + ROM_LOAD( "openzaurus 3.5.3 - zimage-sharp sl-c1000-20050427214434.bin", 0x000000, 0x128980, BAD_DUMP CRC(1e1a9279) SHA1(909ac3f00385eced55822d6a155b79d9d25f43b3) ) ROM_END GAME( 2002, zsl5500, 0, zaurus, zaurus, driver_device, 0, ROT0, "Sharp", "Zaurus SL-5500 \"Collie\"", GAME_IS_SKELETON ) |
