summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-09-17 06:47:03 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-09-17 06:47:03 +0000
commit96aa5e1c086b4927456dc88b925d8ec112f0482e (patch)
treef59d136c51d4a065f39e3ab0d73981526c4d156b /src/mess
parenta7d12daf5b4c3374e8ad47a003ac7fff73d5c8fc (diff)
Cleanups and version bumpmame0150
Diffstat (limited to 'src/mess')
-rw-r--r--src/mess/drivers/a7800.c264
-rw-r--r--src/mess/drivers/abc1600.c4
-rw-r--r--src/mess/drivers/apple2.c17
-rw-r--r--src/mess/drivers/apricot.c4
-rw-r--r--src/mess/drivers/cat.c4
-rw-r--r--src/mess/drivers/cosmicos.c4
-rw-r--r--src/mess/drivers/dccons.c466
-rw-r--r--src/mess/drivers/dsb46.c2
-rw-r--r--src/mess/drivers/esq5505.c22
-rw-r--r--src/mess/drivers/kaypro.c4
-rw-r--r--src/mess/drivers/kyocera.c18
-rw-r--r--src/mess/drivers/lola8a.c111
-rw-r--r--src/mess/drivers/mac.c2
-rw-r--r--src/mess/drivers/megadriv.c1
-rw-r--r--src/mess/drivers/mtx.c42
-rw-r--r--src/mess/drivers/octopus.c48
-rw-r--r--src/mess/drivers/onyx.c6
-rw-r--r--src/mess/drivers/pc9801.c36
-rw-r--r--src/mess/drivers/rainbow.c246
-rw-r--r--src/mess/drivers/sbc6510.c2
-rw-r--r--src/mess/drivers/segapico.c41
-rw-r--r--src/mess/drivers/studio2.c20
-rw-r--r--src/mess/drivers/supracan.c4
-rw-r--r--src/mess/drivers/v1050.c40
-rw-r--r--src/mess/drivers/zaurus.c26
-rw-r--r--src/mess/includes/aim65.h2
-rw-r--r--src/mess/includes/amstr_pc.h4
-rw-r--r--src/mess/includes/dccons.h8
-rw-r--r--src/mess/includes/md_cons.h2
-rw-r--r--src/mess/includes/osi.h2
-rw-r--r--src/mess/includes/rmnimbus.h28
-rw-r--r--src/mess/includes/studio2.h2
-rw-r--r--src/mess/layout/rainbow.lay6
-rw-r--r--src/mess/machine/64h156.c2
-rw-r--r--src/mess/machine/a2applicard.c20
-rw-r--r--src/mess/machine/abc1600mac.c2
-rw-r--r--src/mess/machine/abc1600mac.h2
-rw-r--r--src/mess/machine/c2040.c16
-rw-r--r--src/mess/machine/c64/magic_voice.c104
-rw-r--r--src/mess/machine/c64/magic_voice.h2
-rw-r--r--src/mess/machine/c64/music64.h2
-rw-r--r--src/mess/machine/c64_nl10.h2
-rw-r--r--src/mess/machine/comx_fd.c4
-rw-r--r--src/mess/machine/dccons.c4
-rw-r--r--src/mess/machine/e05a03.c1
-rw-r--r--src/mess/machine/e05a03.h4
-rw-r--r--src/mess/machine/hardbox.c59
-rw-r--r--src/mess/machine/hardbox.h2
-rw-r--r--src/mess/machine/isa_wd1002a_wx1.c2
-rw-r--r--src/mess/machine/isa_xtide.c4
-rw-r--r--src/mess/machine/mac.c16
-rw-r--r--src/mess/machine/mackbd.c21
-rw-r--r--src/mess/machine/mackbd.h22
-rw-r--r--src/mess/machine/micropolis.c2
-rw-r--r--src/mess/machine/micropolis.h10
-rw-r--r--src/mess/machine/mpu401.c73
-rw-r--r--src/mess/machine/mpu401.h2
-rw-r--r--src/mess/machine/pc_lpt.h4
-rw-r--r--src/mess/machine/rmnimbus.c4
-rw-r--r--src/mess/machine/ti99/spchsyn.c4
-rw-r--r--src/mess/machine/ti99/videowrp.c4
-rw-r--r--src/mess/mess.lst2
-rw-r--r--src/mess/video/733_asr.h2
-rw-r--r--src/mess/video/911_vdt.h2
-rw-r--r--src/mess/video/abc1600.c18
-rw-r--r--src/mess/video/abc1600.h2
-rw-r--r--src/mess/video/cirrus.h2
-rw-r--r--src/mess/video/gb_lcd.h2
-rw-r--r--src/mess/video/k1ge.h6
-rw-r--r--src/mess/video/nubus_m2video.c4
-rw-r--r--src/mess/video/pds30_procolor816.c2
-rw-r--r--src/mess/video/vtvideo.c102
72 files changed, 1006 insertions, 1020 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 )
diff --git a/src/mess/includes/aim65.h b/src/mess/includes/aim65.h
index 313a9d66010..fec6d81df8c 100644
--- a/src/mess/includes/aim65.h
+++ b/src/mess/includes/aim65.h
@@ -77,7 +77,7 @@ public:
DECLARE_WRITE16_MEMBER(aim65_update_ds3);
DECLARE_WRITE16_MEMBER(aim65_update_ds4);
DECLARE_WRITE16_MEMBER(aim65_update_ds5);
-
+
void dl1416_update(dl1416_device *device, int index);
DECLARE_DEVICE_IMAGE_LOAD_MEMBER(aim65_cart);
diff --git a/src/mess/includes/amstr_pc.h b/src/mess/includes/amstr_pc.h
index bd297e86b4a..ec37c30c8c5 100644
--- a/src/mess/includes/amstr_pc.h
+++ b/src/mess/includes/amstr_pc.h
@@ -18,10 +18,10 @@ public:
m_lpt1(*this, "lpt_1"),
m_lpt2(*this, "lpt_2")
{ m_mouse.x =0; m_mouse.y=0;}
-
+
required_device<pc_lpt_device> m_lpt1;
required_device<pc_lpt_device> m_lpt2;
-
+
DECLARE_READ8_MEMBER( pc1640_port60_r );
DECLARE_WRITE8_MEMBER( pc1640_port60_w );
diff --git a/src/mess/includes/dccons.h b/src/mess/includes/dccons.h
index 45b74bb6806..56d7b19a213 100644
--- a/src/mess/includes/dccons.h
+++ b/src/mess/includes/dccons.h
@@ -9,11 +9,11 @@ public:
dc_cons_state(const machine_config &mconfig, device_type type, const char *tag)
: dc_state(mconfig, type, tag),
m_ata(*this, "ata")
-// m_dcflash(*this, "dcflash")
+// m_dcflash(*this, "dcflash")
{ }
required_device<ata_interface_device> m_ata;
-// required_device<macronix_29lv160tmc_device> m_dcflash;
+// required_device<macronix_29lv160tmc_device> m_dcflash;
DECLARE_DRIVER_INIT(dc);
DECLARE_DRIVER_INIT(dcus);
@@ -36,8 +36,8 @@ public:
void dreamcast_atapi_init();
DECLARE_READ32_MEMBER( dc_mess_g1_ctrl_r );
DECLARE_WRITE32_MEMBER( dc_mess_g1_ctrl_w );
-// DECLARE_READ8_MEMBER( dc_flash_r );
-// DECLARE_WRITE8_MEMBER( dc_flash_w );
+// DECLARE_READ8_MEMBER( dc_flash_r );
+// DECLARE_WRITE8_MEMBER( dc_flash_w );
private:
UINT64 PDTRA, PCTRA;
diff --git a/src/mess/includes/md_cons.h b/src/mess/includes/md_cons.h
index c6d746fc93d..ec0a779cef7 100644
--- a/src/mess/includes/md_cons.h
+++ b/src/mess/includes/md_cons.h
@@ -26,5 +26,3 @@ public:
DECLARE_MACHINE_START( ms_megadriv ); // setup ioport_port + install cartslot handlers
DECLARE_MACHINE_RESET( ms_megadriv );
};
-
-
diff --git a/src/mess/includes/osi.h b/src/mess/includes/osi.h
index b6da6d79367..04a16a44836 100644
--- a/src/mess/includes/osi.h
+++ b/src/mess/includes/osi.h
@@ -74,7 +74,7 @@ public:
/* floppy state */
int m_fdc_index;
DECLARE_WRITE_LINE_MEMBER(osi470_index_callback);
-
+
DECLARE_PALETTE_INIT(osi630);
required_device<cpu_device> m_maincpu;
diff --git a/src/mess/includes/rmnimbus.h b/src/mess/includes/rmnimbus.h
index 1f27d8bb4a1..5405c16203b 100644
--- a/src/mess/includes/rmnimbus.h
+++ b/src/mess/includes/rmnimbus.h
@@ -411,7 +411,7 @@ public:
required_device<ram_device> m_ram;
UINT32 m_debug_machine;
-// i186_state m_i186;
+// i186_state m_i186;
keyboard_t m_keyboard;
nimbus_drives_t m_nimbus_drives;
ipc_interface_t m_ipc_interface;
@@ -429,8 +429,8 @@ public:
UINT8 m_hs_count;
UINT32 m_debug_video;
UINT8 m_vector;
-// DECLARE_READ16_MEMBER(nimbus_i186_internal_port_r);
-// DECLARE_WRITE16_MEMBER(nimbus_i186_internal_port_w);
+// DECLARE_READ16_MEMBER(nimbus_i186_internal_port_r);
+// DECLARE_WRITE16_MEMBER(nimbus_i186_internal_port_w);
DECLARE_READ8_MEMBER(nimbus_mcu_r);
DECLARE_WRITE8_MEMBER(nimbus_mcu_w);
DECLARE_READ16_MEMBER(nimbus_io_r);
@@ -461,8 +461,8 @@ public:
virtual void palette_init();
UINT32 screen_update_nimbus(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void screen_eof_nimbus(screen_device &screen, bool state);
-// TIMER_CALLBACK_MEMBER(internal_timer_int);
-// TIMER_CALLBACK_MEMBER(dma_timer_callback);
+// TIMER_CALLBACK_MEMBER(internal_timer_int);
+// TIMER_CALLBACK_MEMBER(dma_timer_callback);
TIMER_CALLBACK_MEMBER(keyscan_callback);
TIMER_CALLBACK_MEMBER(mouse_callback);
DECLARE_WRITE_LINE_MEMBER(sio_interrupt);
@@ -502,17 +502,17 @@ public:
void write_reg_01E();
void write_reg_026();
void change_palette(UINT8 bank, UINT16 colours, UINT8 regno);
-// void update_interrupt_state();
-// void handle_eoi(int data);
+// void update_interrupt_state();
+// void handle_eoi(int data);
void external_int(UINT16 intno, UINT8 vector);
DECLARE_READ8_MEMBER(cascade_callback);
-// void nimbus_recalculate_ints();
-// void internal_timer_sync(int which);
-// void internal_timer_update(int which,int new_count,int new_maxA,int new_maxB,int new_control);
-// void update_dma_control(int which, int new_control);
-// void drq_callback(int which);
-// void nimbus_cpu_init();
-// void nimbus_cpu_reset();
+// void nimbus_recalculate_ints();
+// void internal_timer_sync(int which);
+// void internal_timer_update(int which,int new_count,int new_maxA,int new_maxB,int new_control);
+// void update_dma_control(int which, int new_control);
+// void drq_callback(int which);
+// void nimbus_cpu_init();
+// void nimbus_cpu_reset();
void *get_dssi_ptr(address_space &space, UINT16 ds, UINT16 si);
void nimbus_bank_memory();
void memory_reset();
diff --git a/src/mess/includes/studio2.h b/src/mess/includes/studio2.h
index ec1b85e32f3..75d0bca2507 100644
--- a/src/mess/includes/studio2.h
+++ b/src/mess/includes/studio2.h
@@ -79,7 +79,7 @@ public:
required_shared_ptr<UINT8> m_color1_ram;
DECLARE_WRITE8_MEMBER( dma_w );
-
+
DECLARE_DEVICE_IMAGE_LOAD_MEMBER( visicom_cart_load );
};
diff --git a/src/mess/layout/rainbow.lay b/src/mess/layout/rainbow.lay
index 27b6752ec68..641d554999a 100644
--- a/src/mess/layout/rainbow.lay
+++ b/src/mess/layout/rainbow.lay
@@ -8,7 +8,7 @@
</disk>
</element>
-
+
<element name="DRIVE0">
<text string="A">
<color red="1.0" green="1.0" blue="1.0" />
@@ -87,7 +87,7 @@
<bezel name="led21" element="led">
<bounds x="15" y="18" width="10" height="10" />
</bezel>
-
+
<bezel name="led1" element="led">
<bounds x="15" y="43" width="10" height="10" />
</bezel>
@@ -121,7 +121,7 @@
<bezel name="led11" element="led">
<bounds x="15" y="252" width="10" height="10" />
</bezel>
-
+
<bezel name="label20" element="DRIVE0">
<bounds x="0" y="0" width="15" height="16" />
</bezel>
diff --git a/src/mess/machine/64h156.c b/src/mess/machine/64h156.c
index 085cee38612..a33928aeada 100644
--- a/src/mess/machine/64h156.c
+++ b/src/mess/machine/64h156.c
@@ -757,7 +757,7 @@ void c64h156_device::set_side(int side)
if (m_side != side)
{
m_side = side;
-
+
// read new track data
read_current_track();
}
diff --git a/src/mess/machine/a2applicard.c b/src/mess/machine/a2applicard.c
index 163e988f13e..c568f1085d5 100644
--- a/src/mess/machine/a2applicard.c
+++ b/src/mess/machine/a2applicard.c
@@ -3,10 +3,10 @@
a2applicard.c
Implementation of the PCPI AppliCard Z-80 card
-
+
Unlike the SoftCard and clones, this has its own 64k of RAM on board
and the Z80 runs completely independently of the host's 6502.
-
+
*********************************************************************/
#include "a2applicard.h"
@@ -25,7 +25,7 @@
const device_type A2BUS_APPLICARD = &device_creator<a2bus_applicard_device>;
#define Z80_TAG "z80"
-#define Z80_ROM_REGION "z80_rom"
+#define Z80_ROM_REGION "z80_rom"
static ADDRESS_MAP_START( z80_mem, AS_PROGRAM, 8, a2bus_applicard_device )
AM_RANGE(0x0000, 0xffff) AM_READWRITE(dma_r, dma_w)
@@ -36,7 +36,7 @@ static ADDRESS_MAP_START( z80_io, AS_IO, 8, a2bus_applicard_device )
ADDRESS_MAP_END
MACHINE_CONFIG_FRAGMENT( a2applicard )
- MCFG_CPU_ADD(Z80_TAG, Z80, 6000000) // Z80 runs at 6 MHz
+ MCFG_CPU_ADD(Z80_TAG, Z80, 6000000) // Z80 runs at 6 MHz
MCFG_CPU_PROGRAM_MAP(z80_mem)
MCFG_CPU_IO_MAP(z80_io)
MACHINE_CONFIG_END
@@ -147,7 +147,7 @@ UINT8 a2bus_applicard_device::read_c0nx(address_space &space, UINT8 offset)
m_z80->reset();
break;
- case 6: // IRQ on Z80 via CTC channel 3 (CP/M doesn't use the CTC or IRQs)
+ case 6: // IRQ on Z80 via CTC channel 3 (CP/M doesn't use the CTC or IRQs)
fatalerror("Applicard: Z80 IRQ not supported yet\n");
break;
@@ -163,7 +163,7 @@ void a2bus_applicard_device::write_c0nx(address_space &space, UINT8 offset, UINT
{
switch (offset & 0xf)
{
- case 0: // are these legal to write?
+ case 0: // are these legal to write?
case 2:
case 3:
break;
@@ -176,7 +176,7 @@ void a2bus_applicard_device::write_c0nx(address_space &space, UINT8 offset, UINT
case 5:
case 6:
case 7:
- read_c0nx(space, offset); // let the read handler take care of these
+ read_c0nx(space, offset); // let the read handler take care of these
break;
}
}
@@ -206,9 +206,9 @@ READ8_MEMBER( a2bus_applicard_device::z80_io_r )
return tmp;
case 0x60:
- break;
+ break;
}
- return 0xff;
+ return 0xff;
}
WRITE8_MEMBER( a2bus_applicard_device::z80_io_w )
@@ -254,7 +254,7 @@ READ8_MEMBER( a2bus_applicard_device::dma_r )
{
return m_z80ram[offset];
}
- return 0xff;
+ return 0xff;
}
diff --git a/src/mess/machine/abc1600mac.c b/src/mess/machine/abc1600mac.c
index 0a5512f3138..1e2766fddb7 100644
--- a/src/mess/machine/abc1600mac.c
+++ b/src/mess/machine/abc1600mac.c
@@ -241,7 +241,7 @@ UINT8 abc1600_mac_device::read_user_memory(offs_t offset)
{
int nonx = 0, wp = 0;
offs_t virtual_offset = translate_address(offset, &nonx, &wp);
-
+
return space().read_byte(virtual_offset);
}
diff --git a/src/mess/machine/abc1600mac.h b/src/mess/machine/abc1600mac.h
index 0acc6377510..353261b00e9 100644
--- a/src/mess/machine/abc1600mac.h
+++ b/src/mess/machine/abc1600mac.h
@@ -43,7 +43,7 @@
// ======================> abc1600_mac_device
class abc1600_mac_device : public device_t,
- public device_memory_interface
+ public device_memory_interface
{
public:
abc1600_mac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
diff --git a/src/mess/machine/c2040.c b/src/mess/machine/c2040.c
index cd9a5458821..d6148263a66 100644
--- a/src/mess/machine/c2040.c
+++ b/src/mess/machine/c2040.c
@@ -505,9 +505,9 @@ READ8_MEMBER( c2040_device::riot1_pb_r )
PB0 DEVICE NUMBER SELECTION
PB1 DEVICE NUMBER SELECTION
PB2 DEVICE NUMBER SELECTION
- PB3
- PB4
- PB5
+ PB3
+ PB4
+ PB5
PB6 DACI
PB7 RFDI
@@ -533,14 +533,14 @@ WRITE8_MEMBER( c2040_device::riot1_pb_w )
bit description
- PB0
- PB1
- PB2
+ PB0
+ PB1
+ PB2
PB3 ACT LED 1
PB4 ACT LED 0
PB5 ERR LED
- PB6
- PB7
+ PB6
+ PB7
*/
diff --git a/src/mess/machine/c64/magic_voice.c b/src/mess/machine/c64/magic_voice.c
index 9defb137f5f..d54d2f4f250 100644
--- a/src/mess/machine/c64/magic_voice.c
+++ b/src/mess/machine/c64/magic_voice.c
@@ -11,21 +11,21 @@
LA05-123 Pinout
---------------
- _____ _____
- NEXTP 1 |* \_/ | 28 +5V
- PD0 2 | | 27 _ROML2
- PD1 3 | | 26 _ROML
- PD2 4 | | 25 _I/O2
- PD3 5 | | 24 _GAME
- CLEAR 6 | | 23 PHI2
+ _____ _____
+ NEXTP 1 |* \_/ | 28 +5V
+ PD0 2 | | 27 _ROML2
+ PD1 3 | | 26 _ROML
+ PD2 4 | | 25 _I/O2
+ PD3 5 | | 24 _GAME
+ CLEAR 6 | | 23 PHI2
_RAM/EPROM 7 | LA05-123 | 22 _ROMH2
- PB5 8 | LA05-124 | 21 _ROMH
- PB6 9 | | 20 CLOCK
- _6525 10 | | 19 SDO
- _EPROM 11 | | 18 NEXTS
- CA12 12 | | 17 _DA/CA
- CA14 13 | | 16 CA15
- GND 14 |_____________| 15 CA13
+ PB5 8 | LA05-124 | 21 _ROMH
+ PB6 9 | | 20 CLOCK
+ _6525 10 | | 19 SDO
+ _EPROM 11 | | 18 NEXTS
+ CA12 12 | | 17 _DA/CA
+ CA14 13 | | 16 CA15
+ GND 14 |_____________| 15 CA13
http://www.stefan-uhlmann.de/cbm/MVM/index.html
@@ -34,9 +34,9 @@ http://www.stefan-uhlmann.de/cbm/MVM/index.html
/*
- TODO:
+ TODO:
- - T6721A speech synthesis
+ - T6721A speech synthesis
*/
@@ -48,14 +48,14 @@ http://www.stefan-uhlmann.de/cbm/MVM/index.html
// MACROS / CONSTANTS
//**************************************************************************
-#define T6721A_TAG "u5"
-#define MOS6525_TAG "u2"
-#define CMOS40105_TAG "u1"
+#define T6721A_TAG "u5"
+#define MOS6525_TAG "u2"
+#define CMOS40105_TAG "u1"
-#define A12 BIT(offset, 12)
-#define A13 BIT(offset, 13)
-#define A14 BIT(offset, 14)
-#define A15 BIT(offset, 15)
+#define A12 BIT(offset, 12)
+#define A13 BIT(offset, 13)
+#define A14 BIT(offset, 14)
+#define A15 BIT(offset, 15)
#define PB5 BIT(m_tpi_pb, 5)
#define PB6 BIT(m_tpi_pb, 6)
@@ -80,18 +80,18 @@ WRITE_LINE_MEMBER( c64_magic_voice_cartridge_device::tpi_irq_w )
READ8_MEMBER( c64_magic_voice_cartridge_device::tpi_pa_r )
{
/*
-
+
bit description
-
- 0
- 1
- 2
- 3
- 4
+
+ 0
+ 1
+ 2
+ 3
+ 4
5 J1 _GAME
6 T6721 _EOS
7 FIFO DIR
-
+
*/
UINT8 data = 0;
@@ -106,18 +106,18 @@ READ8_MEMBER( c64_magic_voice_cartridge_device::tpi_pa_r )
WRITE8_MEMBER( c64_magic_voice_cartridge_device::tpi_pa_w )
{
/*
-
+
bit description
-
+
0 FIFO D0
1 FIFO D1
2 FIFO D2
3 FIFO D3
4 FIFO SI
- 5
- 6
- 7
-
+ 5
+ 6
+ 7
+
*/
m_fifo->write(data & 0x0f);
@@ -127,18 +127,18 @@ WRITE8_MEMBER( c64_magic_voice_cartridge_device::tpi_pa_w )
READ8_MEMBER( c64_magic_voice_cartridge_device::tpi_pb_r )
{
/*
-
+
bit description
-
- 0
- 1
- 2
- 3
- 4
- 5
- 6
+
+ 0
+ 1
+ 2
+ 3
+ 4
+ 5
+ 6
7 J1 _EXROM
-
+
*/
UINT8 data = 0;
@@ -151,9 +151,9 @@ READ8_MEMBER( c64_magic_voice_cartridge_device::tpi_pb_r )
WRITE8_MEMBER( c64_magic_voice_cartridge_device::tpi_pb_w )
{
/*
-
+
bit description
-
+
0 T6721 D0
1 T6721 D1
2 T6721 D2
@@ -161,8 +161,8 @@ WRITE8_MEMBER( c64_magic_voice_cartridge_device::tpi_pb_w )
4 T6721 _WR
5 LA05-124 pin 8 (DA/CA)
6 LA05-124 pin 9 (passthru)
- 7
-
+ 7
+
*/
if (!BIT(m_tpi_pb, 4) && BIT(data, 4))
@@ -208,7 +208,7 @@ WRITE_LINE_MEMBER( c64_magic_voice_cartridge_device::phi2_w )
m_vslsi->di_w(m_pd & 0x01);
m_pd >>= 1;
- }
+ }
}
WRITE_LINE_MEMBER( c64_magic_voice_cartridge_device::dtrd_w )
diff --git a/src/mess/machine/c64/magic_voice.h b/src/mess/machine/c64/magic_voice.h
index 73e5d81c5e1..a553acad186 100644
--- a/src/mess/machine/c64/magic_voice.h
+++ b/src/mess/machine/c64/magic_voice.h
@@ -28,7 +28,7 @@
// ======================> c64_magic_voice_cartridge_device
class c64_magic_voice_cartridge_device : public device_t,
- public device_c64_expansion_card_interface
+ public device_c64_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/mess/machine/c64/music64.h b/src/mess/machine/c64/music64.h
index e5bcfdb46c6..3b7c804f6cb 100644
--- a/src/mess/machine/c64/music64.h
+++ b/src/mess/machine/c64/music64.h
@@ -25,7 +25,7 @@
// ======================> c64_music64_cartridge_device
class c64_music64_cartridge_device : public device_t,
- public device_c64_expansion_card_interface
+ public device_c64_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/mess/machine/c64_nl10.h b/src/mess/machine/c64_nl10.h
index 84c61edc02f..6e7c552d3b9 100644
--- a/src/mess/machine/c64_nl10.h
+++ b/src/mess/machine/c64_nl10.h
@@ -24,7 +24,7 @@
// ======================> c64_nl10_interface_device
class c64_nl10_interface_device : public device_t,
- public device_cbm_iec_interface
+ public device_cbm_iec_interface
{
public:
// construction/destruction
diff --git a/src/mess/machine/comx_fd.c b/src/mess/machine/comx_fd.c
index e1853895ddf..e4b898614ad 100644
--- a/src/mess/machine/comx_fd.c
+++ b/src/mess/machine/comx_fd.c
@@ -44,9 +44,9 @@ Notes:
/*
- TODO:
+ TODO:
- - floppy broken (wd1770 digital PLL FM mode incomplete)
+ - floppy broken (wd1770 digital PLL FM mode incomplete)
*/
diff --git a/src/mess/machine/dccons.c b/src/mess/machine/dccons.c
index 22f25d05bde..1591448f6b4 100644
--- a/src/mess/machine/dccons.c
+++ b/src/mess/machine/dccons.c
@@ -151,7 +151,7 @@ WRITE32_MEMBER(dc_cons_state::dc_mess_g1_ctrl_w )
/* 12x * 75 Hz = 0,00(1) secs per sector */
/* TODO: make DMA to be single step */
atapi_timer->adjust(attotime::from_usec(1111*atapi_xferlen/2048));
-// atapi_regs[ATAPI_REG_SAMTAG] = GDROM_PAUSE_STATE | 0x80;
+// atapi_regs[ATAPI_REG_SAMTAG] = GDROM_PAUSE_STATE | 0x80;
}
break;
@@ -163,7 +163,7 @@ WRITE32_MEMBER(dc_cons_state::dc_mess_g1_ctrl_w )
case GD_UNLOCK:
if (data==0 || data==0x001fffff || data==0x42fe)
{
-// atapi_regs[ATAPI_REG_SAMTAG] = GDROM_PAUSE_STATE | 0x80;
+// atapi_regs[ATAPI_REG_SAMTAG] = GDROM_PAUSE_STATE | 0x80;
printf("Unlocking GD-ROM! %x\n", data);
}
break;
diff --git a/src/mess/machine/e05a03.c b/src/mess/machine/e05a03.c
index 68a3e34e9b4..f7fb6ef5f99 100644
--- a/src/mess/machine/e05a03.c
+++ b/src/mess/machine/e05a03.c
@@ -29,7 +29,6 @@ e05a03_device::e05a03_device(const machine_config &mconfig, const char *tag, dev
m_pf_motor(0),
m_cr_motor(0)
{
-
}
//-------------------------------------------------
diff --git a/src/mess/machine/e05a03.h b/src/mess/machine/e05a03.h
index 220b5dbde2a..6bfa0ee3785 100644
--- a/src/mess/machine/e05a03.h
+++ b/src/mess/machine/e05a03.h
@@ -49,10 +49,10 @@ protected:
virtual void device_config_complete();
virtual void device_start();
virtual void device_reset();
-
+
private:
// internal state
-
+
/* 24-bit shift register, port 0x00, 0x01 and 0x02 */
UINT32 m_shift;
diff --git a/src/mess/machine/hardbox.c b/src/mess/machine/hardbox.c
index 096b366b06a..32e274bbadd 100644
--- a/src/mess/machine/hardbox.c
+++ b/src/mess/machine/hardbox.c
@@ -1,42 +1,42 @@
/****************************************************************************
- SSE HardBox emulation
+ SSE HardBox emulation
- Copyright MESS Team.
- Visit http://mamedev.org for licensing and usage restrictions.
+ Copyright MESS Team.
+ Visit http://mamedev.org for licensing and usage restrictions.
****************************************************************************/
/*
- http://mikenaberezny.com/hardware/pet-cbm/sse-hardbox-corvus-interface/
+ http://mikenaberezny.com/hardware/pet-cbm/sse-hardbox-corvus-interface/
- The HardBox provides a CBM DOS interface for a Corvus hard disk. Before
- it can be used, a hard disk image must first be created and formatted.
- Use the CHDMAN utility to create a 20MB image:
+ The HardBox provides a CBM DOS interface for a Corvus hard disk. Before
+ it can be used, a hard disk image must first be created and formatted.
+ Use the CHDMAN utility to create a 20MB image:
- $ chdman createhd -o /path/to/corvus20mb.chd -chs 388,5,20 -ss 512
+ $ chdman createhd -o /path/to/corvus20mb.chd -chs 388,5,20 -ss 512
- Start the pet8032 emulator with the HardBox attached as device 9,
- with the new CHD and the utilities floppy mounted:
+ Start the pet8032 emulator with the HardBox attached as device 9,
+ with the new CHD and the utilities floppy mounted:
- $ mess pet8032 -ieee9 hardbox \
- -hard1 /path/to/corvus20mb.chd \
- -flop1 /path/to/hardbox-utils.d80
-
- Load and run the "configure" program from the floppy. When prompted
- for the HardBox device number, enter "9".
+ $ mess pet8032 -ieee9 hardbox \
+ -hard1 /path/to/corvus20mb.chd \
+ -flop1 /path/to/hardbox-utils.d80
- Select "q" for quick configure at the menu. It will present a default
- drive size and ask if you want to alter it. If the size is not 20,
- change it to 20.
+ Load and run the "configure" program from the floppy. When prompted
+ for the HardBox device number, enter "9".
- After accepting the drive size, it will prompt if you want to perform
- a format check. This requires uploading code into the Corvus, which
- the high level emulation of the Corvus does not support. Enter "n"
- to skip the format check.
+ Select "q" for quick configure at the menu. It will present a default
+ drive size and ask if you want to alter it. If the size is not 20,
+ change it to 20.
- Enter "y" to proceed with the format. After it has completed, the
- program will exit back to BASIC. The drive should now be usable.
+ After accepting the drive size, it will prompt if you want to perform
+ a format check. This requires uploading code into the Corvus, which
+ the high level emulation of the Corvus does not support. Enter "n"
+ to skip the format check.
+
+ Enter "y" to proceed with the format. After it has completed, the
+ program will exit back to BASIC. The drive should now be usable.
*/
@@ -136,7 +136,7 @@ READ8_MEMBER( hardbox_device::ppi0_pc_r )
{
UINT8 data = ioport("SW1")->read();
- /* DIP switches on PC1,PC2,PC3 configure the IEEE-488 primary address.
+ /* DIP switches on PC1,PC2,PC3 configure the IEEE-488 primary address.
We get the address from m_address instead. */
data |= ((m_slot->get_address() - 8) << 1) ^ 0xff;
@@ -373,7 +373,7 @@ void hardbox_device::device_start()
// reset that must happen after child devices
// have performed their resets
//-------------------------------------------------
-
+
void hardbox_device::device_reset_after_children()
{
/* The Z80 starts at address 0x0000 but the HardBox has RAM there and
@@ -381,9 +381,9 @@ void hardbox_device::device_reset_after_children()
74S287 PROM that temporarily changes the memory map so that the
IC3 EPROM at 0xe000 is mapped to 0x0000 for the first instruction
fetch only. The instruction normally at 0xe000 is an absolute jump
- into the ROM. On reset, the Z80 will fetch it from 0x0000 and set
+ into the ROM. On reset, the Z80 will fetch it from 0x0000 and set
its PC, then the normal map will be restored before the next
- instruction fetch. Here we just set the PC to 0xe000 after the Z80
+ instruction fetch. Here we just set the PC to 0xe000 after the Z80
resets, which has the same effect. */
m_maincpu->set_state_int(Z80_PC, 0xe000);
@@ -403,4 +403,3 @@ void hardbox_device::ieee488_ifc(int state)
m_ifc = state;
}
-
diff --git a/src/mess/machine/hardbox.h b/src/mess/machine/hardbox.h
index ebb1a9f49bd..a727f7cfaa7 100644
--- a/src/mess/machine/hardbox.h
+++ b/src/mess/machine/hardbox.h
@@ -68,7 +68,7 @@ private:
required_device<cpu_device> m_maincpu;
- int m_ifc; // Tracks previous state of IEEE-488 IFC line
+ int m_ifc; // Tracks previous state of IEEE-488 IFC line
};
// device type definition
diff --git a/src/mess/machine/isa_wd1002a_wx1.c b/src/mess/machine/isa_wd1002a_wx1.c
index de5da644960..8e01f284cc4 100644
--- a/src/mess/machine/isa_wd1002a_wx1.c
+++ b/src/mess/machine/isa_wd1002a_wx1.c
@@ -48,7 +48,7 @@ const rom_entry *isa8_wd1002a_wx1_device::device_rom_region() const
isa8_wd1002a_wx1_device::isa8_wd1002a_wx1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ISA8_WD1002A_WX1, "WD1002A-WX1", tag, owner, clock, "wd1002a_wx1", __FILE__),
- device_isa8_card_interface( mconfig, *this )
+ device_isa8_card_interface( mconfig, *this )
{
}
diff --git a/src/mess/machine/isa_xtide.c b/src/mess/machine/isa_xtide.c
index 0a8cf135018..221f0a4b69c 100644
--- a/src/mess/machine/isa_xtide.c
+++ b/src/mess/machine/isa_xtide.c
@@ -222,14 +222,14 @@ ROM_START( xtide )
ROMX_LOAD( "ide_xt.bin(v1.1.5)", 0x000000, 0x002000, CRC(33a7e0ee) SHA1(b610fd8ea31f5b0568b8b3f2c3ef682be4897a3d), ROM_BIOS(14) )
ROM_SYSTEM_BIOS( 14, "xub115xtp", "XTIDE_Universal_BIOS_v1.1.3 (XT 80186+)" )
- ROMX_LOAD( "ide_xtp.bin(v1.1.5)", 0x000000, 0x002000, CRC(44ad9ee9) SHA1(9cd275469703cadb85b6654c56e421a151324ac0), ROM_BIOS(15) )
+ ROMX_LOAD( "ide_xtp.bin(v1.1.5)", 0x000000, 0x002000, CRC(44ad9ee9) SHA1(9cd275469703cadb85b6654c56e421a151324ac0), ROM_BIOS(15) )
ROM_SYSTEM_BIOS( 15, "xub115at", "XTIDE_Universal_BIOS_v1.1.5 (AT)" )
ROMX_LOAD( "ide_at.bin(v1.1.5)", 0x000000, 0x002000, CRC(434286ce) SHA1(3fc07d174924e7c48b4758a7ba76ecd5362bd75b), ROM_BIOS(16) )
ROM_SYSTEM_BIOS( 16, "xub200b1xt", "XTIDE_Universal_BIOS_v2.0.0_beta1 (XT)" )
ROMX_LOAD( "ide_xt.bin(v2.0.0_beta1)", 0x000000, 0x002000, CRC(379579e7) SHA1(da5ee7b9c43a55592fe909451d31a6766d0ab977), ROM_BIOS(17) )
-
+
ROM_SYSTEM_BIOS( 17, "xub200b1xtp", "XTIDE_Universal_BIOS_v2.0.0_beta1 (XT 80186+)" )
ROMX_LOAD( "ide_xtp.bin(v2.0.0_beta1)", 0x000000, 0x002000, CRC(a887ed63) SHA1(fb33d9e8e8824f61a8d247610d7bd215b7e306b4), ROM_BIOS(18) )
diff --git a/src/mess/machine/mac.c b/src/mess/machine/mac.c
index c321f8d7778..e9456f2aee5 100644
--- a/src/mess/machine/mac.c
+++ b/src/mess/machine/mac.c
@@ -98,7 +98,7 @@
#define AUDIO_IS_CLASSIC (m_model <= MODEL_MAC_CLASSIC)
#define MAC_HAS_VIA2 ((m_model >= MODEL_MAC_II) && (m_model != MODEL_MAC_IIFX))
-#define INTS_RBV ((m_model >= MODEL_MAC_IICI) && (m_model <= MODEL_MAC_IIVI)) || ((m_model >= MODEL_MAC_LC) && (m_model <= MODEL_MAC_LC_580))
+#define INTS_RBV ((m_model >= MODEL_MAC_IICI) && (m_model <= MODEL_MAC_IIVI)) || ((m_model >= MODEL_MAC_LC) && (m_model <= MODEL_MAC_LC_580))
#ifdef MAME_DEBUG
#define LOG_ADB 0
@@ -673,24 +673,24 @@ void mac_state::keyboard_init()
WRITE_LINE_MEMBER(mac_state::mac_kbd_clk_in)
{
- printf("CLK: %d\n", state^1);
- m_via1->write_cb1(state ? 0 : 1);
+ printf("CLK: %d\n", state^1);
+ m_via1->write_cb1(state ? 0 : 1);
}
#ifdef MAC_USE_EMULATED_KBD
READ8_MEMBER(mac_state::mac_via_in_cb2)
{
- printf("Read %d from keyboard (PC=%x)\n", (m_mackbd->data_r() == ASSERT_LINE) ? 1 : 0, m_maincpu->pc());
- return (m_mackbd->data_r() == ASSERT_LINE) ? 1 : 0;
+ printf("Read %d from keyboard (PC=%x)\n", (m_mackbd->data_r() == ASSERT_LINE) ? 1 : 0, m_maincpu->pc());
+ return (m_mackbd->data_r() == ASSERT_LINE) ? 1 : 0;
}
WRITE8_MEMBER(mac_state::mac_via_out_cb2)
{
- printf("Sending %d to kbd (PC=%x)\n", data, m_maincpu->pc());
- m_mackbd->data_w((data & 1) ? ASSERT_LINE : CLEAR_LINE);
+ printf("Sending %d to kbd (PC=%x)\n", data, m_maincpu->pc());
+ m_mackbd->data_w((data & 1) ? ASSERT_LINE : CLEAR_LINE);
}
-#else // keyboard HLE
+#else // keyboard HLE
TIMER_CALLBACK_MEMBER(mac_state::kbd_clock)
{
diff --git a/src/mess/machine/mackbd.c b/src/mess/machine/mackbd.c
index 7f3663b4e70..40e89851e12 100644
--- a/src/mess/machine/mackbd.c
+++ b/src/mess/machine/mackbd.c
@@ -57,7 +57,7 @@
// MACROS / CONSTANTS
//**************************************************************************
-#define MACKBD_CPU_TAG "mackbd"
+#define MACKBD_CPU_TAG "mackbd"
//**************************************************************************
// DEVICE DEFINITIONS
@@ -94,7 +94,7 @@ ADDRESS_MAP_END
//-------------------------------------------------
static MACHINE_CONFIG_FRAGMENT( mackbd )
- MCFG_CPU_ADD(MACKBD_CPU_TAG, I8021, 3000000) // "the approximate clock rate of the MPU is 3 MHz"
+ MCFG_CPU_ADD(MACKBD_CPU_TAG, I8021, 3000000) // "the approximate clock rate of the MPU is 3 MHz"
MCFG_CPU_PROGRAM_MAP(mackbd_map)
MCFG_CPU_IO_MAP(mackbd_io_map)
MACHINE_CONFIG_END
@@ -135,7 +135,7 @@ static INPUT_PORTS_START( mackbd )
PORT_START("COL4")
PORT_BIT(0x0001, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_0) PORT_CHAR('0') PORT_CHAR(')')
PORT_BIT(0x0002, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_8) PORT_CHAR('8') PORT_CHAR('*')
- PORT_BIT(0x0004, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_')
+ PORT_BIT(0x0004, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_')
PORT_BIT(0x0008, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR('&')
PORT_BIT(0x0010, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_9) PORT_CHAR('9') PORT_CHAR('(')
PORT_BIT(0x0020, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_EQUALS) PORT_CHAR('=') PORT_CHAR('+')
@@ -143,15 +143,15 @@ static INPUT_PORTS_START( mackbd )
PORT_START("COL5")
PORT_BIT(0x0001, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_P) PORT_CHAR('p') PORT_CHAR('P')
PORT_BIT(0x0002, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_I) PORT_CHAR('i') PORT_CHAR('I')
- PORT_BIT(0x0004, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') PORT_CHAR('{')
+ PORT_BIT(0x0004, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') PORT_CHAR('{')
PORT_BIT(0x0008, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_U) PORT_CHAR('u') PORT_CHAR('U')
PORT_BIT(0x0010, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_O) PORT_CHAR('o') PORT_CHAR('O')
PORT_BIT(0x0020, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR(']') PORT_CHAR('}')
PORT_START("COL6")
- PORT_BIT(0x0001, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':')
+ PORT_BIT(0x0001, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':')
PORT_BIT(0x0002, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_K) PORT_CHAR('k') PORT_CHAR('K')
- PORT_BIT(0x0004, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('\'') PORT_CHAR('"')
+ PORT_BIT(0x0004, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('\'') PORT_CHAR('"')
PORT_BIT(0x0008, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_J) PORT_CHAR('j') PORT_CHAR('J')
PORT_BIT(0x0010, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_L) PORT_CHAR('l') PORT_CHAR('L')
PORT_BIT(0x0020, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_ENTER) PORT_CHAR('\r') PORT_NAME("Return")
@@ -167,7 +167,7 @@ static INPUT_PORTS_START( mackbd )
PORT_START("COL8")
PORT_BIT(0x0001, IP_ACTIVE_LOW, IPT_UNKNOWN)
PORT_BIT(0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN)
- PORT_BIT(0x0004, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSPACE) PORT_CHAR(8)
+ PORT_BIT(0x0004, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSPACE) PORT_CHAR(8)
PORT_BIT(0x0008, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_TILDE) PORT_CHAR('`') PORT_CHAR('~')
PORT_BIT(0x0010, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ')
PORT_BIT(0x0020, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_TAB) PORT_CHAR('\t')
@@ -208,7 +208,7 @@ ioport_constructor mackbd_device::device_input_ports() const
//-------------------------------------------------
mackbd_device::mackbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : device_t(mconfig, MACKBD, "Macintosh keyboard", tag, owner, clock, "mackbd", __FILE__),
+ : device_t(mconfig, MACKBD, "Macintosh keyboard", tag, owner, clock, "mackbd", __FILE__),
m_maincpu(*this, MACKBD_CPU_TAG),
m_clkout_handler(*this)
{
@@ -278,7 +278,7 @@ WRITE8_MEMBER(mackbd_device::p0_w)
else
{
m_clkout_handler(CLEAR_LINE);
-// machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(10));
+// machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(10));
}
}
@@ -311,7 +311,7 @@ WRITE8_MEMBER(mackbd_device::p2_w)
if (m_maincpu->pc() != 0x19e && m_maincpu->pc() != 0x1a3)
{
data_to_mac = data_from_mac = (data & 1);
-// printf("data to/from mac = %d (PC=%x)\n", data_to_mac, m_maincpu->pc());
+// printf("data to/from mac = %d (PC=%x)\n", data_to_mac, m_maincpu->pc());
}
}
@@ -329,4 +329,3 @@ WRITE_LINE_MEMBER(mackbd_device::data_w)
{
data_from_mac = (state == ASSERT_LINE) ? 1 : 0;
}
-
diff --git a/src/mess/machine/mackbd.h b/src/mess/machine/mackbd.h
index c169d2d465a..5f43dbdb17f 100644
--- a/src/mess/machine/mackbd.h
+++ b/src/mess/machine/mackbd.h
@@ -11,20 +11,20 @@
// MACROS / CONSTANTS
//**************************************************************************
-#define MACKBD_TAG "mackbd"
+#define MACKBD_TAG "mackbd"
//**************************************************************************
// INTERFACE CONFIGURATION MACROS
//**************************************************************************
#define MCFG_MACKBD_ADD() \
- MCFG_DEVICE_ADD(MACKBD_TAG, MACKBD, 0)
+ MCFG_DEVICE_ADD(MACKBD_TAG, MACKBD, 0)
#define MCFG_MACKBD_REPLACE() \
- MCFG_DEVICE_REPLACE(MACKBD_TAG, MACKBD, 0)
+ MCFG_DEVICE_REPLACE(MACKBD_TAG, MACKBD, 0)
#define MCFG_MACKBD_REMOVE() \
- MCFG_DEVICE_REMOVE(MACKBD_TAG)
+ MCFG_DEVICE_REMOVE(MACKBD_TAG)
#define MCFG_MACKBD_CLKOUT_HANDLER(_devcb) \
devcb = &mackbd_device::set_clkout_handler(*device, DEVCB2_##_devcb);
@@ -42,7 +42,7 @@ public:
template<class _Object> static devcb2_base &set_clkout_handler(device_t &device, _Object object) { return downcast<mackbd_device &>(device).m_clkout_handler.set_callback(object); }
// construction/destruction
- mackbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ mackbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER(p0_r);
DECLARE_WRITE8_MEMBER(p0_w);
@@ -56,14 +56,14 @@ public:
DECLARE_WRITE_LINE_MEMBER(data_w);
protected:
- // device-level overrides
- virtual void device_start();
- virtual void device_reset();
- virtual machine_config_constructor device_mconfig_additions() const;
- virtual const rom_entry *device_rom_region() const;
+ // device-level overrides
+ virtual void device_start();
+ virtual void device_reset();
+ virtual machine_config_constructor device_mconfig_additions() const;
+ virtual const rom_entry *device_rom_region() const;
virtual ioport_constructor device_input_ports() const;
- required_device<cpu_device> m_maincpu;
+ required_device<cpu_device> m_maincpu;
private:
UINT8 p0, p1, p2, data_from_mac, data_to_mac;
diff --git a/src/mess/machine/micropolis.c b/src/mess/machine/micropolis.c
index b3ccc909d43..bf620dfd564 100644
--- a/src/mess/machine/micropolis.c
+++ b/src/mess/machine/micropolis.c
@@ -134,7 +134,7 @@ void micropolis_device::device_start()
m_in_dden_func.resolve(m_in_dden_cb, *this);
m_out_intrq_func.resolve(m_out_intrq_cb, *this);
m_out_drq_func.resolve(m_out_drq_cb, *this);
-
+
save_item(NAME(m_data));
save_item(NAME(m_drive_num));
save_item(NAME(m_track));
diff --git a/src/mess/machine/micropolis.h b/src/mess/machine/micropolis.h
index 422b68ec5cc..dd04d0127ea 100644
--- a/src/mess/machine/micropolis.h
+++ b/src/mess/machine/micropolis.h
@@ -36,7 +36,7 @@ class micropolis_device : public device_t,
public:
micropolis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
~micropolis_device() {}
-
+
void set_drive(UINT8 drive); // set current drive (0-3)
DECLARE_READ8_MEMBER( status_r );
@@ -53,14 +53,14 @@ protected:
virtual void device_config_complete();
virtual void device_start();
virtual void device_reset();
-
+
private:
// internal state
-
+
devcb_resolved_read_line m_in_dden_func;
devcb_resolved_write_line m_out_intrq_func;
devcb_resolved_write_line m_out_drq_func;
-
+
/* register */
UINT8 m_data;
UINT8 m_drive_num;
@@ -79,7 +79,7 @@ private:
/* this is the drive currently selected */
device_t *m_drive;
-
+
void read_sector();
void write_sector();
};
diff --git a/src/mess/machine/mpu401.c b/src/mess/machine/mpu401.c
index c11b4f0d885..c4a18dfb0b8 100644
--- a/src/mess/machine/mpu401.c
+++ b/src/mess/machine/mpu401.c
@@ -3,32 +3,32 @@
Roland MPU-401 core
This emulates the MPU-401 external box with the 6801, ASIC, and RAM in it.
-
+
We do it this way to facilitate the various PC, Apple II, C64, and other
possible hookups.
-
+
6801 GPIO port hookups (from the schematics)
-
+
P10 / P11 / P12: drive the metronome and speaker
P13 / P14 / P15: drive 3 pins on the SYNC OUT connector
P16: to DSRD on gate array
P17: to DRRD on gate array
-
+
P20: to SYC OUT on gate array
P21: to SYC IN on gate array, pulled up to Vcc via 4.7K resistor
- programmed as output of timer (OLVL)
+ programmed as output of timer (OLVL)
P22: to SRCK on gate array, inverted
P23: MIDI IN serial data (SCI in)
P24: MIDI OUT serial data (SCI out)
-
+
ASIC addresses from the 6801:
0x20: (r) read pending byte from the PC (w) apparently nothing
0x21: (r) ASIC status, see STAT_xxx bits below (w) send new byte to PC data port
-
+
Theory of operation: 6801's timer/counter is set up to drive a pulse stream
out P21 to the ASIC's SYC IN pin. The ASIC in turn generates the MIDI baud
rate (times 8) and returns that on pin P22.
-
+
The 6801 is believed to run in mode 2, based on a combination of the
schematics and the behavior (ie, internal RAM from 80-FF is clearly
present from the program's behavior, and ports 3/4 are obviously external
@@ -38,26 +38,26 @@
#include "machine/mpu401.h"
-#define M6801_TAG "mpu6801"
-#define ROM_TAG "mpurom"
-#define MIDIIN_TAG "mdin"
-#define MIDIOUT_TAG "mdout"
+#define M6801_TAG "mpu6801"
+#define ROM_TAG "mpurom"
+#define MIDIIN_TAG "mdin"
+#define MIDIOUT_TAG "mdout"
-#define P2_SYNC_OUT (0x01)
-#define P2_SYNC_IN (0x02)
-#define P2_SRCK_OUT (0x04)
-#define P2_MIDI_IN (0x08)
-#define P2_MIDI_OUT (0x10)
+#define P2_SYNC_OUT (0x01)
+#define P2_SYNC_IN (0x02)
+#define P2_SRCK_OUT (0x04)
+#define P2_MIDI_IN (0x08)
+#define P2_MIDI_OUT (0x10)
-#define STAT_CMD_PORT (0x01) // set if the new byte indicated by TX FULL was written to the command port, clear for data port
-#define STAT_TX_FULL (0x40) // indicates the PC has written a new byte we haven't read yet
-#define STAT_RX_EMPTY (0x80) // indicates we've written a new byte the PC hasn't read yet
+#define STAT_CMD_PORT (0x01) // set if the new byte indicated by TX FULL was written to the command port, clear for data port
+#define STAT_TX_FULL (0x40) // indicates the PC has written a new byte we haven't read yet
+#define STAT_RX_EMPTY (0x80) // indicates we've written a new byte the PC hasn't read yet
static ADDRESS_MAP_START( mpu401_map, AS_PROGRAM, 8, mpu401_device )
AM_RANGE(0x0000, 0x001f) AM_READWRITE(regs_mode2_r, regs_mode2_w)
AM_RANGE(0x0020, 0x0021) AM_READWRITE(asic_r, asic_w)
- AM_RANGE(0x0080, 0x00ff) AM_RAM // on-chip RAM
- AM_RANGE(0x0800, 0x0fff) AM_RAM // external RAM
+ AM_RANGE(0x0080, 0x00ff) AM_RAM // on-chip RAM
+ AM_RANGE(0x0800, 0x0fff) AM_RAM // external RAM
AM_RANGE(0xf000, 0xffff) AM_ROM AM_REGION(ROM_TAG, 0)
ADDRESS_MAP_END
@@ -85,7 +85,7 @@ static const serial_port_interface midiout_intf =
};
MACHINE_CONFIG_FRAGMENT( mpu401 )
- MCFG_CPU_ADD(M6801_TAG, M6801, 4000000) /* 4 MHz as per schematics */
+ MCFG_CPU_ADD(M6801_TAG, M6801, 4000000) /* 4 MHz as per schematics */
MCFG_CPU_PROGRAM_MAP(mpu401_map)
MCFG_CPU_IO_MAP(mpu401_io_map)
MCFG_M6801_SER_TX(WRITELINE(mpu401_device, mpu401_midi_tx))
@@ -96,7 +96,7 @@ MACHINE_CONFIG_END
ROM_START( mpu401 )
ROM_REGION(0x1000, ROM_TAG, 0)
- ROM_LOAD( "roland_6801v0b55p.bin", 0x000000, 0x001000, CRC(65d3a151) SHA1(00efbfb96aeb997b69bb16981c6751d3c784bb87) )
+ ROM_LOAD( "roland_6801v0b55p.bin", 0x000000, 0x001000, CRC(65d3a151) SHA1(00efbfb96aeb997b69bb16981c6751d3c784bb87) )
ROM_END
//**************************************************************************
@@ -156,7 +156,7 @@ void mpu401_device::device_start()
void mpu401_device::device_reset()
{
- m_port2 = 0xff & ~(P2_SRCK_OUT | P2_MIDI_IN); // prevent spurious reception
+ m_port2 = 0xff & ~(P2_SRCK_OUT | P2_MIDI_IN); // prevent spurious reception
m_command = 0;
m_mpudata = 0;
m_gatearrstat = 0;
@@ -182,7 +182,7 @@ READ8_MEMBER(mpu401_device::regs_mode2_r)
case 6:
case 7:
case 0xf:
-// printf("MPU401: read @ unk %x (PC=%x)\n", offset, space.device().safe_pc());
+// printf("MPU401: read @ unk %x (PC=%x)\n", offset, space.device().safe_pc());
break;
default:
@@ -201,7 +201,7 @@ WRITE8_MEMBER(mpu401_device::regs_mode2_w)
case 6:
case 7:
case 0xf:
-// printf("MPU401: %02x @ unk %x (PC=%x)\n", data, offset, space.device().safe_pc());
+// printf("MPU401: %02x @ unk %x (PC=%x)\n", data, offset, space.device().safe_pc());
break;
default:
@@ -216,29 +216,29 @@ READ8_MEMBER(mpu401_device::port1_r)
WRITE8_MEMBER(mpu401_device::port1_w)
{
-// printf("port1_w: %02x met %x syncout %x DSRD %d DRRD %d\n", data, data & 3, (data>>3) & 3, (data>>6) & 1, (data>>7) & 1);
+// printf("port1_w: %02x met %x syncout %x DSRD %d DRRD %d\n", data, data & 3, (data>>3) & 3, (data>>6) & 1, (data>>7) & 1);
}
READ8_MEMBER(mpu401_device::port2_r)
{
-// printf("Read P2 (PC=%x)\n", space.device().safe_pc());
+// printf("Read P2 (PC=%x)\n", space.device().safe_pc());
return m_port2;
}
WRITE8_MEMBER(mpu401_device::port2_w)
{
-// printf("port2_w: %02x SYCOUT %d SYCIN %d SRCK %d MIDI OUT %d\n", data, (data & 1), (data>>1) & 1, (data>>2) & 1, (data>>4) & 1);
+// printf("port2_w: %02x SYCOUT %d SYCIN %d SRCK %d MIDI OUT %d\n", data, (data & 1), (data>>1) & 1, (data>>2) & 1, (data>>4) & 1);
}
READ8_MEMBER(mpu401_device::mpu_r)
{
-// printf("mpu_r @ %d\n", offset);
+// printf("mpu_r @ %d\n", offset);
- if (offset == 1) // status
+ if (offset == 1) // status
{
return m_gatearrstat;
}
- else // data
+ else // data
{
write_irq(CLEAR_LINE);
m_gatearrstat |= STAT_RX_EMPTY;
@@ -248,7 +248,7 @@ READ8_MEMBER(mpu401_device::mpu_r)
WRITE8_MEMBER(mpu401_device::mpu_w)
{
-// printf("%02x to MPU-401 @ %d\n", data, offset);
+// printf("%02x to MPU-401 @ %d\n", data, offset);
m_command = data;
m_gatearrstat |= STAT_TX_FULL;
@@ -269,7 +269,7 @@ READ8_MEMBER(mpu401_device::asic_r)
m_gatearrstat &= ~STAT_TX_FULL;
return m_command;
}
- else if (offset == 1)
+ else if (offset == 1)
{
return m_gatearrstat;
}
@@ -279,7 +279,7 @@ READ8_MEMBER(mpu401_device::asic_r)
WRITE8_MEMBER(mpu401_device::asic_w)
{
-// printf("MPU401: %02x to gate array @ %d\n", data, offset);
+// printf("MPU401: %02x to gate array @ %d\n", data, offset);
if (offset == 1)
{
@@ -307,4 +307,3 @@ WRITE_LINE_MEMBER(mpu401_device::mpu401_midi_tx)
{
m_mdout->tx(state);
}
-
diff --git a/src/mess/machine/mpu401.h b/src/mess/machine/mpu401.h
index 620b1986752..0e814787339 100644
--- a/src/mess/machine/mpu401.h
+++ b/src/mess/machine/mpu401.h
@@ -73,5 +73,3 @@ private:
extern const device_type MPU401;
#endif /* __MPU401_H__ */
-
-
diff --git a/src/mess/machine/pc_lpt.h b/src/mess/machine/pc_lpt.h
index fb0d2ceabb6..e6f5c2aafb2 100644
--- a/src/mess/machine/pc_lpt.h
+++ b/src/mess/machine/pc_lpt.h
@@ -40,9 +40,9 @@ public:
DECLARE_READ8_MEMBER( status_r );
DECLARE_READ8_MEMBER( control_r );
DECLARE_WRITE8_MEMBER( control_w );
-
+
DECLARE_WRITE_LINE_MEMBER( ack_w );
-
+
protected:
// device-level overrides
virtual void device_config_complete();
diff --git a/src/mess/machine/rmnimbus.c b/src/mess/machine/rmnimbus.c
index b7ecc80259a..0c1e4dcf729 100644
--- a/src/mess/machine/rmnimbus.c
+++ b/src/mess/machine/rmnimbus.c
@@ -1230,7 +1230,7 @@ READ8_MEMBER(rmnimbus_state::cascade_callback)
void rmnimbus_state::machine_reset()
{
/* CPU */
-// nimbus_cpu_reset();
+// nimbus_cpu_reset();
iou_reset();
fdc_reset();
hdc_reset();
@@ -1248,7 +1248,7 @@ DRIVER_INIT_MEMBER(rmnimbus_state,nimbus)
void rmnimbus_state::machine_start()
{
/* init cpu */
-// nimbus_cpu_init();
+// nimbus_cpu_init();
m_keyboard.keyscan_timer=machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(rmnimbus_state::keyscan_callback),this));
m_nimbus_mouse.m_mouse_timer=machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(rmnimbus_state::mouse_callback),this));
diff --git a/src/mess/machine/ti99/spchsyn.c b/src/mess/machine/ti99/spchsyn.c
index 2027f088366..e1a9fdffb45 100644
--- a/src/mess/machine/ti99/spchsyn.c
+++ b/src/mess/machine/ti99/spchsyn.c
@@ -8,8 +8,8 @@
speech synthesizer must be moved into the Peripheral Box.
The Speech Synthesizer used for the TI was the CD2501E, AKA TMS5200,
- (internal name TMC0285), a predecessor of the TMS5220 which was used in
- other commercial products.
+ (internal name TMC0285), a predecessor of the TMS5220 which was used in
+ other commercial products.
Note that this adapter also contains the speech roms.
diff --git a/src/mess/machine/ti99/videowrp.c b/src/mess/machine/ti99/videowrp.c
index af91f8e9421..5a17ee06f67 100644
--- a/src/mess/machine/ti99/videowrp.c
+++ b/src/mess/machine/ti99/videowrp.c
@@ -42,12 +42,12 @@ ti_exp_video_device::ti_exp_video_device(const machine_config &mconfig, const ch
ti_sound_sn94624_device::ti_sound_sn94624_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ti_sound_system_device(mconfig, TISOUND_94624, tag, "Onboard sound (SN94624)", owner, clock, "ti_sound_sn94624", __FILE__)
-{
+{
}
ti_sound_sn76496_device::ti_sound_sn76496_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ti_sound_system_device(mconfig, TISOUND_76496, tag, "Onboard sound (SN76496)", owner, clock, "ti_sound_sn76496", __FILE__)
-{
+{
}
/*****************************************************************************/
diff --git a/src/mess/mess.lst b/src/mess/mess.lst
index 7e85195a7d7..a08207b2bc9 100644
--- a/src/mess/mess.lst
+++ b/src/mess/mess.lst
@@ -102,7 +102,7 @@ megadriv // 1990 Sega Mega Drive (Europe)
pico // 1994 Sega Pico (Europe)
picou // 1994 Sega Pico (USA)
picoj // 1993 Sega Pico (Japan)
-copera // 1993 Sega / Yamaha
+copera // 1993 Sega / Yamaha
segacd // 1992 Sega Sega CD (USA)
megacd // 1993 Sega Mega-CD (Europe)
megacda // 1993 Sega Mega-CD (Asia)
diff --git a/src/mess/video/733_asr.h b/src/mess/video/733_asr.h
index 945a92b58b7..be568d579ad 100644
--- a/src/mess/video/733_asr.h
+++ b/src/mess/video/733_asr.h
@@ -24,7 +24,7 @@ public:
~asr733_device() { global_free(m_token); }
DECLARE_PALETTE_INIT(asr733);
-
+
// access to legacy token
void *token() const { assert(m_token != NULL); return m_token; }
protected:
diff --git a/src/mess/video/911_vdt.h b/src/mess/video/911_vdt.h
index f48d5cf80c1..5173d0cb29b 100644
--- a/src/mess/video/911_vdt.h
+++ b/src/mess/video/911_vdt.h
@@ -48,7 +48,7 @@ public:
~vdt911_device() { global_free(m_token); }
DECLARE_PALETTE_INIT(vdt911);
-
+
// access to legacy token
void *token() const { assert(m_token != NULL); return m_token; }
protected:
diff --git a/src/mess/video/abc1600.c b/src/mess/video/abc1600.c
index 117219c4426..1c4b60a7ebc 100644
--- a/src/mess/video/abc1600.c
+++ b/src/mess/video/abc1600.c
@@ -9,10 +9,10 @@
/*
- TODO:
+ TODO:
- - portrait/landscape detection is broken
- - bottom border is not respected
+ - portrait/landscape detection is broken
+ - bottom border is not respected
*/
@@ -257,12 +257,12 @@ machine_config_constructor abc1600_mover_device::device_mconfig_additions() cons
abc1600_mover_device::abc1600_mover_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ABC1600_MOVER, "ABC 1600 Mover", tag, owner, clock, "abc1600mover", __FILE__),
- device_memory_interface(mconfig, *this),
- m_space_config("vram", ENDIANNESS_BIG, 16, 18, -1, *ADDRESS_MAP_NAME(mover_map)),
- m_crtc(*this, SY6845E_TAG),
- m_wrmsk_rom(*this, "wrmsk"),
- m_shinf_rom(*this, "shinf"),
- m_drmsk_rom(*this, "drmsk")
+ device_memory_interface(mconfig, *this),
+ m_space_config("vram", ENDIANNESS_BIG, 16, 18, -1, *ADDRESS_MAP_NAME(mover_map)),
+ m_crtc(*this, SY6845E_TAG),
+ m_wrmsk_rom(*this, "wrmsk"),
+ m_shinf_rom(*this, "shinf"),
+ m_drmsk_rom(*this, "drmsk")
{
}
diff --git a/src/mess/video/abc1600.h b/src/mess/video/abc1600.h
index 3b5b9158439..c023e14f319 100644
--- a/src/mess/video/abc1600.h
+++ b/src/mess/video/abc1600.h
@@ -36,7 +36,7 @@
// ======================> abc1600_mover_device
class abc1600_mover_device : public device_t,
- public device_memory_interface
+ public device_memory_interface
{
public:
// construction/destruction
diff --git a/src/mess/video/cirrus.h b/src/mess/video/cirrus.h
index f8f0e1e3d2e..65bd68477e1 100644
--- a/src/mess/video/cirrus.h
+++ b/src/mess/video/cirrus.h
@@ -22,7 +22,7 @@ public:
virtual UINT32 pci_read(pci_bus_device *pcibus, int function, int offset, UINT32 mem_mask);
virtual void pci_write(pci_bus_device *pcibus, int function, int offset, UINT32 data, UINT32 mem_mask);
-
+
DECLARE_WRITE8_MEMBER( cirrus_42E8_w );
protected:
diff --git a/src/mess/video/gb_lcd.h b/src/mess/video/gb_lcd.h
index 1ca596aab74..e2a2ea64bf7 100644
--- a/src/mess/video/gb_lcd.h
+++ b/src/mess/video/gb_lcd.h
@@ -36,7 +36,7 @@ struct layer_struct {
};
-class gb_lcd_device : public device_t,
+class gb_lcd_device : public device_t,
public device_video_interface
{
public:
diff --git a/src/mess/video/k1ge.h b/src/mess/video/k1ge.h
index 00c3045ea91..e9ed010f2c0 100644
--- a/src/mess/video/k1ge.h
+++ b/src/mess/video/k1ge.h
@@ -27,9 +27,9 @@ public:
DECLARE_WRITE8_MEMBER( reg_write );
DECLARE_READ8_MEMBER( vram_read );
DECLARE_WRITE8_MEMBER( vram_write );
-
+
DECLARE_PALETTE_INIT(k1ge);
-
+
void update( bitmap_ind16 &bitmap, const rectangle &cliprect );
// Static methods
@@ -66,7 +66,7 @@ class k2ge_device : public k1ge_device
{
public:
k2ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
DECLARE_PALETTE_INIT(k2ge);
protected:
virtual machine_config_constructor device_mconfig_additions() const;
diff --git a/src/mess/video/nubus_m2video.c b/src/mess/video/nubus_m2video.c
index d99fe339067..8d2c94750fb 100644
--- a/src/mess/video/nubus_m2video.c
+++ b/src/mess/video/nubus_m2video.c
@@ -281,7 +281,7 @@ WRITE32_MEMBER( nubus_m2video_device::m2video_w )
break;
default:
-// printf("m2video_w: %08x @ %x, mask %08x (PC=%x)\n", data, offset, mem_mask, space.device().safe_pc());
+// printf("m2video_w: %08x @ %x, mask %08x (PC=%x)\n", data, offset, mem_mask, space.device().safe_pc());
break;
}
}
@@ -295,7 +295,7 @@ READ32_MEMBER( nubus_m2video_device::m2video_r )
}
else
{
-// printf("m2video_r: @ %x, mask %08x (PC=%x)\n", offset, mem_mask, space.device().safe_pc());
+// printf("m2video_r: @ %x, mask %08x (PC=%x)\n", offset, mem_mask, space.device().safe_pc());
}
return 0;
diff --git a/src/mess/video/pds30_procolor816.c b/src/mess/video/pds30_procolor816.c
index 759704bbfa2..96fc4bbfa5b 100644
--- a/src/mess/video/pds30_procolor816.c
+++ b/src/mess/video/pds30_procolor816.c
@@ -332,7 +332,7 @@ READ32_MEMBER( nubus_procolor816_device::procolor816_r )
}
else
{
-// printf("procolor816_r: @ %x, mask %08x [PC=%x]\n", offset, mem_mask, machine().device("maincpu")->safe_pc());
+// printf("procolor816_r: @ %x, mask %08x [PC=%x]\n", offset, mem_mask, machine().device("maincpu")->safe_pc());
}
return 0;
diff --git a/src/mess/video/vtvideo.c b/src/mess/video/vtvideo.c
index 2157e71ee4d..5a88875be9c 100644
--- a/src/mess/video/vtvideo.c
+++ b/src/mess/video/vtvideo.c
@@ -6,20 +6,20 @@
01/05/2009 Initial implementation [Miodrag Milanovic]
Sept. 2013 portions by Karl-Ludwig Deisenhofer.
- STATE OF DEC-100 VIDEO AS OF SEPTEMBER 2013
- -------------------------------------------
- - FURTHER TESTING: do line and character attributes match real hardware? Does soft scrolling work?
- - LIKELY INCORRECT : implementation of double size attribute in 132 columns mode (additional case)
+ STATE OF DEC-100 VIDEO AS OF SEPTEMBER 2013
+ -------------------------------------------
+ - FURTHER TESTING: do line and character attributes match real hardware? Does soft scrolling work?
+ - LIKELY INCORRECT : implementation of double size attribute in 132 columns mode (additional case)
- - MISSING: undocumented features of DC011 / DC012 - see public domain SQUEEZE.COM pokes:
- 0f00 => PORT 0C;
- 0b00 => PORT 0C;
- 1000 => PORT 04
- (SQUEEZE compresses the display in X and Y direction on a real DEC-100 B)
+ - MISSING: undocumented features of DC011 / DC012 - see public domain SQUEEZE.COM pokes:
+ 0f00 => PORT 0C;
+ 0b00 => PORT 0C;
+ 1000 => PORT 04
+ (SQUEEZE compresses the display in X and Y direction on a real DEC-100 B)
- - IMPROVEMENTS:
- - find a more realistic approach for intensity control (bold attribute)
- - correct phosphor colors (green, white and amber monitors were common)
+ - IMPROVEMENTS:
+ - find a more realistic approach for intensity control (bold attribute)
+ - correct phosphor colors (green, white and amber monitors were common)
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
@@ -122,7 +122,7 @@ void vt100_video_device::device_reset()
{
palette_set_color_rgb(machine(), 0, 0x00, 0x00, 0x00); // black
palette_set_color_rgb(machine(), 1, 0xff, 0xff, 0xff); // white
-
+
m_height = 25;
m_height_MAX = 25;
@@ -149,7 +149,7 @@ void rainbow_video_device::device_reset()
m_height = 24; // <---- DEC-100
m_height_MAX = 48;
-
+
m_lba7 = 0;
m_scroll_latch = 0;
@@ -181,7 +181,7 @@ void vt100_video_device::recompute_parameters()
} else {
horiz_pix_total = m_columns * 10; // normal 80 character mode.
}
-
+
visarea.set(0, horiz_pix_total - 1, 0, vert_pix_total - 1);
m_screen->configure(horiz_pix_total, vert_pix_total, visarea, m_screen->frame_period().attoseconds);
@@ -238,31 +238,31 @@ WRITE8_MEMBER( vt100_video_device::dc012_w )
// set basic attribute to reverse video / blink flip-flop off
m_basic_attribute = 1;
m_blink_flip_flop = 0;
-
- if (m_height_MAX == 25) break; // VT 100.
- if (m_height != 24)
+ if (m_height_MAX == 25) break; // VT 100.
+
+ if (m_height != 24)
{
- m_height = 24; // (DEC Rainbow 100) : 24 line display
+ m_height = 24; // (DEC Rainbow 100) : 24 line display
recompute_parameters();
- }
+ }
break;
case 0x0e:
- break; // (DC12) : 'not supported'
+ break; // (DC12) : 'not supported'
case 0x0f:
// (DEC Rainbow 100) : set basic attribute to reverse video / blink flip-flop off
m_basic_attribute = 1;
m_blink_flip_flop = 0;
- if (m_height_MAX == 25) break; // VT 100.
+ if (m_height_MAX == 25) break; // VT 100.
if (m_height != 48)
{
- m_height = 48; // (DEC Rainbow 100) : 48 line display
+ m_height = 48; // (DEC Rainbow 100) : 48 line display
recompute_parameters();
- }
+ }
break;
}
}
@@ -440,12 +440,12 @@ void rainbow_video_device::display_char(bitmap_ind16 &bitmap, UINT8 code, int x,
{
UINT8 xsize, d_xsize;
if (m_columns == 132)
- { xsize = 9;
- d_xsize = 18;
+ { xsize = 9;
+ d_xsize = 18;
} else
{
- xsize = 10;
- d_xsize = 20;
+ xsize = 10;
+ d_xsize = 20;
}
UINT8 line = 0;
@@ -475,13 +475,13 @@ void rainbow_video_device::display_char(bitmap_ind16 &bitmap, UINT8 code, int x,
line = m_gfx[code * 16 + j];
- if ( i == 8 )
- {
- if ( underline != 0 ) line = 0xff;
+ if ( i == 8 )
+ {
+ if ( underline != 0 ) line = 0xff;
}
// Code to handle basic attribute from VT-100
- if ( m_basic_attribute == 1 )
+ if ( m_basic_attribute == 1 )
{
if ((code & 0x80) == 0x80)
invert = 1;
@@ -489,15 +489,15 @@ void rainbow_video_device::display_char(bitmap_ind16 &bitmap, UINT8 code, int x,
invert = 0;
}
- if (m_blink_flip_flop > 0)
+ if (m_blink_flip_flop > 0)
{
- if ( blink != 0 )
- {
- line = line ^ 0xff;
- }
+ if ( blink != 0 )
+ {
+ line = line ^ 0xff;
+ }
}
- if (invert != 0)
- line = line ^ 0xff;
+ if (invert != 0)
+ line = line ^ 0xff;
for (int b = 0; b < 8; b++)
{
@@ -519,7 +519,7 @@ void rainbow_video_device::display_char(bitmap_ind16 &bitmap, UINT8 code, int x,
{
bitmap.pix16(y * 10 + i, x * d_xsize + 16) = bit;
bitmap.pix16(y * 10 + i, x * d_xsize + 17) = bit;
- bitmap.pix16(y * 10 + i, x * d_xsize + 18) = bit;
+ bitmap.pix16(y * 10 + i, x * d_xsize + 18) = bit;
bitmap.pix16(y * 10 + i, x * d_xsize + 19) = bit;
}
else
@@ -567,14 +567,14 @@ void rainbow_video_device::video_update(bitmap_ind16 &bitmap, const rectangle &c
addr = (temp) & 0x0fff;
attr_addr = ((temp) & 0x1fff) - 2;
- // No AVO here.
- attr_addr |= 0x1000;
+ // No AVO here.
+ attr_addr |= 0x1000;
if (attr_addr > 0x2000) // Ignore attributes beyond 8192 byte limit (SRAM).
{
scroll_region = 1; // binary 1 <- SET DEFAULTS
display_type = 3; // binary 111
- } else
- {
+ } else
+ {
temp = m_in_ram_func(attr_addr);
scroll_region = (temp) & 1;
display_type = (temp >> 1) & 3;
@@ -589,22 +589,22 @@ void rainbow_video_device::video_update(bitmap_ind16 &bitmap, const rectangle &c
}
else
{
- // display regular char
+ // display regular char
if (line >= m_skip_lines)
{
attr_addr = 0x1000 | ( (addr + xpos) & 0x0fff );
temp = m_in_ram_func(attr_addr); // get character attribute
- // TODO: check if reverse bit is treated the same way on real hardware
+ // TODO: check if reverse bit is treated the same way on real hardware
// 1 = display char. in REVERSE (encoded as 8)
// 0 = display char. in BOLD (encoded as 16)
// 0 = display char. w. BLINK (encoded as 32)
- // 0 = display char. w. UNDERLINE (encoded as 64).
+ // 0 = display char. w. UNDERLINE (encoded as 64).
display_char(bitmap, code, xpos, ypos, scroll_region, display_type | ( ( (temp & 1)) << 3 )
- | ( (2-(temp & 2)) << 3 )
- | ( (4-(temp & 4)) << 3 )
- | ( (8-(temp & 8)) << 3 )
- );
+ | ( (2-(temp & 2)) << 3 )
+ | ( (4-(temp & 4)) << 3 )
+ | ( (8-(temp & 8)) << 3 )
+ );
}
xpos++;
if (xpos > m_columns)