diff options
| author | 2013-12-24 07:24:51 +0000 | |
|---|---|---|
| committer | 2013-12-24 07:24:51 +0000 | |
| commit | ca546caa6e2932e504d020fb80b6cc0e8665cea9 (patch) | |
| tree | aa9f12d46b8088c24d1ff5322d0808c0aacce42c /src/mess | |
| parent | efaac9818f3f4511f7ad5201fcfe3bbd22c007a4 (diff) | |
Cleanups and version bumpmame0152
Diffstat (limited to 'src/mess')
48 files changed, 1220 insertions, 1226 deletions
diff --git a/src/mess/drivers/a7800.c b/src/mess/drivers/a7800.c index 75c529c71b2..52394423c3b 100644 --- a/src/mess/drivers/a7800.c +++ b/src/mess/drivers/a7800.c @@ -70,7 +70,7 @@ 2013/11/03 Robert Tuccitto Fixed correctly typo under 26.7 7$. - 2014/11/23 Robert Tuccitto Added NTSC Palette Notes + 2014/11/23 Robert Tuccitto Added NTSC Palette Notes ***************************************************************************/ #include "emu.h" @@ -159,60 +159,60 @@ INPUT_PORTS_END /*************************************************************************** Atari 7800 NTSC Palette Notes: -Palette on a modern flat panel display (LCD, LED, Plasma, etc.) appears -different from a traditional CRT. The most outstanding difference is Hue 1x, -the hue begin point. Hue 1x looks very 'green' (~-60 to -45 degrees - -depending on how poor or well it handles the signal conversion and its -calibration) on a modern flat panel display, as opposed to 'gold' (~-33 -degrees) on a CRT. +Palette on a modern flat panel display (LCD, LED, Plasma, etc.) appears +different from a traditional CRT. The most outstanding difference is Hue 1x, +the hue begin point. Hue 1x looks very 'green' (~-60 to -45 degrees - +depending on how poor or well it handles the signal conversion and its +calibration) on a modern flat panel display, as opposed to 'gold' (~-33 +degrees) on a CRT. -The system's pot adjustment manually manipulates the ratio of blue to -green/blue to red, while the system 'warming-up' causes the palette phase +The system's pot adjustment manually manipulates the ratio of blue to +green/blue to red, while the system 'warming-up' causes the palette phase shift to go higher in degrees. -At power on, the system's phase shift appears as low as ~23 degrees and -after a considerable consistent runtime, can be as high as ~28 degrees. - -In general, the low end of ~23 degrees lasts for maybe several seconds, -whereas higher values such as ~25-27 degrees is the most dominant during -system run time. 180 degrees colorburst takes place at ~25.7 degrees (A -near exact match of Hue 1x and 15x - To the naked eye they appear to be -the same). - -However, if the system is adjusted within the first several minutes of -running, the warm up, consistent system run time, causes Hue 15x (F$) to -become stronger/darker gold (More brown then ultimately red-brown); as well -as leans Hue 14x (E$) more brown than green. Once achieving a phase shift -of 27.7, Hue 14x (E$) and Hue 15x (F$) near-exact match Hue 1x and 2x -respectively. - -Therefore, an ideal phase shift while accounting for the reality of -shifting while warming up, as well as maintaining differences between 1x, -2x and 14x, 15x, would likely fall between a 25.7 and 27.7. Phase shifts -26.2 degrees and 26.7 degrees places Hue 15x (F$) between Hue 1x and -Hue 2x, having 26.2 degrees leaning closer to Hue 1x and 26.7 degrees +At power on, the system's phase shift appears as low as ~23 degrees and +after a considerable consistent runtime, can be as high as ~28 degrees. + +In general, the low end of ~23 degrees lasts for maybe several seconds, +whereas higher values such as ~25-27 degrees is the most dominant during +system run time. 180 degrees colorburst takes place at ~25.7 degrees (A +near exact match of Hue 1x and 15x - To the naked eye they appear to be +the same). + +However, if the system is adjusted within the first several minutes of +running, the warm up, consistent system run time, causes Hue 15x (F$) to +become stronger/darker gold (More brown then ultimately red-brown); as well +as leans Hue 14x (E$) more brown than green. Once achieving a phase shift +of 27.7, Hue 14x (E$) and Hue 15x (F$) near-exact match Hue 1x and 2x +respectively. + +Therefore, an ideal phase shift while accounting for the reality of +shifting while warming up, as well as maintaining differences between 1x, +2x and 14x, 15x, would likely fall between a 25.7 and 27.7. Phase shifts +26.2 degrees and 26.7 degrees places Hue 15x (F$) between Hue 1x and +Hue 2x, having 26.2 degrees leaning closer to Hue 1x and 26.7 degrees leaning closer to Hue 2x. -The above notion would also harmonize with what has been documented for -the colors of 1x, 2x, 14x, 15x on the 7800. 1x = Gold, 2x = Orange, -14x (E$) = Orange-Green. 15x (F$) = Light Orange. Color descriptions are -best measured in the middle of the brightness scale. It should be +The above notion would also harmonize with what has been documented for +the colors of 1x, 2x, 14x, 15x on the 7800. 1x = Gold, 2x = Orange, +14x (E$) = Orange-Green. 15x (F$) = Light Orange. Color descriptions are +best measured in the middle of the brightness scale. It should be mentioned that Green-Yellow is referenced at Hue 13x (D$), nowhere near -Hue 1x. A Green-Yellow Hue 1x is how the palette is manipulated and +Hue 1x. A Green-Yellow Hue 1x is how the palette is manipulated and modified (in part) under a modern flat panel display. -Additionally, the blue to red (And consequently blue to green) ratio -proportions may appear different on a modern flat panel display than a CRT -in some instances for the Atari 7800 system. Furthermore, you may have +Additionally, the blue to red (And consequently blue to green) ratio +proportions may appear different on a modern flat panel display than a CRT +in some instances for the Atari 7800 system. Furthermore, you may have some variation of proportions even within the same display type. - -One side effect of this on the console's palette is that some values of -red may appear too pinkish - Too much blue to red. This is not the same -as a traditional tint-hue control adjustment; rather, can be demonstrated + +One side effect of this on the console's palette is that some values of +red may appear too pinkish - Too much blue to red. This is not the same +as a traditional tint-hue control adjustment; rather, can be demonstrated by changing the blue ratio values via MESS HLSL settings. -Lastly, the Atari 2600 & 5200 NTSC color palettes hold the same hue -structure order and have similar appearance differences that are dependent +Lastly, the Atari 2600 & 5200 NTSC color palettes hold the same hue +structure order and have similar appearance differences that are dependent upon display type. ***************************************************************************/ /*************************************************************************** diff --git a/src/mess/drivers/apple2gs.c b/src/mess/drivers/apple2gs.c index de1254c9e51..5f9856b660e 100644 --- a/src/mess/drivers/apple2gs.c +++ b/src/mess/drivers/apple2gs.c @@ -511,7 +511,7 @@ ROM_START(apple2gsr0) ROM_REGION(0x20000, "es5503", ROMREGION_ERASE00) ROM_END -ROM_START(apple2gsr0p) // 6/19/1986 Cortland prototype +ROM_START(apple2gsr0p) // 6/19/1986 Cortland prototype ROM_REGION(0xc00,"m50740",0) ROM_LOAD( "341s0345.bin", 0x000000, 0x000c00, CRC(48cd5779) SHA1(97e421f5247c00a0ca34cd08b6209df573101480) ) @@ -535,4 +535,3 @@ COMP( 1989, apple2gsr3lp, apple2gs, 0, apple2gs, apple2gs, driver_device, 0, COMP( 1987, apple2gsr1, apple2gs, 0, apple2gsr1, apple2gs, driver_device, 0, "Apple Computer", "Apple IIgs (ROM01)", GAME_SUPPORTS_SAVE ) COMP( 1986, apple2gsr0, apple2gs, 0, apple2gsr1, apple2gs, driver_device, 0, "Apple Computer", "Apple IIgs (ROM00)", GAME_SUPPORTS_SAVE ) COMP( 1986, apple2gsr0p,apple2gs, 0, apple2gsr1, apple2gs, driver_device, 0, "Apple Computer", "Apple IIgs (ROM00 prototype 6/19/1986)", GAME_SUPPORTS_SAVE ) - diff --git a/src/mess/drivers/atari400.c b/src/mess/drivers/atari400.c index 6c3f83e7ef0..c5e5928faf6 100644 --- a/src/mess/drivers/atari400.c +++ b/src/mess/drivers/atari400.c @@ -28,13 +28,13 @@ - Clean up the whole driver + cart + floppy structure 2013-11-06 Robert Tuccitto: - Updated Palette per 'CGIA D020577' and 'GTIA C014805', including + Updated Palette per 'CGIA D020577' and 'GTIA C014805', including normalized grayscale with proper color gradient. Added Phase Shift - values 24.7 thru 27.7 degrees in 0.5 degree increments. Enabled + values 24.7 thru 27.7 degrees in 0.5 degree increments. Enabled Phase Shift 26.2 degrees as default. 2013-11-23 Robert Tuccitto: - Added palette notes + Added palette notes ******************************************************************************/ @@ -754,73 +754,73 @@ static INPUT_PORTS_START( a5200 ) INPUT_PORTS_END /*************************************************************** -Atari 5200 Palette Notes: - -Palette on a modern flat panel display (LCD, LED, Plasma, etc.) -appears different from a traditional CRT. The most outstanding -difference is Hue 1x, the hue begin point. Hue 1x looks very -'green' (~-60 to -45 degrees - depending on how poor or well it -handles the signal conversion and its calibration) on a modern -flat panel display, as opposed to 'gold' (~-33 degrees) on a -CRT. The official technical document, "GTIA C014805 NTSC" +Atari 5200 Palette Notes: + +Palette on a modern flat panel display (LCD, LED, Plasma, etc.) +appears different from a traditional CRT. The most outstanding +difference is Hue 1x, the hue begin point. Hue 1x looks very +'green' (~-60 to -45 degrees - depending on how poor or well it +handles the signal conversion and its calibration) on a modern +flat panel display, as opposed to 'gold' (~-33 degrees) on a +CRT. The official technical document, "GTIA C014805 NTSC" stipulates Hue 1x as gold. -The "Atari 5200 Field Service Manual" provides two different -sets of instructions in harmony with utilizing the "PAM -Diagnostic SALT Cartridge v1.1". In one account it states the -color just below and above the reference bar to be within one -shade of each other. +The "Atari 5200 Field Service Manual" provides two different +sets of instructions in harmony with utilizing the "PAM +Diagnostic SALT Cartridge v1.1". In one account it states the +color just below and above the reference bar to be within one +shade of each other. -Under the same reference document, directions are given for it -to be the same color. Phase Shift 25.7 degrees matches Hue 1x, +Under the same reference document, directions are given for it +to be the same color. Phase Shift 25.7 degrees matches Hue 1x, 15x and the color below the reference bar. -However, if the system is adjusted within the first several -minutes of running, the warm up, consistent system run time, -causes Hue 15x (F$) to become stronger/darker gold (More brown -then ultimately red-brown); as well as leans Hue 14x (E$) more -brown than green. Once achieving a phase shift of 27.7, -Hue 14x (E$) and Hue 15x (F$) near-exact match Hue 1x and 2x -respectively. - -Accounting for system 'warm-up', phase shifting, as well as the -instructions for it to be within one shade of each other, would -make Phase Shift 26.2 degrees or 26.7 degrees a realistic +However, if the system is adjusted within the first several +minutes of running, the warm up, consistent system run time, +causes Hue 15x (F$) to become stronger/darker gold (More brown +then ultimately red-brown); as well as leans Hue 14x (E$) more +brown than green. Once achieving a phase shift of 27.7, +Hue 14x (E$) and Hue 15x (F$) near-exact match Hue 1x and 2x +respectively. + +Accounting for system 'warm-up', phase shifting, as well as the +instructions for it to be within one shade of each other, would +make Phase Shift 26.2 degrees or 26.7 degrees a realistic logical choice. -It also collaborates with the official "GTIA C014805 NTSC" -document for color order: Hue 1x = Gold, Hue 2x = Orange, -Hue 15x (F$) = Light-Orange; Phase Shift 26.2 places -Hue 15x (F$) between Hue 1x, Gold and Hue 2x, Orange; -a Light Orange in color. Color descriptions are best measured -in the middle of the brightness scale. +It also collaborates with the official "GTIA C014805 NTSC" +document for color order: Hue 1x = Gold, Hue 2x = Orange, +Hue 15x (F$) = Light-Orange; Phase Shift 26.2 places +Hue 15x (F$) between Hue 1x, Gold and Hue 2x, Orange; +a Light Orange in color. Color descriptions are best measured +in the middle of the brightness scale. -It should be mentioned that Green-Yellow is referenced at -Hue 13x (D$), nowhere near Hue 1x. A Green-Yellow Hue 1x is -how the palette is manipulated and modified (in part) under +It should be mentioned that Green-Yellow is referenced at +Hue 13x (D$), nowhere near Hue 1x. A Green-Yellow Hue 1x is +how the palette is manipulated and modified (in part) under a modern flat panel display. -Note though, even a properly calibrated console, at power on, -the phase shift appears as low as ~23 degrees and after a -considerable consistent runtime, can be as high as ~28 degrees. -In general, the low end of ~23 degrees lasts for maybe several -seconds, whereas higher values such as ~25-27 degrees is the -most dominant during system run time. - -Additionally, the blue to red (And consequently blue to green) -ratio proportions may appear different on a modern flat panel -display than a CRT in some instances for the Atari 5200 system. -Furthermore, you may have some variation of proportions even +Note though, even a properly calibrated console, at power on, +the phase shift appears as low as ~23 degrees and after a +considerable consistent runtime, can be as high as ~28 degrees. +In general, the low end of ~23 degrees lasts for maybe several +seconds, whereas higher values such as ~25-27 degrees is the +most dominant during system run time. + +Additionally, the blue to red (And consequently blue to green) +ratio proportions may appear different on a modern flat panel +display than a CRT in some instances for the Atari 5200 system. +Furthermore, you may have some variation of proportions even within the same display type. - -One side effect of this on the console's palette is that some -values of red may appear too pinkish - Too much blue to red. -This is not the same as a traditional tint-hue control -adjustment; rather, can be demonstrated by changing the blue + +One side effect of this on the console's palette is that some +values of red may appear too pinkish - Too much blue to red. +This is not the same as a traditional tint-hue control +adjustment; rather, can be demonstrated by changing the blue ratio values via MESS HLSL settings. -Lastly, the Atari 2600 & 7800 NTSC color palettes hold the same -hue structure order and have similar appearance differences +Lastly, the Atari 2600 & 7800 NTSC color palettes hold the same +hue structure order and have similar appearance differences dependent upon display type. ***************************************************************/ /************************************************************** @@ -832,84 +832,84 @@ dependent upon display type. static const UINT8 atari_palette[256*3] = { /* Grey */ - 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, - 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, - 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, - 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, + 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, + 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, + 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, + 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, /* Gold */ - 0x1A,0x07,0x00, 0x2B,0x18,0x00, 0x3C,0x29,0x00, 0x4D,0x3A,0x00, - 0x5E,0x4B,0x00, 0x6F,0x5C,0x00, 0x80,0x6D,0x00, 0x91,0x7E,0x09, - 0xA2,0x8F,0x1A, 0xB3,0xA0,0x2B, 0xC4,0xB1,0x3C, 0xD5,0xC2,0x4D, + 0x1A,0x07,0x00, 0x2B,0x18,0x00, 0x3C,0x29,0x00, 0x4D,0x3A,0x00, + 0x5E,0x4B,0x00, 0x6F,0x5C,0x00, 0x80,0x6D,0x00, 0x91,0x7E,0x09, + 0xA2,0x8F,0x1A, 0xB3,0xA0,0x2B, 0xC4,0xB1,0x3C, 0xD5,0xC2,0x4D, 0xE6,0xD3,0x5E, 0xF7,0xE4,0x6F, 0xFF,0xF5,0x83, 0xFF,0xF7,0x97, /* Orange */ - 0x31,0x00,0x00, 0x42,0x06,0x00, 0x53,0x17,0x00, 0x64,0x28,0x00, - 0x75,0x39,0x00, 0x86,0X4A,0x00, 0x97,0x5B,0x0B, 0xA8,0x6C,0x1C, - 0xB9,0x7D,0x2D, 0xCA,0x8E,0x3E, 0xDB,0x9F,0x4F, 0xEC,0xB0,0x60, - 0xFD,0xC1,0x71, 0xFF,0xD2,0x86, 0xFF,0xE3,0x9D, 0xFF,0xF4,0xB3, + 0x31,0x00,0x00, 0x42,0x06,0x00, 0x53,0x17,0x00, 0x64,0x28,0x00, + 0x75,0x39,0x00, 0x86,0X4A,0x00, 0x97,0x5B,0x0B, 0xA8,0x6C,0x1C, + 0xB9,0x7D,0x2D, 0xCA,0x8E,0x3E, 0xDB,0x9F,0x4F, 0xEC,0xB0,0x60, + 0xFD,0xC1,0x71, 0xFF,0xD2,0x86, 0xFF,0xE3,0x9D, 0xFF,0xF4,0xB3, /* Red-Orange */ - 0x3E,0x00,0x00, 0x4F,0x00,0x00, 0x60,0x08,0x00, 0x71,0x19,0x00, - 0x82,0x2A,0x0F, 0x93,0x3B,0x20, 0xA4,0x4C,0x31, 0xB5,0x5D,0x42, - 0xC6,0x6E,0x53, 0xD7,0x7F,0x64, 0xE8,0x90,0x75, 0xF9,0xA1,0x86, + 0x3E,0x00,0x00, 0x4F,0x00,0x00, 0x60,0x08,0x00, 0x71,0x19,0x00, + 0x82,0x2A,0x0F, 0x93,0x3B,0x20, 0xA4,0x4C,0x31, 0xB5,0x5D,0x42, + 0xC6,0x6E,0x53, 0xD7,0x7F,0x64, 0xE8,0x90,0x75, 0xF9,0xA1,0x86, 0xFF,0xB2,0x9A, 0xFF,0xC3,0xB0, 0xFF,0xD4,0xC6, 0xFF,0xE5,0xDC, /* Pink */ - 0x3E,0x00,0x06, 0x4F,0x00,0x12, 0x60,0x00,0x1E, 0x71,0x0E,0x2E, - 0x82,0x1F,0x3F, 0x93,0x30,0x50, 0xA4,0x41,0x61, 0xB5,0x52,0x72, - 0xC6,0x63,0x83, 0xD7,0x74,0x94, 0xE8,0x85,0xA5, 0xF9,0x96,0xB6, + 0x3E,0x00,0x06, 0x4F,0x00,0x12, 0x60,0x00,0x1E, 0x71,0x0E,0x2E, + 0x82,0x1F,0x3F, 0x93,0x30,0x50, 0xA4,0x41,0x61, 0xB5,0x52,0x72, + 0xC6,0x63,0x83, 0xD7,0x74,0x94, 0xE8,0x85,0xA5, 0xF9,0x96,0xB6, 0xFF,0xA7,0xCB, 0xFF,0xB8,0xE1, 0xFF,0xC9,0xEF, 0xFF,0xDA,0xF4, /* Purple */ - 0x32,0x00,0x38, 0x43,0x00,0x44, 0x54,0x00,0x50, 0x65,0x0C,0x5F, - 0x76,0x1D,0x70, 0x87,0x2E,0x81, 0x98,0x3F,0x92, 0xA9,0x50,0xA3, - 0xBA,0x61,0xB4, 0xCB,0x72,0xC5, 0xDC,0x83,0xD6, 0xED,0x94,0xE4, + 0x32,0x00,0x38, 0x43,0x00,0x44, 0x54,0x00,0x50, 0x65,0x0C,0x5F, + 0x76,0x1D,0x70, 0x87,0x2E,0x81, 0x98,0x3F,0x92, 0xA9,0x50,0xA3, + 0xBA,0x61,0xB4, 0xCB,0x72,0xC5, 0xDC,0x83,0xD6, 0xED,0x94,0xE4, 0xFE,0xA5,0xE4, 0xFF,0xB6,0xE9, 0xFF,0xC7,0xEE, 0xFF,0xD8,0xF3, /* Purple-Blue */ - 0x1B,0x00,0x5F, 0x2C,0x00,0x6B, 0x3D,0x00,0x77, 0x4E,0x11,0x88, - 0x5F,0x22,0x99, 0x70,0x33,0xAA, 0x81,0x44,0xBB, 0x92,0x55,0xCC, - 0xA3,0x66,0xDD, 0xB4,0x77,0xED, 0xC5,0x88,0xED, 0xD6,0x99,0xED, + 0x1B,0x00,0x5F, 0x2C,0x00,0x6B, 0x3D,0x00,0x77, 0x4E,0x11,0x88, + 0x5F,0x22,0x99, 0x70,0x33,0xAA, 0x81,0x44,0xBB, 0x92,0x55,0xCC, + 0xA3,0x66,0xDD, 0xB4,0x77,0xED, 0xC5,0x88,0xED, 0xD6,0x99,0xED, 0xE7,0xAA,0xED, 0xF8,0xBB,0xED, 0xFF,0xCC,0xF0, 0xFF,0xDD,0xF5, /* Blue 1 */ - 0x00,0x00,0x72, 0x10,0x00,0x7E, 0x21,0x0D,0x8E, 0x32,0x1E,0x9F, - 0x43,0x2F,0xB0, 0x54,0x40,0xC1, 0x65,0x51,0xD2, 0x76,0x62,0xE3, - 0x87,0x73,0xF4, 0x98,0x84,0xF9, 0xA9,0x95,0xF9, 0xBA,0xA6,0xF9, + 0x00,0x00,0x72, 0x10,0x00,0x7E, 0x21,0x0D,0x8E, 0x32,0x1E,0x9F, + 0x43,0x2F,0xB0, 0x54,0x40,0xC1, 0x65,0x51,0xD2, 0x76,0x62,0xE3, + 0x87,0x73,0xF4, 0x98,0x84,0xF9, 0xA9,0x95,0xF9, 0xBA,0xA6,0xF9, 0xCB,0xB7,0xF9, 0xDC,0xC8,0xF9, 0xED,0xD9,0xF9, 0xFE,0xEA,0xF9, /* Blue 2 */ - 0x00,0x00,0x65, 0x00,0x0C,0x7A, 0x05,0x1D,0x8E, 0x16,0x2E,0x9F, - 0x27,0x3F,0xB0, 0x38,0x50,0xC1, 0x49,0x61,0xD2, 0x5A,0x72,0xE3, - 0x6B,0x83,0xF4, 0x7C,0x94,0xFF, 0x8D,0xA5,0xFF, 0x9E,0xB6,0xFF, + 0x00,0x00,0x65, 0x00,0x0C,0x7A, 0x05,0x1D,0x8E, 0x16,0x2E,0x9F, + 0x27,0x3F,0xB0, 0x38,0x50,0xC1, 0x49,0x61,0xD2, 0x5A,0x72,0xE3, + 0x6B,0x83,0xF4, 0x7C,0x94,0xFF, 0x8D,0xA5,0xFF, 0x9E,0xB6,0xFF, 0xAF,0xC7,0xFF, 0xC0,0xD8,0xFF, 0xD1,0xE9,0xFF, 0xE2,0xFA,0xFF, /* Light-Blue */ - 0x00,0x0D,0x48, 0x00,0x1E,0x5E, 0x00,0x2F,0x74, 0x00,0x40,0x8A, - 0x11,0x51,0x9B, 0x22,0x62,0xAC, 0x33,0x73,0xBD, 0x44,0x84,0xCE, - 0x55,0x95,0xDF, 0x66,0xA6,0xF0, 0x77,0xB7,0xFF, 0x88,0xC8,0xFF, + 0x00,0x0D,0x48, 0x00,0x1E,0x5E, 0x00,0x2F,0x74, 0x00,0x40,0x8A, + 0x11,0x51,0x9B, 0x22,0x62,0xAC, 0x33,0x73,0xBD, 0x44,0x84,0xCE, + 0x55,0x95,0xDF, 0x66,0xA6,0xF0, 0x77,0xB7,0xFF, 0x88,0xC8,0xFF, 0x99,0xD9,0xFF, 0xAA,0xEA,0xFF, 0xBB,0xFB,0xFF, 0xCC,0xFF,0xFF, /* Turquoise */ - 0x00,0x1C,0x1C, 0x00,0x2D,0x32, 0x00,0x3E,0x49, 0x00,0x4F,0x5F, - 0x05,0x60,0x73, 0x16,0x71,0x84, 0x27,0x82,0x95, 0x38,0x93,0xA6, - 0x49,0xA4,0xB7, 0x5A,0xB5,0xC8, 0x6B,0xC6,0xD9, 0x7C,0xD7,0xEA, + 0x00,0x1C,0x1C, 0x00,0x2D,0x32, 0x00,0x3E,0x49, 0x00,0x4F,0x5F, + 0x05,0x60,0x73, 0x16,0x71,0x84, 0x27,0x82,0x95, 0x38,0x93,0xA6, + 0x49,0xA4,0xB7, 0x5A,0xB5,0xC8, 0x6B,0xC6,0xD9, 0x7C,0xD7,0xEA, 0x8D,0xE8,0xFB, 0x9E,0xF9,0xFF, 0xAF,0xFF,0xFF, 0xC0,0xFF,0xFF, /* Green-Blue */ - 0x00,0x25,0x0B, 0x00,0x36,0x10, 0x00,0x47,0x18, 0x00,0x58,0x2E, - 0x07,0x69,0x42, 0x18,0x7A,0x53, 0x29,0x8B,0x64, 0x3A,0x9C,0x75, - 0x4B,0xAD,0x86, 0x5C,0xBE,0x97, 0x6D,0xCF,0xA8, 0x7E,0xE0,0xB9, + 0x00,0x25,0x0B, 0x00,0x36,0x10, 0x00,0x47,0x18, 0x00,0x58,0x2E, + 0x07,0x69,0x42, 0x18,0x7A,0x53, 0x29,0x8B,0x64, 0x3A,0x9C,0x75, + 0x4B,0xAD,0x86, 0x5C,0xBE,0x97, 0x6D,0xCF,0xA8, 0x7E,0xE0,0xB9, 0x8F,0xF1,0xCA, 0xA0,0xFF,0xDA, 0xB1,0xFF,0xE6, 0xC2,0xFF,0xF2, /* Green */ - 0x00,0x27,0x0C, 0x00,0x38,0x11, 0x00,0x49,0x16, 0x04,0x5A,0x1A, - 0x15,0x6B,0x1A, 0x26,0x7C,0x22, 0x37,0x8D,0x33, 0x48,0x9E,0x44, - 0x59,0xAF,0x55, 0x6A,0xC0,0x66, 0x7B,0xD1,0x77, 0x8C,0xE2,0x88, + 0x00,0x27,0x0C, 0x00,0x38,0x11, 0x00,0x49,0x16, 0x04,0x5A,0x1A, + 0x15,0x6B,0x1A, 0x26,0x7C,0x22, 0x37,0x8D,0x33, 0x48,0x9E,0x44, + 0x59,0xAF,0x55, 0x6A,0xC0,0x66, 0x7B,0xD1,0x77, 0x8C,0xE2,0x88, 0x9D,0xF3,0x99, 0xAE,0xFF,0xA8, 0xBF,0xFF,0xB4, 0xD0,0xFF,0xC0, /* Yellow-Green */ - 0x00,0x21,0x0A, 0x00,0x32,0x0F, 0x0A,0x43,0x11, 0x1B,0x54,0x11, - 0x2C,0x65,0x11, 0x3D,0x76,0x11, 0x4E,0x87,0x11, 0x5F,0x98,0x1E, - 0x70,0xA9,0x2F, 0x81,0xBA,0x40, 0x92,0xCB,0x51, 0xA3,0xDC,0x62, + 0x00,0x21,0x0A, 0x00,0x32,0x0F, 0x0A,0x43,0x11, 0x1B,0x54,0x11, + 0x2C,0x65,0x11, 0x3D,0x76,0x11, 0x4E,0x87,0x11, 0x5F,0x98,0x1E, + 0x70,0xA9,0x2F, 0x81,0xBA,0x40, 0x92,0xCB,0x51, 0xA3,0xDC,0x62, 0xB4,0xED,0x73, 0xC5,0xFE,0x84, 0xD6,0xFF,0x90, 0xE7,0xFF,0x9C, /* Orange-Green */ - 0x05,0x13,0x04, 0x16,0x24,0x04, 0x27,0x35,0x04, 0x38,0x46,0x04, - 0x49,0x57,0x04, 0x5A,0x68,0x04, 0x6B,0x79,0x04, 0x7C,0x8A,0x09, - 0x8D,0x9B,0x1A, 0x9E,0xAC,0x2B, 0xAF,0xBD,0x3C, 0xC0,0xCE,0x4D, + 0x05,0x13,0x04, 0x16,0x24,0x04, 0x27,0x35,0x04, 0x38,0x46,0x04, + 0x49,0x57,0x04, 0x5A,0x68,0x04, 0x6B,0x79,0x04, 0x7C,0x8A,0x09, + 0x8D,0x9B,0x1A, 0x9E,0xAC,0x2B, 0xAF,0xBD,0x3C, 0xC0,0xCE,0x4D, 0xD1,0xDF,0x5E, 0xE2,0xF0,0x6F, 0xF3,0xFF,0x80, 0xFF,0xFF,0x8D, /* Light-Orange */ - 0x21,0x02,0x00, 0x32,0x13,0x00, 0x43,0x24,0x00, 0x54,0x35,0x00, - 0x65,0x46,0x00, 0x76,0x57,0x00, 0x87,0x68,0x00, 0x98,0x79,0x0C, - 0xA9,0x8A,0x1D, 0xBA,0x9B,0x2E, 0xCB,0xAC,0x3F, 0xDC,0xBD,0x50, + 0x21,0x02,0x00, 0x32,0x13,0x00, 0x43,0x24,0x00, 0x54,0x35,0x00, + 0x65,0x46,0x00, 0x76,0x57,0x00, 0x87,0x68,0x00, 0x98,0x79,0x0C, + 0xA9,0x8A,0x1D, 0xBA,0x9B,0x2E, 0xCB,0xAC,0x3F, 0xDC,0xBD,0x50, 0xED,0xCE,0x61, 0xFE,0xDF,0x72, 0xFF,0xF0,0x87, 0xFF,0xFF,0x9D }; @@ -928,399 +928,399 @@ void a400_state::palette_init() PALETTE - PHASE 24.7 SHIFT GREY - 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, - 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, - 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, - 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, + 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, + 0x44,0x44,0x44, 0x55,0x55,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,0x35, 0x00,0x54,0x4B, - 0x04,0x65,0x60, 0x15,0x76,0x71, 0x26,0x87,0x82, 0x37,0x98,0x93, - 0x48,0xA9,0xA4, 0x59,0xBA,0xB5, 0x6A,0xCB,0xC6, 0x7B,0xDC,0xD7, - 0x8C,0xED,0xE8, 0x9D,0xFE,0xF9, 0xAE,0xFF,0xFF, 0xBF,0xFF,0xFF, + 0x00,0x21,0x0A, 0x00,0x32,0x1F, 0x00,0x43,0x35, 0x00,0x54,0x4B, + 0x04,0x65,0x60, 0x15,0x76,0x71, 0x26,0x87,0x82, 0x37,0x98,0x93, + 0x48,0xA9,0xA4, 0x59,0xBA,0xB5, 0x6A,0xCB,0xC6, 0x7B,0xDC,0xD7, + 0x8C,0xED,0xE8, 0x9D,0xFE,0xF9, 0xAE,0xFF,0xFF, 0xBF,0xFF,0xFF, GREEN - 0x00,0x27,0x0C, 0x00,0x38,0x11, 0x00,0x49,0x16, 0x00,0x5A,0x1D, - 0x0A,0x6B,0x30, 0x1B,0x7C,0x41, 0x2C,0x8D,0x52, 0x3D,0x9E,0x63, - 0x4E,0xAF,0x74, 0x5F,0xC0,0x85, 0x70,0xD1,0x96, 0x81,0xE2,0xA7, - 0x92,0xF3,0xB8, 0xA3,0xFF,0xC8, 0xB4,0xFF,0xD3, 0xC5,0xFF,0xDF, + 0x00,0x27,0x0C, 0x00,0x38,0x11, 0x00,0x49,0x16, 0x00,0x5A,0x1D, + 0x0A,0x6B,0x30, 0x1B,0x7C,0x41, 0x2C,0x8D,0x52, 0x3D,0x9E,0x63, + 0x4E,0xAF,0x74, 0x5F,0xC0,0x85, 0x70,0xD1,0x96, 0x81,0xE2,0xA7, + 0x92,0xF3,0xB8, 0xA3,0xFF,0xC8, 0xB4,0xFF,0xD3, 0xC5,0xFF,0xDF, YELLOW-GREEN - 0x00,0x26,0x0B, 0x00,0x37,0x10, 0x00,0x48,0x16, 0x0A,0x59,0x18, - 0x1B,0x6A,0x18, 0x2C,0x7B,0x18, 0x3D,0x8C,0x27, 0x4E,0x9D,0x38, - 0x5F,0xAE,0x49, 0x70,0xBF,0x5A, 0x81,0xD0,0x6B, 0x92,0xE1,0x7C, - 0xA3,0xF2,0x8D, 0xB4,0xFF,0x9C, 0xC5,0xFF,0xA8, 0xD6,0xFF,0xB4, + 0x00,0x26,0x0B, 0x00,0x37,0x10, 0x00,0x48,0x16, 0x0A,0x59,0x18, + 0x1B,0x6A,0x18, 0x2C,0x7B,0x18, 0x3D,0x8C,0x27, 0x4E,0x9D,0x38, + 0x5F,0xAE,0x49, 0x70,0xBF,0x5A, 0x81,0xD0,0x6B, 0x92,0xE1,0x7C, + 0xA3,0xF2,0x8D, 0xB4,0xFF,0x9C, 0xC5,0xFF,0xA8, 0xD6,0xFF,0xB4, ORANGE-GREEN - 0x00,0x1E,0x09, 0x00,0x2F,0x0E, 0x11,0x40,0x0E, 0x22,0x51,0x0E, - 0x33,0x62,0x0E, 0x44,0x73,0x0E, 0x55,0x84,0x0E, 0x66,0x95,0x17, - 0x77,0xA6,0x28, 0x88,0xB7,0x39, 0x99,0xC8,0x4A, 0xAA,0xD9,0x5B, - 0xBB,0xEA,0x6C, 0xCC,0xFB,0x7D, 0xDD,0xFF,0x8A, 0xEE,0xFF,0x96, + 0x00,0x1E,0x09, 0x00,0x2F,0x0E, 0x11,0x40,0x0E, 0x22,0x51,0x0E, + 0x33,0x62,0x0E, 0x44,0x73,0x0E, 0x55,0x84,0x0E, 0x66,0x95,0x17, + 0x77,0xA6,0x28, 0x88,0xB7,0x39, 0x99,0xC8,0x4A, 0xAA,0xD9,0x5B, + 0xBB,0xEA,0x6C, 0xCC,0xFB,0x7D, 0xDD,0xFF,0x8A, 0xEE,0xFF,0x96, LIGHT-ORANGE - 0x0A,0x11,0x02, 0x1B,0x22,0x02, 0x2C,0x33,0x02, 0x3D,0x44,0x02, - 0x4E,0x55,0x02, 0x5F,0x66,0x02, 0x70,0x77,0x02, 0x81,0x88,0x09, - 0x92,0x99,0x1A, 0xA3,0xAA,0x2B, 0xB4,0xBB,0x3C, 0xC5,0xCC,0x4D, - 0xD6,0xDD,0x5E, 0xE7,0xEE,0x6F, 0xF8,0xFF,0x80, 0xFF,0xFF,0x8F, + 0x0A,0x11,0x02, 0x1B,0x22,0x02, 0x2C,0x33,0x02, 0x3D,0x44,0x02, + 0x4E,0x55,0x02, 0x5F,0x66,0x02, 0x70,0x77,0x02, 0x81,0x88,0x09, + 0x92,0x99,0x1A, 0xA3,0xAA,0x2B, 0xB4,0xBB,0x3C, 0xC5,0xCC,0x4D, + 0xD6,0xDD,0x5E, 0xE7,0xEE,0x6F, 0xF8,0xFF,0x80, 0xFF,0xFF,0x8F, ******************************************************************* ******************************************************************* PALETTE - PHASE 25.2 SHIFT GREY - 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, - 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, - 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, - 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, + 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, + 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, + 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, + 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, GOLD - 0x1A,0x07,0x00, 0x2B,0x18,0x00, 0x3C,0x29,0x00, 0x4D,0x3A,0x00, - 0x5E,0x4B,0x00, 0x6F,0x5C,0x00, 0x80,0x6D,0x00, 0x91,0x7E,0x09, - 0xA2,0x8F,0x1A, 0xB3,0xA0,0x2B, 0xC4,0xB1,0x3C, 0xD5,0xC2,0x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x9A, 0x59,0xBC,0xAB, 0x6A,0xCD,0xBC, 0x7B,0xDE,0xCD, + 0x8C,0xEF,0xDE, 0x9D,0xFF,0xEE, 0xAE,0xFF,0xFA, 0xBF,0xFF,0xFF, GREEN - 0x00,0x27,0x0C, 0x00,0x38,0x11, 0x00,0x49,0x16, 0x00,0x5A,0x1B, - 0x0D,0x6B,0x25, 0x1E,0x7C,0x36, 0x2F,0x8D,0x47, 0x40,0x9E,0x58, - 0x51,0xAF,0x69, 0x62,0xC0,0x7A, 0x73,0xD1,0x8B, 0x84,0xE2,0x9C, - 0x95,0xF3,0xAD, 0xA6,0xFF,0xBD, 0xB7,0xFF,0xC9, 0xC8,0xFF,0xD4, + 0x00,0x27,0x0C, 0x00,0x38,0x11, 0x00,0x49,0x16, 0x00,0x5A,0x1B, + 0x0D,0x6B,0x25, 0x1E,0x7C,0x36, 0x2F,0x8D,0x47, 0x40,0x9E,0x58, + 0x51,0xAF,0x69, 0x62,0xC0,0x7A, 0x73,0xD1,0x8B, 0x84,0xE2,0x9C, + 0x95,0xF3,0xAD, 0xA6,0xFF,0xBD, 0xB7,0xFF,0xC9, 0xC8,0xFF,0xD4, YELLOW-GREEN - 0x00,0x24,0x0B, 0x00,0x35,0x10, 0x00,0x46,0x15, 0x10,0x57,0x15, - 0x21,0x68,0x15, 0x32,0x79,0x15, 0x43,0x8A,0x1C, 0x54,0x9B,0x2D, - 0x65,0xAC,0x3E, 0x76,0xBD,0x4F, 0x87,0xCE,0x60, 0x98,0xDF,0x71, - 0xA9,0xF0,0x82, 0xBA,0xFF,0x93, 0xCB,0xFF,0x9F, 0xDC,0xFF,0xAA, + 0x00,0x24,0x0B, 0x00,0x35,0x10, 0x00,0x46,0x15, 0x10,0x57,0x15, + 0x21,0x68,0x15, 0x32,0x79,0x15, 0x43,0x8A,0x1C, 0x54,0x9B,0x2D, + 0x65,0xAC,0x3E, 0x76,0xBD,0x4F, 0x87,0xCE,0x60, 0x98,0xDF,0x71, + 0xA9,0xF0,0x82, 0xBA,0xFF,0x93, 0xCB,0xFF,0x9F, 0xDC,0xFF,0xAA, ORANGE-GREEN - 0x00,0x1B,0x08, 0x08,0x2C,0x0B, 0x19,0x3D,0x0B, 0x2A,0x4E,0x0B, - 0x3B,0x5F,0x0B, 0x4C,0x70,0x0B, 0x5D,0x81,0x0B, 0x6E,0x92,0x11, - 0x7F,0xA3,0x22, 0x90,0xB4,0x33, 0xA1,0xC5,0x44, 0xB2,0xD6,0x55, - 0xC3,0xE7,0x66, 0xD4,0xF8,0x77, 0xE5,0xFF,0x85, 0xF6,0xFF,0x91, + 0x00,0x1B,0x08, 0x08,0x2C,0x0B, 0x19,0x3D,0x0B, 0x2A,0x4E,0x0B, + 0x3B,0x5F,0x0B, 0x4C,0x70,0x0B, 0x5D,0x81,0x0B, 0x6E,0x92,0x11, + 0x7F,0xA3,0x22, 0x90,0xB4,0x33, 0xA1,0xC5,0x44, 0xB2,0xD6,0x55, + 0xC3,0xE7,0x66, 0xD4,0xF8,0x77, 0xE5,0xFF,0x85, 0xF6,0xFF,0x91, LIGHT-ORANGE - 0x12,0x0C,0x00, 0x23,0x1D,0x00, 0x34,0x2E,0x00, 0x45,0x3F,0x00, - 0x56,0x50,0x00, 0x67,0x61,0x00, 0x78,0x72,0x00, 0x89,0x83,0x08, - 0x9A,0x94,0x19, 0xAB,0xA5,0x2A, 0xBC,0xB6,0x3B, 0xCD,0xC7,0x4C, - 0xDE,0xD8,0x5D, 0xEF,0xE9,0x6E, 0xFF,0xFA,0x80, 0xFF,0xFF,0x92, + 0x12,0x0C,0x00, 0x23,0x1D,0x00, 0x34,0x2E,0x00, 0x45,0x3F,0x00, + 0x56,0x50,0x00, 0x67,0x61,0x00, 0x78,0x72,0x00, 0x89,0x83,0x08, + 0x9A,0x94,0x19, 0xAB,0xA5,0x2A, 0xBC,0xB6,0x3B, 0xCD,0xC7,0x4C, + 0xDE,0xD8,0x5D, 0xEF,0xE9,0x6E, 0xFF,0xFA,0x80, 0xFF,0xFF,0x92, ******************************************************************* ******************************************************************* PALETTE - PHASE 25.7 SHIFT GREY - 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, - 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, - 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, - 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, + 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, + 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, + 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, + 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, GOLD - 0x1A,0x07,0x00, 0x2B,0x18,0x00, 0x3C,0x29,0x00, 0x4D,0x3A,0x00, - 0x5E,0x4B,0x00, 0x6F,0x5C,0x00, 0x80,0x6D,0x00, 0x91,0x7E,0x09, - 0xA2,0x8F,0x1A, 0xB3,0xA0,0x2B, 0xC4,0xB1,0x3C, 0xD5,0xC2,0x4D, - 0xE6,0xD3,0x5E, 0xF7,0xE4,0x6F, 0xFF,0xF5,0x83, 0xFF,0xF7,0x97, + 0x1A,0x07,0x00, 0x2B,0x18,0x00, 0x3C,0x29,0x00, 0x4D,0x3A,0x00, + 0x5E,0x4B,0x00, 0x6F,0x5C,0x00, 0x80,0x6D,0x00, 0x91,0x7E,0x09, + 0xA2,0x8F,0x1A, 0xB3,0xA0,0x2B, 0xC4,0xB1,0x3C, 0xD5,0xC2,0x4D, + 0xE6,0xD3,0x5E, 0xF7,0xE4,0x6F, 0xFF,0xF5,0x83, 0xFF,0xF7,0x97, ORANGE - 0x31,0x00,0x00, 0x42,0x06,0x00, 0x53,0x17,0x00, 0x64,0x28,0x00, - 0x75,0x39,0x00, 0x86,0X4A,0x00, 0x97,0x5B,0x0A, 0xA8,0x6C,0x1B, - 0xB9,0x7D,0x2C, 0xCA,0x8E,0x3D, 0xDB,0x9F,0x4E, 0xEC,0xB0,0x5F, - 0xFD,0xC1,0x70, 0xFF,0xD2,0x85, 0xFF,0xE3,0x9C, 0xFF,0xF4,0xB2, + 0x31,0x00,0x00, 0x42,0x06,0x00, 0x53,0x17,0x00, 0x64,0x28,0x00, + 0x75,0x39,0x00, 0x86,0X4A,0x00, 0x97,0x5B,0x0A, 0xA8,0x6C,0x1B, + 0xB9,0x7D,0x2C, 0xCA,0x8E,0x3D, 0xDB,0x9F,0x4E, 0xEC,0xB0,0x5F, + 0xFD,0xC1,0x70, 0xFF,0xD2,0x85, 0xFF,0xE3,0x9C, 0xFF,0xF4,0xB2, RED-ORANGE - 0x3E,0x00,0x00, 0x4F,0x00,0x00, 0x60,0x08,0x00, 0x71,0x19,0x00, - 0x82,0x2A,0x0D, 0x93,0x3B,0x1E, 0xA4,0x4C,0x2F, 0xB5,0x5D,0x40, - 0xC6,0x6E,0x51, 0xD7,0x7F,0x62, 0xE8,0x90,0x73, 0xF9,0xA1,0x83, - 0xFF,0xB2,0x98, 0xFF,0xC3,0xAE, 0xFF,0xD4,0xC4, 0xFF,0xE5,0xDA, + 0x3E,0x00,0x00, 0x4F,0x00,0x00, 0x60,0x08,0x00, 0x71,0x19,0x00, + 0x82,0x2A,0x0D, 0x93,0x3B,0x1E, 0xA4,0x4C,0x2F, 0xB5,0x5D,0x40, + 0xC6,0x6E,0x51, 0xD7,0x7F,0x62, 0xE8,0x90,0x73, 0xF9,0xA1,0x83, + 0xFF,0xB2,0x98, 0xFF,0xC3,0xAE, 0xFF,0xD4,0xC4, 0xFF,0xE5,0xDA, PINK - 0x3F,0x00,0x03, 0x50,0x00,0x0F, 0x61,0x00,0x1B, 0x72,0x0F,0x2B, - 0x83,0x20,0x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FF,0xBF, 0xCB,0xFF,0xCB, + 0x00,0x27,0x0C, 0x00,0x38,0x11, 0x00,0x49,0x16, 0x00,0x5A,0x1B, + 0x10,0x6B,0x1B, 0x21,0x7C,0x2C, 0x32,0x8D,0x3D, 0x43,0x9E,0x4E, + 0x54,0xAF,0x5F, 0x65,0xC0,0x70, 0x76,0xD1,0x81, 0x87,0xE2,0x92, + 0x98,0xF3,0xA3, 0xA9,0xFF,0xB3, 0xBA,0xFF,0xBF, 0xCB,0xFF,0xCB, YELLOW-GREEN - 0x00,0x23,0x0A, 0x00,0x34,0x10, 0x04,0x45,0x13, 0x15,0x56,0x13, - 0x26,0x67,0x13, 0x37,0x78,0x13, 0x48,0x89,0x14, 0x59,0x9A,0x25, - 0x6A,0xAB,0x36, 0x7B,0xBC,0x47, 0x8C,0xCD,0x58, 0x9D,0xDE,0x69, - 0xAE,0xEF,0x7A, 0xBF,0xFF,0x8B, 0xD0,0xFF,0x97, 0xE1,0xFF,0xA3, + 0x00,0x23,0x0A, 0x00,0x34,0x10, 0x04,0x45,0x13, 0x15,0x56,0x13, + 0x26,0x67,0x13, 0x37,0x78,0x13, 0x48,0x89,0x14, 0x59,0x9A,0x25, + 0x6A,0xAB,0x36, 0x7B,0xBC,0x47, 0x8C,0xCD,0x58, 0x9D,0xDE,0x69, + 0xAE,0xEF,0x7A, 0xBF,0xFF,0x8B, 0xD0,0xFF,0x97, 0xE1,0xFF,0xA3, ORANGE-GREEN - 0x00,0x17,0x07, 0x0E,0x28,0x08, 0x1F,0x39,0x08, 0x30,0x4A,0x08, - 0x41,0x5B,0x08, 0x52,0x6C,0x08, 0x63,0x7D,0x08, 0x74,0x8E,0x0D, - 0x85,0x9F,0x1E, 0x96,0xB0,0x2F, 0xA7,0xC1,0x40, 0xB8,0xD2,0x51, - 0xC9,0xE3,0x62, 0xDA,0xF4,0x73, 0xEB,0xFF,0x82, 0xFC,0xFF,0x8E, + 0x00,0x17,0x07, 0x0E,0x28,0x08, 0x1F,0x39,0x08, 0x30,0x4A,0x08, + 0x41,0x5B,0x08, 0x52,0x6C,0x08, 0x63,0x7D,0x08, 0x74,0x8E,0x0D, + 0x85,0x9F,0x1E, 0x96,0xB0,0x2F, 0xA7,0xC1,0x40, 0xB8,0xD2,0x51, + 0xC9,0xE3,0x62, 0xDA,0xF4,0x73, 0xEB,0xFF,0x82, 0xFC,0xFF,0x8E, LIGHT-ORANGE - 0x19,0x07,0x00, 0x2A,0x18,0x00, 0x3B,0x29,0x00, 0x4C,0x3A,0x00, - 0x5D,0x4B,0x00, 0x6E,0x5C,0x00, 0x7F,0x6D,0x00, 0x90,0x7E,0x09, - 0xA1,0x8F,0x1A, 0xB2,0xA0,0x2B, 0xC3,0xB1,0x3C, 0xD4,0xC2,0x4D, - 0xE5,0xD3,0x5E, 0xF6,0xE4,0x6F, 0xFF,0xF5,0x82, 0xFF,0xFF,0x96, + 0x19,0x07,0x00, 0x2A,0x18,0x00, 0x3B,0x29,0x00, 0x4C,0x3A,0x00, + 0x5D,0x4B,0x00, 0x6E,0x5C,0x00, 0x7F,0x6D,0x00, 0x90,0x7E,0x09, + 0xA1,0x8F,0x1A, 0xB2,0xA0,0x2B, 0xC3,0xB1,0x3C, 0xD4,0xC2,0x4D, + 0xE5,0xD3,0x5E, 0xF6,0xE4,0x6F, 0xFF,0xF5,0x82, 0xFF,0xFF,0x96, ******************************************************************* ******************************************************************* PALETTE - PHASE 26.7 SHIFT GREY - 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, - 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, - 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, - 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, + 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, + 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, + 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, + 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, GOLD - 0x1A,0x07,0x00, 0x2B,0x18,0x00, 0x3C,0x29,0x00, 0x4D,0x3A,0x00, - 0x5E,0x4B,0x00, 0x6F,0x5C,0x00, 0x80,0x6D,0x00, 0x91,0x7E,0x09, - 0xA2,0x8F,0x1A, 0xB3,0xA0,0x2B, 0xC4,0xB1,0x3C, 0xD5,0xC2,0x4D, - 0xE6,0xD3,0x5E, 0xF7,0xE4,0x6F, 0xFF,0xF5,0x83, 0xFF,0xFF,0x97, + 0x1A,0x07,0x00, 0x2B,0x18,0x00, 0x3C,0x29,0x00, 0x4D,0x3A,0x00, + 0x5E,0x4B,0x00, 0x6F,0x5C,0x00, 0x80,0x6D,0x00, 0x91,0x7E,0x09, + 0xA2,0x8F,0x1A, 0xB3,0xA0,0x2B, 0xC4,0xB1,0x3C, 0xD5,0xC2,0x4D, + 0xE6,0xD3,0x5E, 0xF7,0xE4,0x6F, 0xFF,0xF5,0x83, 0xFF,0xFF,0x97, ORANGE - 0x32,0x00,0x00, 0x43,0x06,0x00, 0x54,0x17,0x00, 0x65,0x28,0x00, - 0x79,0x39,0x00, 0x87,0x4A,0x00, 0x98,0x5B,0x0C, 0xA9,0x6C,0x1D, - 0xBA,0x7D,0x2E, 0xCB,0x8E,0x3F, 0xDC,0x9F,0x50, 0xED,0xB0,0x61, - 0xFE,0xC1,0x72, 0xFF,0xD2,0x87, 0xFF,0xE3,0x9E, 0xFF,0xF4,0xB4, + 0x32,0x00,0x00, 0x43,0x06,0x00, 0x54,0x17,0x00, 0x65,0x28,0x00, + 0x79,0x39,0x00, 0x87,0x4A,0x00, 0x98,0x5B,0x0C, 0xA9,0x6C,0x1D, + 0xBA,0x7D,0x2E, 0xCB,0x8E,0x3F, 0xDC,0x9F,0x50, 0xED,0xB0,0x61, + 0xFE,0xC1,0x72, 0xFF,0xD2,0x87, 0xFF,0xE3,0x9E, 0xFF,0xF4,0xB4, RED-ORANGE - 0x3E,0x00,0x00, 0x4F,0x00,0x00, 0x60,0x07,0x00, 0x71,0x18,0x00, - 0x82,0x29,0x10, 0x93,0x3A,0x21, 0xA4,0x4B,0x32, 0xB5,0x5C,0x43, - 0xC6,0x6D,0x54, 0xD7,0x7E,0x65, 0xE8,0x8F,0x76, 0xF9,0xA0,0x87, - 0xFF,0xB1,0x9C, 0xFF,0xC2,0xB2, 0xFF,0xD3,0xC8, 0xFF,0xE4,0xDE, + 0x3E,0x00,0x00, 0x4F,0x00,0x00, 0x60,0x07,0x00, 0x71,0x18,0x00, + 0x82,0x29,0x10, 0x93,0x3A,0x21, 0xA4,0x4B,0x32, 0xB5,0x5C,0x43, + 0xC6,0x6D,0x54, 0xD7,0x7E,0x65, 0xE8,0x8F,0x76, 0xF9,0xA0,0x87, + 0xFF,0xB1,0x9C, 0xFF,0xC2,0xB2, 0xFF,0xD3,0xC8, 0xFF,0xE4,0xDE, PINK - 0x3E,0x00,0x09, 0x4F,0x00,0x15, 0x60,0x00,0x21, 0x71,0x0E,0x31, - 0x82,0x1F,0x42, 0x93,0x30,0x53, 0xA4,0x41,0x64, 0xB5,0x52,0x75, - 0xC6,0x63,0x86, 0xD7,0x74,0x97, 0xE8,0x85,0xA8, 0xF9,0x96,0xB9, - 0xFF,0xA7,0xCE, 0xFF,0xB8,0xE4, 0xFF,0xC9,0xEF, 0xFF,0xDA,0xF4, + 0x3E,0x00,0x09, 0x4F,0x00,0x15, 0x60,0x00,0x21, 0x71,0x0E,0x31, + 0x82,0x1F,0x42, 0x93,0x30,0x53, 0xA4,0x41,0x64, 0xB5,0x52,0x75, + 0xC6,0x63,0x86, 0xD7,0x74,0x97, 0xE8,0x85,0xA8, 0xF9,0x96,0xB9, + 0x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x00,0x21,0x58, 0x00,0x32,0x6E, 0x00,0x43,0x84, - 0x0E,0x54,0x96, 0x1F,0x65,0xA7, 0x30,0x76,0xB8, 0x41,0x87,0xC9, - 0x52,0x98,0xDA, 0x63,0xA9,0xEB, 0x74,0xBA,0xFC, 0x85,0xCB,0xFF, - 0x96,0xDC,0xFF, 0xA7,0xED,0xFF, 0xB8,0xFE,0xFF, 0xC9,0xFF,0xFF, + 0x00,0x10,0x42, 0x00,0x21,0x58, 0x00,0x32,0x6E, 0x00,0x43,0x84, + 0x0E,0x54,0x96, 0x1F,0x65,0xA7, 0x30,0x76,0xB8, 0x41,0x87,0xC9, + 0x52,0x98,0xDA, 0x63,0xA9,0xEB, 0x74,0xBA,0xFC, 0x85,0xCB,0xFF, + 0x96,0xDC,0xFF, 0xA7,0xED,0xFF, 0xB8,0xFE,0xFF, 0xC9,0xFF,0xFF, TURQUOISE - 0x00,0x1E,0x14, 0x00,0x2F,0x2A, 0x00,0x40,0x40, 0x00,0x51,0x56, - 0x04,0x62,0x6B, 0x15,0x73,0x7C, 0x26,0x84,0x8D, 0x37,0x95,0x9E, - 0x48,0xA6,0xAF, 0x59,0xB7,0xC0, 0x6A,0xC8,0xD1, 0x7B,0xD9,0xE2, - 0x8C,0xEA,0xF3, 0x9D,0xFB,0xFF, 0xAE,0xFF,0xFF, 0xBF,0xFF,0xFF, + 0x00,0x1E,0x14, 0x00,0x2F,0x2A, 0x00,0x40,0x40, 0x00,0x51,0x56, + 0x04,0x62,0x6B, 0x15,0x73,0x7C, 0x26,0x84,0x8D, 0x37,0x95,0x9E, + 0x48,0xA6,0xAF, 0x59,0xB7,0xC0, 0x6A,0xC8,0xD1, 0x7B,0xD9,0xE2, + 0x8C,0xEA,0xF3, 0x9D,0xFB,0xFF, 0xAE,0xFF,0xFF, 0xBF,0xFF,0xFF, GREEN-BLUE - 0x00,0x26,0x0B, 0x00,0x37,0x10, 0x00,0x48,0x16, 0x00,0x59,0x25, - 0x08,0x6A,0x38, 0x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0x95,0x17, - 0x77,0xA6,0x28, 0x88,0xB7,0x39, 0x99,0xC8,0x4A, 0xAA,0xD9,0x5B, - 0xBB,0xEA,0x6C, 0xCC,0xFB,0x7D, 0xDD,0xFF,0x8A, 0xEE,0xFF,0x96, + 0x00,0x1E,0x09, 0x00,0x2F,0x0E, 0x11,0x40,0x0E, 0x22,0x51,0x0E, + 0x33,0x62,0x0E, 0x44,0x73,0x0E, 0x55,0x84,0x0E, 0x66,0x95,0x17, + 0x77,0xA6,0x28, 0x88,0xB7,0x39, 0x99,0xC8,0x4A, 0xAA,0xD9,0x5B, + 0xBB,0xEA,0x6C, 0xCC,0xFB,0x7D, 0xDD,0xFF,0x8A, 0xEE,0xFF,0x96, ORANGE-GREEN - 0x0D,0x0F,0x01, 0x1E,0x20,0x01, 0x2F,0x31,0x01, 0x40,0x42,0x01, - 0x51,0x53,0x01, 0x62,0x64,0x01, 0x73,0x75,0x01, 0x84,0x86,0x08, - 0x95,0x97,0x19, 0xA6,0xA8,0x2A, 0xB7,0xB9,0x3B, 0xC8,0xCA,0x4C, - 0xD9,0xDB,0x5D, 0xEA,0xEC,0x6E, 0xFB,0xFD,0x7F, 0xFF,0xFF,0x8F, + 0x0D,0x0F,0x01, 0x1E,0x20,0x01, 0x2F,0x31,0x01, 0x40,0x42,0x01, + 0x51,0x53,0x01, 0x62,0x64,0x01, 0x73,0x75,0x01, 0x84,0x86,0x08, + 0x95,0x97,0x19, 0xA6,0xA8,0x2A, 0xB7,0xB9,0x3B, 0xC8,0xCA,0x4C, + 0xD9,0xDB,0x5D, 0xEA,0xEC,0x6E, 0xFB,0xFD,0x7F, 0xFF,0xFF,0x8F, LIGHT-ORANGE - 0x28,0x00,0x00, 0x39,0x0E,0x00, 0x4A,0x1F,0x00, 0x5B,0x30,0x00, - 0x6C,0x41,0x00, 0x7D,0x52,0x00, 0x8E,0x63,0x00, 0x9F,0x74,0x10, - 0xB0,0x85,0x21, 0xC1,0x96,0x32, 0xD2,0xA7,0x43, 0xE3,0xB8,0x54, - 0xF4,0xC9,0x65, 0xFF,0xDA,0x78, 0xFF,0xEB,0x8E, 0xFF,0xFC,0xA4, + 0x28,0x00,0x00, 0x39,0x0E,0x00, 0x4A,0x1F,0x00, 0x5B,0x30,0x00, + 0x6C,0x41,0x00, 0x7D,0x52,0x00, 0x8E,0x63,0x00, 0x9F,0x74,0x10, + 0xB0,0x85,0x21, 0xC1,0x96,0x32, 0xD2,0xA7,0x43, 0xE3,0xB8,0x54, + 0xF4,0xC9,0x65, 0xFF,0xDA,0x78, 0xFF,0xEB,0x8E, 0xFF,0xFC,0xA4, ******************************************************************* ******************************************************************* @@ -1328,200 +1328,200 @@ LIGHT-ORANGE GREY - 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, - 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, - 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, - 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, + 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, + 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, + 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, + 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, GOLD - 0x1A,0x07,0x00, 0x2B,0x18,0x00, 0x3C,0x29,0x00, 0x4D,0x3A,0x00, - 0x5E,0x4B,0x00, 0x6F,0x5C,0x00, 0x80,0x6D,0x00, 0x91,0x7E,0x09, - 0xA2,0x8F,0x1A, 0xB3,0xA0,0x2B, 0xC4,0xB1,0x3C, 0xD5,0xC2,0x4D, - 0xE6,0xD3,0x5E, 0xF7,0xE4,0x6F, 0xFF,0xF5,0x83, 0xFF,0xF7,0x97, + 0x1A,0x07,0x00, 0x2B,0x18,0x00, 0x3C,0x29,0x00, 0x4D,0x3A,0x00, + 0x5E,0x4B,0x00, 0x6F,0x5C,0x00, 0x80,0x6D,0x00, 0x91,0x7E,0x09, + 0xA2,0x8F,0x1A, 0xB3,0xA0,0x2B, 0xC4,0xB1,0x3C, 0xD5,0xC2,0x4D, + 0xE6,0xD3,0x5E, 0xF7,0xE4,0x6F, 0xFF,0xF5,0x83, 0xFF,0xF7,0x97, ORANGE - 0x32,0x00,0x00, 0x43,0x05,0x00, 0x54,0x16,0x00, 0x65,0x27,0x00, - 0x76,0x38,0x00, 0x87,0X49,0x00, 0x98,0x5A,0x0C, 0xA9,0x6B,0x1D, - 0xBA,0x7C,0x2E, 0xCB,0x8D,0x3F, 0xDC,0x9E,0x50, 0xED,0xAF,0x61, - 0xFE,0xC0,0x72, 0xFF,0xD1,0x88, 0xFF,0xE2,0x9E, 0xFF,0xF3,0xB4, + 0x32,0x00,0x00, 0x43,0x05,0x00, 0x54,0x16,0x00, 0x65,0x27,0x00, + 0x76,0x38,0x00, 0x87,0X49,0x00, 0x98,0x5A,0x0C, 0xA9,0x6B,0x1D, + 0xBA,0x7C,0x2E, 0xCB,0x8D,0x3F, 0xDC,0x9E,0x50, 0xED,0xAF,0x61, + 0xFE,0xC0,0x72, 0xFF,0xD1,0x88, 0xFF,0xE2,0x9E, 0xFF,0xF3,0xB4, RED-ORANGE - 0x3F,0x00,0x00, 0x50,0x00,0x00, 0x61,0x07,0x00, 0x72,0x18,0x01, - 0x83,0x29,0x12, 0x94,0x3A,0x23, 0xA5,0x4B,0x34, 0xB6,0x5C,0x45, - 0xC7,0x6D,0x56, 0xD8,0x7E,0x67, 0xE9,0x8F,0x78, 0xFA,0xA0,0x89, - 0xFF,0xB1,0x9E, 0xFF,0xC2,0xB4, 0xFF,0xD3,0xCA, 0xFF,0xE4,0xE0, + 0x3F,0x00,0x00, 0x50,0x00,0x00, 0x61,0x07,0x00, 0x72,0x18,0x01, + 0x83,0x29,0x12, 0x94,0x3A,0x23, 0xA5,0x4B,0x34, 0xB6,0x5C,0x45, + 0xC7,0x6D,0x56, 0xD8,0x7E,0x67, 0xE9,0x8F,0x78, 0xFA,0xA0,0x89, + 0xFF,0xB1,0x9E, 0xFF,0xC2,0xB4, 0xFF,0xD3,0xCA, 0xFF,0xE4,0xE0, PINK - 0x3E,0x00,0x0C, 0x4F,0x00,0x18, 0x60,0x00,0x24, 0x71,0x0E,0x34, - 0x82,0x1F,0x45, 0x93,0x30,0x56, 0xA4,0x41,0x67, 0xB5,0x52,0x78, - 0xC6,0x63,0x89, 0xD7,0x74,0x9A, 0xE8,0x85,0xAB, 0xF9,0x96,0xB6, - 0xFF,0xA7,0xD1, 0xFF,0xB8,0xE7, 0xFF,0xC9,0xEF, 0xFF,0xDA,0xF4, + 0x3E,0x00,0x0C, 0x4F,0x00,0x18, 0x60,0x00,0x24, 0x71,0x0E,0x34, + 0x82,0x1F,0x45, 0x93,0x30,0x56, 0xA4,0x41,0x67, 0xB5,0x52,0x78, + 0xC6,0x63,0x89, 0xD7,0x74,0x9A, 0xE8,0x85,0xAB, 0xF9,0x96,0xB6, + 0xFF,0xA7,0xD1, 0xFF,0xB8,0xE7, 0xFF,0xC9,0xEF, 0xFF,0xDA,0xF4, PURPLE - 0x2F,0x00,0x3F, 0x40,0x00,0x4B, 0x51,0x00,0x57, 0x62,0x0C,0x66, - 0x73,0x1D,0x77, 0x84,0x2E,0x88, 0x95,0x3F,0x99, 0xA6,0x50,0xAA, - 0xB7,0x61,0xBB, 0xC8,0x72,0xCC, 0xD9,0x83,0xDD, 0xEA,0x94,0xE5, - 0xFB,0xA5,0xE5, 0xFF,0xB6,0xE9, 0xFF,0xC7,0xEE, 0xFF,0xD8,0xF3, + 0x2F,0x00,0x3F, 0x40,0x00,0x4B, 0x51,0x00,0x57, 0x62,0x0C,0x66, + 0x73,0x1D,0x77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,0x65,0xE5, + 0x80,0x76,0xF6, 0x91,0x87,0xFC, 0xA2,0x98,0xFC, 0xB3,0xA9,0xFC, + 0xC4,0xBA,0xFC, 0xD5,0xCB,0xFC, 0xE6,0xDC,0xFC, 0xF7,0xED,0xFC, BLUE2 - 0x00,0x00,0x5E, 0x00,0x11,0x74, 0x00,0x22,0x8A, 0x0F,0x33,0x9C, - 0x20,0x44,0xAD, 0x31,0x55,0xBE, 0x42,0x66,0xCF, 0x53,0x77,0xE0, - 0x64,0x88,0xF1, 0x75,0x99,0xFF, 0x86,0xAA,0xFF, 0x97,0xBB,0xFF, - 0xA8,0xCC,0xFF, 0xB9,0xDD,0xFF, 0xCA,0xEE,0xFF, 0xDB,0xFF,0xFF, + 0x00,0x00,0x5E, 0x00,0x11,0x74, 0x00,0x22,0x8A, 0x0F,0x33,0x9C, + 0x20,0x44,0xAD, 0x31,0x55,0xBE, 0x42,0x66,0xCF, 0x53,0x77,0xE0, + 0x64,0x88,0xF1, 0x75,0x99,0xFF, 0x86,0xAA,0xFF, 0x97,0xBB,0xFF, + 0xA8,0xCC,0xFF, 0xB9,0xDD,0xFF, 0xCA,0xEE,0xFF, 0xDB,0xFF,0xFF, LIGHT-BLUE - 0x00,0x12,0x3B, 0x00,0x23,0x51, 0x00,0x34,0x68, 0x00,0x45,0x7E, - 0x0C,0x56,0x90, 0x1D,0x67,0xA1, 0x2E,0x78,0xB2, 0x3F,0x89,0xC3, - 0x50,0x9A,0xD4, 0x61,0xAB,0xE5, 0x72,0xBC,0xF6, 0x83,0xCD,0xFF, - 0x94,0xDE,0xFF, 0xA5,0xEF,0xFF, 0xB6,0xFF,0xFF, 0xC7,0xFF,0xFF, + 0x00,0x12,0x3B, 0x00,0x23,0x51, 0x00,0x34,0x68, 0x00,0x45,0x7E, + 0x0C,0x56,0x90, 0x1D,0x67,0xA1, 0x2E,0x78,0xB2, 0x3F,0x89,0xC3, + 0x50,0x9A,0xD4, 0x61,0xAB,0xE5, 0x72,0xBC,0xF6, 0x83,0xCD,0xFF, + 0x94,0xDE,0xFF, 0xA5,0xEF,0xFF, 0xB6,0xFF,0xFF, 0xC7,0xFF,0xFF, TURQUOISE - 0x00,0x20,0x0C, 0x00,0x31,0x22, 0x00,0x42,0x38, 0x00,0x53,0x4E, - 0x04,0x64,0x63, 0x15,0x75,0x74, 0x26,0x86,0x85, 0x37,0x97,0x96, - 0x48,0xA8,0xA7, 0x59,0xB9,0xB8, 0x6A,0xCA,0xC9, 0x7B,0xDB,0xDA, - 0x8C,0xEC,0xEB, 0x9D,0xFD,0xFC, 0xAE,0xFF,0xFF, 0xBF,0xFF,0xFF, + 0x00,0x20,0x0C, 0x00,0x31,0x22, 0x00,0x42,0x38, 0x00,0x53,0x4E, + 0x04,0x64,0x63, 0x15,0x75,0x74, 0x26,0x86,0x85, 0x37,0x97,0x96, + 0x48,0xA8,0xA7, 0x59,0xB9,0xB8, 0x6A,0xCA,0xC9, 0x7B,0xDB,0xDA, + 0x8C,0xEC,0xEB, 0x9D,0xFD,0xFC, 0xAE,0xFF,0xFF, 0xBF,0xFF,0xFF, GREEN-BLUE - 0x00,0x27,0x0C, 0x00,0x38,0x11, 0x00,0x49,0x16, 0x00,0x5A,0x1C, - 0x0B,0x6B,0x2F, 0x1C,0x7C,0x40, 0x2D,0x8D,0x51, 0x3E,0x9E,0x62, - 0x4F,0xAF,0x73, 0x60,0xC0,0x84, 0x71,0xD1,0x95, 0x82,0xE2,0xA6, - 0x93,0xF3,0xB7, 0xA4,0xFF,0xC6, 0xB5,0xFF,0xD2, 0xC6,0xFF,0xDE, + 0x00,0x27,0x0C, 0x00,0x38,0x11, 0x00,0x49,0x16, 0x00,0x5A,0x1C, + 0x0B,0x6B,0x2F, 0x1C,0x7C,0x40, 0x2D,0x8D,0x51, 0x3E,0x9E,0x62, + 0x4F,0xAF,0x73, 0x60,0xC0,0x84, 0x71,0xD1,0x95, 0x82,0xE2,0xA6, + 0x93,0xF3,0xB7, 0xA4,0xFF,0xC6, 0xB5,0xFF,0xD2, 0xC6,0xFF,0xDE, GREEN - 0x00,0x25,0x0B, 0x00,0x36,0x10, 0x00,0x47,0x15, 0x0D,0x58,0x16, - 0x1E,0x69,0x16, 0x2F,0x7A,0x16, 0x40,0x8B,0x21, 0x51,0x9C,0x32, - 0x62,0xAD,0x43, 0x73,0xBE,0x54, 0x84,0xCF,0x65, 0x95,0xE0,0x76, - 0xA6,0xF1,0x87, 0xB7,0xFF,0x98, 0xC8,0xFF,0xA3, 0xD9,0xFF,0xAF, + 0x00,0x25,0x0B, 0x00,0x36,0x10, 0x00,0x47,0x15, 0x0D,0x58,0x16, + 0x1E,0x69,0x16, 0x2F,0x7A,0x16, 0x40,0x8B,0x21, 0x51,0x9C,0x32, + 0x62,0xAD,0x43, 0x73,0xBE,0x54, 0x84,0xCF,0x65, 0x95,0xE0,0x76, + 0xA6,0xF1,0x87, 0xB7,0xFF,0x98, 0xC8,0xFF,0xA3, 0xD9,0xFF,0xAF, YELLOW-GREEN - 0x00,0x1B,0x08, 0x06,0x2C,0x0B, 0x17,0x3D,0x0B, 0x28,0x4E,0x0B, - 0x39,0x5F,0x0B, 0x4A,0x70,0x0B, 0x5B,0x81,0x0B, 0x6C,0x92,0x12, - 0x7D,0xA3,0x23, 0x8E,0xB4,0x34, 0x9F,0xC5,0x45, 0xB0,0xD6,0x56, - 0xC1,0xE7,0x67, 0xD2,0xF8,0x78, 0xE3,0xFF,0x86, 0xF4,0xFF,0x92, + 0x00,0x1B,0x08, 0x06,0x2C,0x0B, 0x17,0x3D,0x0B, 0x28,0x4E,0x0B, + 0x39,0x5F,0x0B, 0x4A,0x70,0x0B, 0x5B,0x81,0x0B, 0x6C,0x92,0x12, + 0x7D,0xA3,0x23, 0x8E,0xB4,0x34, 0x9F,0xC5,0x45, 0xB0,0xD6,0x56, + 0xC1,0xE7,0x67, 0xD2,0xF8,0x78, 0xE3,0xFF,0x86, 0xF4,0xFF,0x92, ORANGE-GREEN - 0x13,0x0B,0x00, 0x24,0x1C,0x00, 0x35,0x2D,0x00, 0x46,0x3E,0x00, - 0x57,0x4F,0x00, 0x68,0x60,0x00, 0x79,0x71,0x00, 0x8A,0x82,0x08, - 0x9B,0x93,0x19, 0xAC,0xA4,0x2A, 0xBD,0xB5,0x3B, 0xCE,0xC6,0x4C, - 0xDF,0xD7,0x5D, 0xF0,0xE8,0x6E, 0xFF,0xF9,0x7F, 0xFF,0xFF,0x92, + 0x13,0x0B,0x00, 0x24,0x1C,0x00, 0x35,0x2D,0x00, 0x46,0x3E,0x00, + 0x57,0x4F,0x00, 0x68,0x60,0x00, 0x79,0x71,0x00, 0x8A,0x82,0x08, + 0x9B,0x93,0x19, 0xAC,0xA4,0x2A, 0xBD,0xB5,0x3B, 0xCE,0xC6,0x4C, + 0xDF,0xD7,0x5D, 0xF0,0xE8,0x6E, 0xFF,0xF9,0x7F, 0xFF,0xFF,0x92, LIGHT-ORANGE - 0x2D,0x00,0x00, 0x3E,0x0A,0x00, 0x4F,0x1B,0x00, 0x60,0x2C,0x00, - 0x71,0x3D,0x00, 0x82,0x4E,0x00, 0x93,0x5F,0x05, 0xA4,0x70,0x16, - 0xB5,0x81,0x27, 0xC4,0x90,0x37, 0xD7,0xA3,0x49, 0xE8,0xB4,0x5A, - 0xF9,0xC5,0x6B, 0xFF,0xD6,0x80, 0xFF,0xE7,0x96, 0xFF,0xF8,0xAC, + 0x2D,0x00,0x00, 0x3E,0x0A,0x00, 0x4F,0x1B,0x00, 0x60,0x2C,0x00, + 0x71,0x3D,0x00, 0x82,0x4E,0x00, 0x93,0x5F,0x05, 0xA4,0x70,0x16, + 0xB5,0x81,0x27, 0xC4,0x90,0x37, 0xD7,0xA3,0x49, 0xE8,0xB4,0x5A, + 0xF9,0xC5,0x6B, 0xFF,0xD6,0x80, 0xFF,0xE7,0x96, 0xFF,0xF8,0xAC, ******************************************************************* ******************************************************************* PALETTE - 27.7 PHASE SHIFT GREY - 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, - 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, - 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, - 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, + 0x00,0x00,0x00, 0x11,0x11,0x11, 0x22,0x22,0x22, 0x33,0x33,0x33, + 0x44,0x44,0x44, 0x55,0x55,0x55, 0x66,0x66,0x66, 0x77,0x77,0x77, + 0x88,0x88,0x88, 0x99,0x99,0x99, 0xAA,0xAA,0xAA, 0xBB,0xBB,0xBB, + 0xCC,0xCC,0xCC, 0xDD,0xDD,0xDD, 0xEE,0xEE,0xEE, 0xFF,0xFF,0xFF, GOLD - 0x1A,0x07,0x00, 0x2B,0x18,0x00, 0x3C,0x29,0x00, 0x4D,0x3A,0x00, - 0x5E,0x4B,0x00, 0x6F,0x5C,0x00, 0x80,0x6D,0x00, 0x91,0x7E,0x09, - 0xA2,0x8F,0x1A, 0xB3,0xA0,0x2B, 0xC4,0xB1,0x3C, 0xD5,0xC2,0x4D, - 0xE6,0xD3,0x5E, 0xF7,0xE4,0x6F, 0xFF,0xF5,0x83, 0xFF,0xFF,0x97, + 0x1A,0x07,0x00, 0x2B,0x18,0x00, 0x3C,0x29,0x00, 0x4D,0x3A,0x00, + 0x5E,0x4B,0x00, 0x6F,0x5C,0x00, 0x80,0x6D,0x00, 0x91,0x7E,0x09, + 0xA2,0x8F,0x1A, 0xB3,0xA0,0x2B, 0xC4,0xB1,0x3C, 0xD5,0xC2,0x4D, + 0xE6,0xD3,0x5E, 0xF7,0xE4,0x6F, 0xFF,0xF5,0x83, 0xFF,0xFF,0x97, ORANGE - 0x32,0x00,0x00, 0x43,0x05,0x00, 0x54,0x16,0x00, 0x65,0x27,0x00, - 0x76,0x38,0x00, 0x87,0x49,0x00, 0x98,0x5A,0x0C, 0xA9,0x6B,0x1D, - 0xBA,0x7C,0x2E, 0xCB,0x8D,0x3F, 0xDC,0x9E,0x50, 0xED,0xAF,0x61, - 0xFE,0xC0,0x72, 0xFF,0xD1,0x88, 0xFF,0xE2,0x9E, 0xFF,0xF3,0xB4, + 0x32,0x00,0x00, 0x43,0x05,0x00, 0x54,0x16,0x00, 0x65,0x27,0x00, + 0x76,0x38,0x00, 0x87,0x49,0x00, 0x98,0x5A,0x0C, 0xA9,0x6B,0x1D, + 0xBA,0x7C,0x2E, 0xCB,0x8D,0x3F, 0xDC,0x9E,0x50, 0xED,0xAF,0x61, + 0xFE,0xC0,0x72, 0xFF,0xD1,0x88, 0xFF,0xE2,0x9E, 0xFF,0xF3,0xB4, RED-ORANGE - 0x3F,0x00,0x00, 0x50,0x00,0x00, 0x61,0x06,0x00, 0x72,0x17,0x03, - 0x83,0x28,0x14, 0x94,0x39,0x25, 0xA5,0x4A,0x36, 0xB6,0x5B,0x47, - 0xC7,0x6C,0x58, 0xD8,0x7D,0x69, 0xE9,0x8E,0x7A, 0xFA,0x9F,0x8B, - 0xFF,0xB0,0x9F, 0xFF,0xC1,0xB5, 0xFF,0xD2,0xCB, 0xFF,0xE3,0xE1, + 0x3F,0x00,0x00, 0x50,0x00,0x00, 0x61,0x06,0x00, 0x72,0x17,0x03, + 0x83,0x28,0x14, 0x94,0x39,0x25, 0xA5,0x4A,0x36, 0xB6,0x5B,0x47, + 0xC7,0x6C,0x58, 0xD8,0x7D,0x69, 0xE9,0x8E,0x7A, 0xFA,0x9F,0x8B, + 0xFF,0xB0,0x9F, 0xFF,0xC1,0xB5, 0xFF,0xD2,0xCB, 0xFF,0xE3,0xE1, PINK - 0x3D,0x00,0x10, 0x4E,0x00,0x1C, 0x5F,0x00,0x27, 0x70,0x0D,0x37, - 0x81,0x1E,0x48, 0x92,0x2F,0x59, 0xA3,0x40,0x6A, 0xB4,0x51,0x7B, - 0xC5,0x62,0x8C, 0xD6,0x73,0x9D, 0xE7,0x84,0xAE, 0xF8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x2F, 0x00,0x55,0x45, + 0x04,0x66,0x5A, 0x15,0x77,0x6B, 0x26,0x88,0x7C, 0x37,0x99,0x8D, + 0x48,0xAA,0x9E, 0x59,0xBB,0xAF, 0x6A,0xCC,0xC0, 0x7B,0xDD,0xD1, + 0x8C,0xEE,0xE2, 0x9D,0xFF,0xF3, 0xAE,0xFF,0xFF, 0xBF,0xFF,0xFF, GREEN-BLUE - 0x00,0x27,0x0C, 0x00,0x38,0x11, 0x00,0x49,0x16, 0x00,0x5A,0x1B, - 0x0D,0x6B,0x25, 0x1E,0x7C,0x36, 0x2F,0x8D,0x47, 0x40,0x9E,0x58, - 0x51,0xAF,0x69, 0x62,0xC0,0x7A, 0x73,0xD1,0x8B, 0x84,0xE2,0x9C, - 0x95,0xF3,0xAD, 0xA6,0xFF,0xBD, 0xB7,0xFF,0xC9, 0xC8,0xFF,0xD4, + 0x00,0x27,0x0C, 0x00,0x38,0x11, 0x00,0x49,0x16, 0x00,0x5A,0x1B, + 0x0D,0x6B,0x25, 0x1E,0x7C,0x36, 0x2F,0x8D,0x47, 0x40,0x9E,0x58, + 0x51,0xAF,0x69, 0x62,0xC0,0x7A, 0x73,0xD1,0x8B, 0x84,0xE2,0x9C, + 0x95,0xF3,0xAD, 0xA6,0xFF,0xBD, 0xB7,0xFF,0xC9, 0xC8,0xFF,0xD4, GREEN - 0x00,0x24,0x0B, 0x00,0x35,0x10, 0x01,0x46,0x15, 0x12,0x57,0x15, - 0x23,0x68,0x15, 0x34,0x79,0x15, 0x45,0x8A,0x19, 0x56,0x9B,0x2A, - 0x67,0xAC,0x3B, 0x78,0xBD,0x4C, 0x89,0xCE,0x5D, 0x9A,0xDF,0x6E, - 0xAB,0xF0,0x7F, 0xBC,0xFF,0x8F, 0xCD,0xFF,0x9B, 0xDE,0xFF,0xA7, + 0x00,0x24,0x0B, 0x00,0x35,0x10, 0x01,0x46,0x15, 0x12,0x57,0x15, + 0x23,0x68,0x15, 0x34,0x79,0x15, 0x45,0x8A,0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4,0xA0,0x2B, 0xC5,0xB1,0x3C, 0xD6,0xC2,0x4D, + 0xE7,0xD3,0x5E, 0xF8,0xE4,0x6F, 0xFF,0xF5,0x83, 0xFF,0xFF,0x97, LIGHT-ORANGE - 0x33,0x00,0x00, 0x44,0x05,0x00, 0x55,0x16,0x00, 0x66,0x27,0x00, - 0x77,0x38,0x00, 0x88,0x49,0x00, 0x99,0x5A,0x0D, 0xAA,0x6B,0x1E, - 0xBB,0x7C,0x2F, 0xCC,0x8D,0x40, 0xDD,0x9E,0x51, 0xEE,0xAF,0x62, - 0xFF,0xC0,0x73, 0xFF,0xD1,0x89, 0xFF,0xE2,0x9F, 0xFF,0xF3,0xB5 + 0x33,0x00,0x00, 0x44,0x05,0x00, 0x55,0x16,0x00, 0x66,0x27,0x00, + 0x77,0x38,0x00, 0x88,0x49,0x00, 0x99,0x5A,0x0D, 0xAA,0x6B,0x1E, + 0xBB,0x7C,0x2F, 0xCC,0x8D,0x40, 0xDD,0x9E,0x51, 0xEE,0xAF,0x62, + 0xFF,0xC0,0x73, 0xFF,0xD1,0x89, 0xFF,0xE2,0x9F, 0xFF,0xF3,0xB5 *******************************************************************/ /************************************************************** diff --git a/src/mess/drivers/bullet.c b/src/mess/drivers/bullet.c index 34de3211aa3..8de35055c4d 100644 --- a/src/mess/drivers/bullet.c +++ b/src/mess/drivers/bullet.c @@ -53,7 +53,7 @@ Notes: - memory banking is broken - z80dart wait/ready - IMI 7710 Winchester controller - chdman createhd -o imi7710.chd -chs 350,3,10 -ss 1024 + chdman createhd -o imi7710.chd -chs 350,3,10 -ss 1024 - revision E model */ diff --git a/src/mess/drivers/c80.c b/src/mess/drivers/c80.c index 55a714a3bcf..4489c0abbfe 100644 --- a/src/mess/drivers/c80.c +++ b/src/mess/drivers/c80.c @@ -20,7 +20,7 @@ Commands: M : MEMory manipulation G : GO F10 : RESet - ESC : BRK + ESC : BRK Functions (press F1 then the indicated number): 0 : FILL diff --git a/src/mess/drivers/cbm2.c b/src/mess/drivers/cbm2.c index 76e9bf38eb0..ea45d0446b6 100644 --- a/src/mess/drivers/cbm2.c +++ b/src/mess/drivers/cbm2.c @@ -2166,7 +2166,7 @@ static MACHINE_CONFIG_START( p500_ntsc, p500_state ) MCFG_PLS100_ADD(PLA2_TAG) MCFG_TPI6525_ADD(MOS6525_1_TAG, p500_tpi1_intf) MCFG_TPI6525_ADD(MOS6525_2_TAG, p500_tpi2_intf) - + MCFG_DEVICE_ADD(MOS6551A_TAG, MOS6551, XTAL_1_8432MHz) MCFG_MOS6551_IRQ_HANDLER(DEVWRITELINE(MOS6525_1_TAG, tpi6525_device, i4_w)) MCFG_MOS6551_TXD_HANDLER(DEVWRITELINE(RS232_TAG, rs232_port_device, tx)) diff --git a/src/mess/drivers/ec184x.c b/src/mess/drivers/ec184x.c index 1d85bf83f63..db72eb23adf 100644 --- a/src/mess/drivers/ec184x.c +++ b/src/mess/drivers/ec184x.c @@ -223,7 +223,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( ec1847_io, AS_IO, 8, ec184x_state ) ADDRESS_MAP_UNMAP_HIGH -// AM_RANGE(0x0210, 0x021f) AM_RAM // internal (non-standard?) bus extender +// AM_RANGE(0x0210, 0x021f) AM_RAM // internal (non-standard?) bus extender ADDRESS_MAP_END @@ -251,12 +251,12 @@ static MACHINE_CONFIG_START( ec1840, ec184x_state ) MCFG_IBM5150_MOTHERBOARD_ADD("mb","maincpu") MCFG_DEVICE_INPUT_DEFAULTS(ec1840) - MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", pc_isa8_cards, "mda", false) // cga is? an option + MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", pc_isa8_cards, "mda", false) // cga is? an option MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", pc_isa8_cards, "fdc_xt", false) - MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", pc_isa8_cards, NULL, false) // native variant(s?) not emulated - MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", pc_isa8_cards, NULL, false) // native serial not emulated - MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", pc_isa8_cards, NULL, false) // native mouse port not emulated - MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", pc_isa8_cards, NULL, false) // game port is an option + MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", pc_isa8_cards, NULL, false) // native variant(s?) not emulated + MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", pc_isa8_cards, NULL, false) // native serial not emulated + MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", pc_isa8_cards, NULL, false) // native mouse port not emulated + MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", pc_isa8_cards, NULL, false) // game port is an option MCFG_SOFTWARE_LIST_ADD("flop_list","ec1841") @@ -271,7 +271,7 @@ static MACHINE_CONFIG_START( ec1841, ec184x_state ) MCFG_CPU_PROGRAM_MAP(ec1841_map) MCFG_CPU_IO_MAP(ec1841_io) -// MCFG_MACHINE_START_OVERRIDE(ec184x_state, ec184x) +// MCFG_MACHINE_START_OVERRIDE(ec184x_state, ec184x) MCFG_MACHINE_RESET_OVERRIDE(ec184x_state, ec184x) MCFG_EC1841_MOTHERBOARD_ADD("mb", "maincpu") @@ -279,10 +279,10 @@ static MACHINE_CONFIG_START( ec1841, ec184x_state ) MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", pc_isa8_cards, "cga_ec1841", false)// mda is an option MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", pc_isa8_cards, "fdc_xt", false) - MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", pc_isa8_cards, NULL, false) // native variants not emulated - MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", pc_isa8_cards, NULL, false) // native serial not emulated - MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", pc_isa8_cards, NULL, false) // native mouse port not emulated - MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", pc_isa8_cards, NULL, false) // game port is? an option + MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", pc_isa8_cards, NULL, false) // native variants not emulated + MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", pc_isa8_cards, NULL, false) // native serial not emulated + MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", pc_isa8_cards, NULL, false) // native mouse port not emulated + MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", pc_isa8_cards, NULL, false) // game port is? an option MCFG_SOFTWARE_LIST_ADD("flop_list","ec1841") @@ -290,7 +290,7 @@ static MACHINE_CONFIG_START( ec1841, ec184x_state ) MCFG_RAM_ADD(RAM_TAG) MCFG_RAM_DEFAULT_SIZE("512K") - MCFG_RAM_EXTRA_OPTIONS("1024K,1576K,2048K") // 640K variant not emulated + MCFG_RAM_EXTRA_OPTIONS("1024K,1576K,2048K") // 640K variant not emulated MACHINE_CONFIG_END // XXX verify everything @@ -302,10 +302,10 @@ static MACHINE_CONFIG_START( ec1847, ec184x_state ) MCFG_IBM5160_MOTHERBOARD_ADD("mb","maincpu") MCFG_DEVICE_INPUT_DEFAULTS(ec1847) - MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", pc_isa8_cards, "hercules", false) // cga, ega and vga(?) are options too + MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", pc_isa8_cards, "hercules", false) // cga, ega and vga(?) are options too MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", pc_isa8_cards, "fdc_xt", false) - MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", pc_isa8_cards, NULL, false) // native variant (wd1010 + z80) not emulated - MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", pc_isa8_cards, NULL, false) // native serial (2x8251) not emulated + MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", pc_isa8_cards, NULL, false) // native variant (wd1010 + z80) not emulated + MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", pc_isa8_cards, NULL, false) // native serial (2x8251) not emulated MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", pc_isa8_cards, NULL, false) MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", pc_isa8_cards, NULL, false) diff --git a/src/mess/drivers/esqasr.c b/src/mess/drivers/esqasr.c index 4aca942956b..d3001da909d 100644 --- a/src/mess/drivers/esqasr.c +++ b/src/mess/drivers/esqasr.c @@ -8,31 +8,31 @@ CPU: 68302 MCU Sound: ES5506 Effects: ES5510 - FDC: NEC uPD72069 - DUART: 2681 - + FDC: NEC uPD72069 + DUART: 2681 + Memory map: 0x000000-0x03ffff OS ROM 0xfb0000-0xfcffff OS RAM - - + + ASR-X hardware: - CPU: 68340 MCU + CPU: 68340 MCU Sound: ES5506 Effects: ES5511 - FDC: NEC uPD72069 - - http://www.gweep.net/~shifty/music/asrxhack/ - + FDC: NEC uPD72069 + + http://www.gweep.net/~shifty/music/asrxhack/ + Memory map: 0x00000000-0x000fffff OS ROM 0x00800000-0x008000ff ESP2 5511? 0x00f00000-0x00f007ff Unknown 0x08000000-0x08200000 RAM 0x0be00000-0x0befffff RAM (size unknown) - + These may want to be separated when they run more. - + ***************************************************************************/ #include "emu.h" @@ -99,7 +99,7 @@ static const es5506_interface es5506_config = }; static MACHINE_CONFIG_START( asr, esqasr_state ) - MCFG_CPU_ADD("maincpu", M68000, XTAL_16MHz) // actually MC68302 + MCFG_CPU_ADD("maincpu", M68000, XTAL_16MHz) // actually MC68302 MCFG_CPU_PROGRAM_MAP(asr_map) MCFG_CPU_ADD("esp", ES5510, XTAL_10MHz) @@ -115,7 +115,7 @@ static MACHINE_CONFIG_START( asr, esqasr_state ) MACHINE_CONFIG_END static MACHINE_CONFIG_START( asrx, esqasr_state ) - MCFG_CPU_ADD("maincpu", M68020, XTAL_16MHz) // unknown, possibly 68340? + MCFG_CPU_ADD("maincpu", M68020, XTAL_16MHz) // unknown, possibly 68340? MCFG_CPU_PROGRAM_MAP(asrx_map) MCFG_CPU_ADD("esp", ES5510, XTAL_10MHz) @@ -135,8 +135,8 @@ INPUT_PORTS_END ROM_START( asr10 ) ROM_REGION(0x100000, "maincpu", 0) - ROM_LOAD16_BYTE( "asr-648c-lo-1.5b.bin", 0x000001, 0x020000, CRC(8e437843) SHA1(418f042acbc5323f5b59cbbd71fdc8b2d851f7d0) ) - ROM_LOAD16_BYTE( "asr-65e0-hi-1.5b.bin", 0x000000, 0x020000, CRC(b37cd3b6) SHA1(c4371848428a628b5e5a50e99be602d7abfc7904) ) + ROM_LOAD16_BYTE( "asr-648c-lo-1.5b.bin", 0x000001, 0x020000, CRC(8e437843) SHA1(418f042acbc5323f5b59cbbd71fdc8b2d851f7d0) ) + ROM_LOAD16_BYTE( "asr-65e0-hi-1.5b.bin", 0x000000, 0x020000, CRC(b37cd3b6) SHA1(c4371848428a628b5e5a50e99be602d7abfc7904) ) ROM_REGION(0x200000, "waverom", ROMREGION_ERASE00) ROM_REGION(0x200000, "waverom2", ROMREGION_ERASE00) @@ -146,8 +146,8 @@ ROM_END ROM_START( asrx ) ROM_REGION(0x100000, "maincpu", 0) - ROM_LOAD16_BYTE( "asr267lo.bin", 0x000001, 0x080000, CRC(7408d441) SHA1(0113f84b6d224bf1423ad62c173f32a0c95ca715) ) - ROM_LOAD16_BYTE( "asr267hi.bin", 0x000000, 0x080000, CRC(7df14ea7) SHA1(895b99013c0f924edb52612eb93c3e6babb9f053) ) + ROM_LOAD16_BYTE( "asr267lo.bin", 0x000001, 0x080000, CRC(7408d441) SHA1(0113f84b6d224bf1423ad62c173f32a0c95ca715) ) + ROM_LOAD16_BYTE( "asr267hi.bin", 0x000000, 0x080000, CRC(7df14ea7) SHA1(895b99013c0f924edb52612eb93c3e6babb9f053) ) ROM_REGION(0x200000, "waverom", ROMREGION_ERASE00) ROM_REGION(0x200000, "waverom2", ROMREGION_ERASE00) diff --git a/src/mess/drivers/esqkt.c b/src/mess/drivers/esqkt.c index 300dd27509e..ee2cc923fb3 100644 --- a/src/mess/drivers/esqkt.c +++ b/src/mess/drivers/esqkt.c @@ -291,4 +291,3 @@ DRIVER_INIT_MEMBER(esqkt_state, kt) } CONS( 1996, kt76, 0, 0, kt, kt, esqkt_state, kt, "Ensoniq", "KT-76", GAME_NOT_WORKING ) - diff --git a/src/mess/drivers/ht68k.c b/src/mess/drivers/ht68k.c index e2d4dd52479..c2745240542 100644 --- a/src/mess/drivers/ht68k.c +++ b/src/mess/drivers/ht68k.c @@ -87,7 +87,7 @@ void ht68k_state::machine_reset() memcpy((UINT8*)m_p_ram.target(),user1,0x8000); m_maincpu->reset(); - + m_fdc->reset(); m_fdc->set_floppy(NULL); } diff --git a/src/mess/drivers/isbc.c b/src/mess/drivers/isbc.c index 127b1a454a4..e298acc13d2 100644 --- a/src/mess/drivers/isbc.c +++ b/src/mess/drivers/isbc.c @@ -360,9 +360,9 @@ ROM_START( isbc286 ) ROM_REGION( 0x20000, "user1", ROMREGION_ERASEFF ) ROM_LOAD16_BYTE( "u79.bin", 0x00001, 0x10000, CRC(144182ea) SHA1(4620ca205a6ac98fe2636183eaead7c4bfaf7a72)) ROM_LOAD16_BYTE( "u36.bin", 0x00000, 0x10000, CRC(22db075f) SHA1(fd29ea77f5fc0697c8f8b66aca549aad5b9db3ea)) -// ROM_REGION( 0x4000, "isbc215", ROMREGION_ERASEFF ) -// ROM_LOAD16_BYTE( "174581.001.bin", 0x0000, 0x2000, CRC(ccdbc7ab) SHA1(5c2ebdde1b0252124177221ba9cacdb6d925a24d)) -// ROM_LOAD16_BYTE( "174581.002.bin", 0x0001, 0x2000, CRC(6190fa67) SHA1(295dd4e75f699aaf93227cc4876cee8accae383a)) +// ROM_REGION( 0x4000, "isbc215", ROMREGION_ERASEFF ) +// ROM_LOAD16_BYTE( "174581.001.bin", 0x0000, 0x2000, CRC(ccdbc7ab) SHA1(5c2ebdde1b0252124177221ba9cacdb6d925a24d)) +// ROM_LOAD16_BYTE( "174581.002.bin", 0x0001, 0x2000, CRC(6190fa67) SHA1(295dd4e75f699aaf93227cc4876cee8accae383a)) ROM_END ROM_START( isbc2861 ) diff --git a/src/mess/drivers/iskr103x.c b/src/mess/drivers/iskr103x.c index 9cefd275e86..7369b47a494 100644 --- a/src/mess/drivers/iskr103x.c +++ b/src/mess/drivers/iskr103x.c @@ -83,7 +83,7 @@ static MACHINE_CONFIG_START( iskr1030m, iskr103x_state ) MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", pc_isa8_cards, NULL, false) MCFG_PC_KBDC_SLOT_ADD("mb:pc_kbdc", "kbd", pc_xt_keyboards, STR_KBD_EC_1841) -// MCFG_PC_KBDC_SLOT_ADD("mb:pc_kbdc", "kbd", pc_xt_keyboards, STR_KBD_ISKR_1030) +// MCFG_PC_KBDC_SLOT_ADD("mb:pc_kbdc", "kbd", pc_xt_keyboards, STR_KBD_ISKR_1030) MCFG_RAM_ADD(RAM_TAG) MCFG_RAM_DEFAULT_SIZE("640K") @@ -105,10 +105,10 @@ static MACHINE_CONFIG_START( iskr1031, iskr103x_state ) MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", pc_isa8_cards, NULL, false) MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", pc_isa8_cards, NULL, false) -// MCFG_SOFTWARE_LIST_ADD("flop_list", "iskr1031") +// MCFG_SOFTWARE_LIST_ADD("flop_list", "iskr1031") MCFG_PC_KBDC_SLOT_ADD("mb:pc_kbdc", "kbd", pc_xt_keyboards, STR_KBD_EC_1841) -// MCFG_PC_KBDC_SLOT_ADD("mb:pc_kbdc", "kbd", pc_xt_keyboards, STR_KBD_ISKR_1030) +// MCFG_PC_KBDC_SLOT_ADD("mb:pc_kbdc", "kbd", pc_xt_keyboards, STR_KBD_ISKR_1030) MCFG_RAM_ADD(RAM_TAG) MCFG_RAM_DEFAULT_SIZE("640K") diff --git a/src/mess/drivers/itt3030.c b/src/mess/drivers/itt3030.c index 3b93589b1fb..1f6599ab0d5 100644 --- a/src/mess/drivers/itt3030.c +++ b/src/mess/drivers/itt3030.c @@ -2,84 +2,84 @@ ITT 3030 - - ToDo: - - Check Beeper - - finish hooking up keyboard - - According to the manual, the keyboard is based on a 8278 ... it's nowhere to be found. The keyboard / video card has a 8741 instead of which a ROM dump exists - - serial port - - daisy chain - - ... - - - CPU Board, all ICs shown: - - |-----------------------------------------------------------------| - | | - | 74LS640N Z80_Combo 74LS138N | - | 74LS00N | - | 74LS240N 74LS74AN | - | 74LS00N | - |C 74LS240N Z80_CPU 74LS240N C| - |N 74LS74AN N| - |1 74LS241N 74LS240N 2| - | ROM_1 74LS20N 74LS38N | - | 74LS240N 74LS240N | - | 74LS04N 74LS02N | - | 74LS138N 74LS74AN | - | 74LS175N | - | 75154N 74LS156N 74LS00N | - | 74LS123N | - | 75150P 75150P 74LS175N X1 74LS00N 74LS132N | - |-----------------------------------------------------------------| - - Z80_Combo: Mostek MK3886 Z80 Combo Chip, Serial, Timer, 256 bytes RAM, Interrupt Controller - Z80_CPU: Zilog Z80A CPU - ROM_1: NEC D2716D marked "BOOTV1.2" - X1: Crystal 4,194 MHz - CN1: Bus Connector - CN2: Memory Board Connector - + + ToDo: + - Check Beeper + - finish hooking up keyboard + - According to the manual, the keyboard is based on a 8278 ... it's nowhere to be found. The keyboard / video card has a 8741 instead of which a ROM dump exists + - serial port + - daisy chain + - ... + + + CPU Board, all ICs shown: + + |-----------------------------------------------------------------| + | | + | 74LS640N Z80_Combo 74LS138N | + | 74LS00N | + | 74LS240N 74LS74AN | + | 74LS00N | + |C 74LS240N Z80_CPU 74LS240N C| + |N 74LS74AN N| + |1 74LS241N 74LS240N 2| + | ROM_1 74LS20N 74LS38N | + | 74LS240N 74LS240N | + | 74LS04N 74LS02N | + | 74LS138N 74LS74AN | + | 74LS175N | + | 75154N 74LS156N 74LS00N | + | 74LS123N | + | 75150P 75150P 74LS175N X1 74LS00N 74LS132N | + |-----------------------------------------------------------------| + + Z80_Combo: Mostek MK3886 Z80 Combo Chip, Serial, Timer, 256 bytes RAM, Interrupt Controller + Z80_CPU: Zilog Z80A CPU + ROM_1: NEC D2716D marked "BOOTV1.2" + X1: Crystal 4,194 MHz + CN1: Bus Connector + CN2: Memory Board Connector + ---------------------------------------------------------------------------------- - - Video / Keyboard Combination board, all ICs shown: - - |-----------------------------------------------------------------| - | | - | X1 74276N MCU_1 74LS85N | - | | - | 74LS138N 74LS240 74LS240N | - | 75LS257AN 74LS166AN | - | 74LS08N 74LS85N 74LS241N | - | 75LS257AN ROM_1 C| - | 74LS132N 74LS32N 74LS240N N| - | 75LS257AN 1| - | 74LS10N 74LS08N 74LS240N | - | 75LS257AN RAM_1 | - | 74LS163AN 74LS173AN 74LS374N | - | | - | 74LS86N 74LS240N 74LS640N | - | Video_1 | - | 74LS74AN 74LS240N 74LS640N | - |-----------------------------------------------------------------| - - X1: Crystal 6 MHz - MCU_1: NEC D8741AD marked "V1.1 3030" - ROM_1: MBM 2716 marked "GB 136-0" - RAM_1: NEC D4016D - Video_1 Video-IC SND5027E, compatible with TMS9927 + + Video / Keyboard Combination board, all ICs shown: + + |-----------------------------------------------------------------| + | | + | X1 74276N MCU_1 74LS85N | + | | + | 74LS138N 74LS240 74LS240N | + | 75LS257AN 74LS166AN | + | 74LS08N 74LS85N 74LS241N | + | 75LS257AN ROM_1 C| + | 74LS132N 74LS32N 74LS240N N| + | 75LS257AN 1| + | 74LS10N 74LS08N 74LS240N | + | 75LS257AN RAM_1 | + | 74LS163AN 74LS173AN 74LS374N | + | | + | 74LS86N 74LS240N 74LS640N | + | Video_1 | + | 74LS74AN 74LS240N 74LS640N | + |-----------------------------------------------------------------| + + X1: Crystal 6 MHz + MCU_1: NEC D8741AD marked "V1.1 3030" + ROM_1: MBM 2716 marked "GB 136-0" + RAM_1: NEC D4016D + Video_1 Video-IC SND5027E, compatible with TMS9927 ---------------------------------------------------------------------------------- - - Floppy Controller board, all ICs shown - |-----------------------------------------------------------------| - | | + Floppy Controller board, all ICs shown + + |-----------------------------------------------------------------| + | | | X1 74LS51N F 74LS74AN 74LS02N MC4044P | | D 567 | | 74LS04N C 74LS00N 74LS01N ::: MC4024P | - | | - | 74LS00N 1 74LS74AN 74LS74AN 74LS14N C| + | | + | 74LS00N 1 74LS74AN 74LS74AN 74LS14N C| | 7 N| | 74LS240N 9 74LS161N 74LS393N 74LS74AN 1| | 1 | @@ -88,103 +88,103 @@ | 74LS123N 74LS04N 74LS163N 74LS14N 74LS241N | | | | 74LS393N 74LS138 74LS175N 74LS85N 74LS645N | - | | - |-----------------------------------------------------------------| - - X1: Crystal 8 MHz - FDC: Siemens SAB1791-02P - 567: Jumper Pad (emtpy) + | | + |-----------------------------------------------------------------| + + X1: Crystal 8 MHz + FDC: Siemens SAB1791-02P + 567: Jumper Pad (emtpy) ---------------------------------------------------------------------------------- - - 256K RAM board, all ICs shown: - - |-----------------------------------------------------------------| - | | - | HM4864P HM4864P HM4864P HM4864P 74LS245N | - | | - | HM4864P HM4864P HM4864P HM4864P P 74LS14N | - | R | - | HM4864P HM4864P HM4864P HM4864P M 74LS00N | - | C| - | HM4864P HM4864P HM4864P HM4864P AM A N| - | 29 M 1| - | HM4864P HM4864P HM4864P HM4864P 66 2 | - | PC 9 | - | HM4864P HM4864P HM4864P HM4864P 6 | - | AM 4 | - | HM4864P HM4864P HM4864P HM4864P 29 8 | - | 66 P | - | HM4864P HM4864P HM4864P HM4864P PC C | - | SN7474N | - |-----------------------------------------------------------------| - - PRM: N82S129F 1K Bipolar PROM - AM2966PC: Octal Dynamic Memory Drivers with Three-State Outputs - AM29648PC - CN1: Connector to CN2 of Z80 CPU card - + + 256K RAM board, all ICs shown: + + |-----------------------------------------------------------------| + | | + | HM4864P HM4864P HM4864P HM4864P 74LS245N | + | | + | HM4864P HM4864P HM4864P HM4864P P 74LS14N | + | R | + | HM4864P HM4864P HM4864P HM4864P M 74LS00N | + | C| + | HM4864P HM4864P HM4864P HM4864P AM A N| + | 29 M 1| + | HM4864P HM4864P HM4864P HM4864P 66 2 | + | PC 9 | + | HM4864P HM4864P HM4864P HM4864P 6 | + | AM 4 | + | HM4864P HM4864P HM4864P HM4864P 29 8 | + | 66 P | + | HM4864P HM4864P HM4864P HM4864P PC C | + | SN7474N | + |-----------------------------------------------------------------| + + PRM: N82S129F 1K Bipolar PROM + AM2966PC: Octal Dynamic Memory Drivers with Three-State Outputs + AM29648PC + CN1: Connector to CN2 of Z80 CPU card + ---------------------------------------------------------------------------------- - - Parallel I/O board, all ICs shown: - - |-------------------------------------| | - | | - | 74 74 | - | LS LS Z80A PIO | - | 00 14 | - | N N | - | | - | | - | 74 74 74 74 D4 74 | - | LS LS LS LS I3 LS | - | 13 14 24 85 P2 64 | - | 2N N 1N N 1 0N | - | | + + Parallel I/O board, all ICs shown: + + |-------------------------------------| | + | | + | 74 74 | + | LS LS Z80A PIO | + | 00 14 | + | N N | + | | + | | + | 74 74 74 74 D4 74 | + | LS LS LS LS I3 LS | + | 13 14 24 85 P2 64 | + | 2N N 1N N 1 0N | + | | | CN1 | - | | - | 74LS00N | - |-------------------------------------| + | | + | 74LS00N | + |-------------------------------------| + + CN1: Bus connector + DIP: 4x DIP current setting: off-on-on-off, sets the address for the parallel port - CN1: Bus connector - DIP: 4x DIP current setting: off-on-on-off, sets the address for the parallel port - ---------------------------------------------------------------------------------- Beeper Circuit, all ICs shown: - |---------------------------| | - | | - | BEEP 74LS132N | - | R1 | + |---------------------------| | + | | + | BEEP 74LS132N | + | R1 | | 74LS14N | | | | 74LS132N 74LS193N | - | | - | 74LS74AN 74LS165N | - | CN1 | - |---------------------------| - - CN1: Connector to mainboard - R1: looks like a potentiometer - BEEP: Beeper ... touted in the manual as "Hupe" ... i.e. "horn" :) - + | | + | 74LS74AN 74LS165N | + | CN1 | + |---------------------------| + + CN1: Connector to mainboard + R1: looks like a potentiometer + BEEP: Beeper ... touted in the manual as "Hupe" ... i.e. "horn" :) + ---------------------------------------------------------------------------------- - - Other boards and extensions mentioned in the manual: - - S100 bus adapter board - - IEEE 488 bus adapter board - - 64K memory board - - 8086 CPU board - - external harddisk - - TV adapter B/W (TV, Save/Load from Audio Cassette) with PROM/RAM/BASIC-Module with 16K or 32K RAM - - TV adapter color with connection to Video / Keyboard combination card - - Monitor adapters B/W and color - - Video / Keyboard interface 2 with grayscale, 8 colors, loadable character set, blinking - - Graphics Adapter with 16 colours, hi-res 512x256 pixels - - RTC - - Arithmetics chip - + + Other boards and extensions mentioned in the manual: + - S100 bus adapter board + - IEEE 488 bus adapter board + - 64K memory board + - 8086 CPU board + - external harddisk + - TV adapter B/W (TV, Save/Load from Audio Cassette) with PROM/RAM/BASIC-Module with 16K or 32K RAM + - TV adapter color with connection to Video / Keyboard combination card + - Monitor adapters B/W and color + - Video / Keyboard interface 2 with grayscale, 8 colors, loadable character set, blinking + - Graphics Adapter with 16 colours, hi-res 512x256 pixels + - RTC + - Arithmetics chip + ***************************************************************************/ @@ -194,9 +194,9 @@ Beeper Circuit, all ICs shown: #include "machine/bankdev.h" #include "machine/ram.h" #include "formats/itt3030_dsk.h" -#include "video/tms9927.h" //Display hardware +#include "video/tms9927.h" //Display hardware #include "sound/beep.h" -#include "cpu/mcs48/mcs48.h" //Keyboard MCU ... talks to the 8278 on the keyboard circuit +#include "cpu/mcs48/mcs48.h" //Keyboard MCU ... talks to the 8278 on the keyboard circuit #define MAIN_CLOCK XTAL_4.194MHz @@ -291,12 +291,12 @@ READ8_MEMBER(itt3030_state::vsync_r) if (machine().primary_screen->vblank()) { - ret |= 0xc0; // set both bits 6 and 7 if vblank + ret |= 0xc0; // set both bits 6 and 7 if vblank } if (machine().primary_screen->hblank()) { - ret |= 0x80; // set only bit 7 if hblank + ret |= 0x80; // set only bit 7 if hblank } return ret; @@ -317,16 +317,16 @@ WRITE8_MEMBER(itt3030_state::bank_w) int bank = 0; m_bank = data>>4; - if (m_bank & 1) // bank 8 + if (m_bank & 1) // bank 8 { bank = 8; } else { - bank = m_bank >> 1; + bank = m_bank >> 1; } -// printf("bank_w: new value %02x, m_bank %x, bank %x\n", data, m_bank, bank); +// printf("bank_w: new value %02x, m_bank %x, bank %x\n", data, m_bank, bank); m_48kbank->set_bank(bank); } @@ -376,10 +376,10 @@ static ADDRESS_MAP_START( itt3030_map, AS_PROGRAM, 8, itt3030_state ) ADDRESS_MAP_END static ADDRESS_MAP_START( lower48_map, AS_PROGRAM, 8, itt3030_state ) - AM_RANGE(0x00000, 0x7ffff) AM_READWRITE(bankl_r, bankl_w) // pages 0-7 + AM_RANGE(0x00000, 0x7ffff) AM_READWRITE(bankl_r, bankl_w) // pages 0-7 AM_RANGE(0x80000, 0x807ff) AM_ROM AM_REGION("maincpu", 0) // begin "page 8" AM_RANGE(0x80800, 0x80fff) AM_ROM AM_REGION("maincpu", 0) - AM_RANGE(0x81000, 0x810ff) AM_RAM AM_MIRROR(0x100) // only 256 bytes, but ROM also clears 11xx? + AM_RANGE(0x81000, 0x810ff) AM_RAM AM_MIRROR(0x100) // only 256 bytes, but ROM also clears 11xx? AM_RANGE(0x83000, 0x83fff) AM_RAM AM_SHARE("vram") ADDRESS_MAP_END @@ -396,7 +396,7 @@ ADDRESS_MAP_END READ8_MEMBER(itt3030_state::kbd_fifo_r) { - return m_kbdmcu->upi41_master_r(space, 0); // offset 0 is data, 1 is status + return m_kbdmcu->upi41_master_r(space, 0); // offset 0 is data, 1 is status } READ8_MEMBER(itt3030_state::kbd_matrix_r) @@ -407,7 +407,7 @@ READ8_MEMBER(itt3030_state::kbd_matrix_r) WRITE8_MEMBER(itt3030_state::kbd_matrix_w) { ioport_port *ports[16] = { m_keyrow1, m_keyrow2, m_keyrow3, m_keyrow4, m_keyrow5, m_keyrow6, m_keyrow7, m_keyrow8, m_keyrow9, - m_keyrow10, m_keyrow11, m_keyrow12, m_keyrow13, m_keyrow14, m_keyrow15, m_keyrow16 }; + m_keyrow10, m_keyrow11, m_keyrow12, m_keyrow13, m_keyrow14, m_keyrow15, m_keyrow16 }; int col_masks[8] = { 1, 2, 4, 8, 0x10, 0x20, 0x40, 0x80 }; int tmp_read; @@ -424,7 +424,7 @@ WRITE8_MEMBER(itt3030_state::kbd_matrix_w) } // Schematics say: -// Port 1 goes to the keyboard matrix. +// Port 1 goes to the keyboard matrix. // bits 0-3 select matrix rows, bits 4-6 choose column to read, bit 7 clocks the process (rising edge strobes the row, falling edge reads the data) // T0 is the key matrix return // Port 2 bit 2 is shown as "IRQ" on the schematics, and the code does a lot with it as well (debug?) @@ -451,7 +451,7 @@ static INPUT_PORTS_START( itt3030 ) PORT_START("ROW3") PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("F2") PORT_CODE(KEYCODE_F2) PORT_CHAR(UCHAR_MAMEKEY(F2)) - PORT_BIT(0x0002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_3) PORT_CHAR('3') PORT_CHAR('#') // actually UK pound symbol + PORT_BIT(0x0002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_3) PORT_CHAR('3') PORT_CHAR('#') // actually UK pound symbol PORT_BIT(0x0004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_E) PORT_CHAR('e') PORT_CHAR('E') PORT_BIT(0x0008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_S) PORT_CHAR('s') PORT_CHAR('S') PORT_BIT(0x0010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_X) PORT_CHAR('x') PORT_CHAR('X') @@ -499,21 +499,21 @@ static INPUT_PORTS_START( itt3030 ) PORT_BIT(0x0010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR(';') PORT_START("ROW10") - PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME(UTF8_LEFT) PORT_CODE(KEYCODE_F9) + PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME(UTF8_LEFT) PORT_CODE(KEYCODE_F9) PORT_BIT(0x0002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_0) PORT_CHAR('0') PORT_CHAR('=') PORT_BIT(0x0004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_P) PORT_CHAR('p') PORT_CHAR('P') PORT_BIT(0x0008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_L) PORT_CHAR('l') PORT_CHAR('L') PORT_BIT(0x0010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR(':') PORT_START("ROW11") - PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME(UTF8_RIGHT) PORT_CODE(KEYCODE_F10) + PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME(UTF8_RIGHT) PORT_CODE(KEYCODE_F10) PORT_BIT(0x0002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_MINUS) PORT_CHAR('@') PORT_CHAR('?') PORT_BIT(0x0004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('<') PORT_CHAR('>') PORT_BIT(0x0008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_COLON) PORT_CHAR('[') PORT_CHAR('{') PORT_BIT(0x0010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_SLASH) PORT_CHAR('-') PORT_CHAR('`') PORT_START("ROW12") - PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Esc") PORT_CODE(KEYCODE_F11) PORT_CHAR(27) + PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Esc") PORT_CODE(KEYCODE_F11) PORT_CHAR(27) PORT_BIT(0x0002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_EQUALS) PORT_CHAR('/') PORT_CHAR('\\') PORT_BIT(0x0004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR('+') PORT_CHAR('*') PORT_BIT(0x0008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_QUOTE) PORT_CHAR(']') PORT_CHAR('}') @@ -523,11 +523,11 @@ static INPUT_PORTS_START( itt3030 ) PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("(R)") PORT_CODE(KEYCODE_F12) PORT_CHAR('=') PORT_BIT(0x0002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR('~') PORT_BIT(0x0004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_ENTER) PORT_CHAR(13) - PORT_BIT(0x0008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_DEL) PORT_CHAR('^') // PC doesn't have 3 keys to the right of L, so we sub DEL for the 3rd one + PORT_BIT(0x0008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_DEL) PORT_CHAR('^') // PC doesn't have 3 keys to the right of L, so we sub DEL for the 3rd one PORT_BIT(0x0010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ') PORT_START("ROW14") - PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("(CL)") PORT_CODE(KEYCODE_F13) PORT_CHAR(4) // produces control-D always + PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("(CL)") PORT_CODE(KEYCODE_F13) PORT_CHAR(4) // produces control-D always PORT_BIT(0x001e, IP_ACTIVE_HIGH, IPT_UNUSED) PORT_START("ROW15") @@ -563,7 +563,7 @@ void itt3030_state::machine_start() save_item(NAME(m_kbdclk)); save_item(NAME(m_kbdread)); - m_kbdclk = 0; // must be initialized here b/c mcs48_reset() causes write of 0xff to all ports + m_kbdclk = 0; // must be initialized here b/c mcs48_reset() causes write of 0xff to all ports } void itt3030_state::machine_reset() @@ -576,7 +576,7 @@ void itt3030_state::machine_reset() } FLOPPY_FORMATS_MEMBER( itt3030_state::itt3030_floppy_formats ) - FLOPPY_ITT3030_FORMAT + FLOPPY_ITT3030_FORMAT FLOPPY_FORMATS_END @@ -587,8 +587,8 @@ SLOT_INTERFACE_END static struct tms9927_interface crtc_intf = { - 16, // pixels per video memory address - NULL // "self-load data"? + 16, // pixels per video memory address + NULL // "self-load data"? }; static MACHINE_CONFIG_START( itt3030, itt3030_state ) @@ -608,7 +608,7 @@ static MACHINE_CONFIG_START( itt3030, itt3030_state ) MCFG_SCREEN_UPDATE_DRIVER(itt3030_state, screen_update) MCFG_SCREEN_SIZE(80*8, 24*16) MCFG_SCREEN_VISIBLE_AREA(0, 80*8-1, 0, 24*16-1) - + /* devices */ MCFG_DEVICE_ADD("lowerbank", ADDRESS_MAP_BANK, 0) MCFG_DEVICE_PROGRAM_MAP(lower48_map) @@ -635,7 +635,7 @@ static MACHINE_CONFIG_START( itt3030, itt3030_state ) MCFG_SPEAKER_STANDARD_MONO( "mono" ) MCFG_SOUND_ADD( "beeper", BEEP, 0 ) MCFG_SOUND_ROUTE( ALL_OUTPUTS, "mono", 1.00 ) - + MACHINE_CONFIG_END @@ -655,4 +655,3 @@ ROM_START( itt3030 ) ROM_END GAME( 1982, itt3030, 0, itt3030, itt3030, driver_device, 0, ROT0, "ITT RFA", "ITT3030", GAME_NOT_WORKING | GAME_NO_SOUND ) - diff --git a/src/mess/drivers/mc1502.c b/src/mess/drivers/mc1502.c index d9bbde61076..01d53ad44d2 100644 --- a/src/mess/drivers/mc1502.c +++ b/src/mess/drivers/mc1502.c @@ -83,8 +83,8 @@ TIMER_CALLBACK_MEMBER(mc1502_state::keyb_signal_callback) key |= ioport("Y10")->read(); key |= ioport("Y11")->read(); key |= ioport("Y12")->read(); -// DBG_LOG(1,"mc1502_k_s_c",("= %02X (%d) %s\n", key, m_kbd.pulsing, -// (key || m_kbd.pulsing) ? " will IRQ" : "")); +// DBG_LOG(1,"mc1502_k_s_c",("= %02X (%d) %s\n", key, m_kbd.pulsing, +// (key || m_kbd.pulsing) ? " will IRQ" : "")); /* If a key is pressed and we're not pulsing yet, start pulsing the IRQ1; @@ -110,10 +110,10 @@ WRITE8_MEMBER(mc1502_state::mc1502_ppi_porta_w) WRITE8_MEMBER(mc1502_state::mc1502_ppi_portb_w) { -// DBG_LOG(2,"mc1502_ppi_portb_w",("( %02X )\n", data)); +// DBG_LOG(2,"mc1502_ppi_portb_w",("( %02X )\n", data)); m_ppi_portb = data; machine().device<pit8253_device>("pit8253")->gate2_w(BIT(data, 0)); -// mc1502_speaker_set_spkrdata(BIT(data, 1)); +// mc1502_speaker_set_spkrdata(BIT(data, 1)); m_centronics->strobe_w(BIT(data, 2)); m_centronics->autofeed_w(BIT(data, 3)); m_centronics->init_prime_w(BIT(data, 4)); @@ -124,7 +124,7 @@ WRITE8_MEMBER(mc1502_state::mc1502_ppi_portb_w) // bit 3: i8251 SYNDET pin triggers NMI (default = 1 = no) WRITE8_MEMBER(mc1502_state::mc1502_ppi_portc_w) { -// DBG_LOG(2,"mc1502_ppi_portc_w",("( %02X )\n", data)); +// DBG_LOG(2,"mc1502_ppi_portc_w",("( %02X )\n", data)); m_ppi_portc = data & 15; } @@ -154,8 +154,8 @@ READ8_MEMBER(mc1502_state::mc1502_ppi_portc_r) data = ( data & ~0x20 ) | ( timer2_output ? 0x20 : 0x00 ); data = ( data & ~0x10 ) | ( (BIT(m_ppi_portb, 1) && timer2_output) ? 0x10 : 0x00 ); -// DBG_LOG(2,"mc1502_ppi_portc_r",("= %02X (tap_val %f t2out %d) at %s\n", -// data, tap_val, timer2_output, machine().describe_context())); +// DBG_LOG(2,"mc1502_ppi_portc_r",("= %02X (tap_val %f t2out %d) at %s\n", +// data, tap_val, timer2_output, machine().describe_context())); return data; } @@ -176,7 +176,7 @@ READ8_MEMBER(mc1502_state::mc1502_kppi_porta_r) if (m_kbd.mask & 0x0400) { key |= ioport("Y11")->read(); } if (m_kbd.mask & 0x0800) { key |= ioport("Y12")->read(); } key ^= 0xff; -// DBG_LOG(2,"mc1502_kppi_porta_r",("= %02X\n", key)); +// DBG_LOG(2,"mc1502_kppi_porta_r",("= %02X\n", key)); return key; } @@ -188,14 +188,14 @@ WRITE8_MEMBER(mc1502_state::mc1502_kppi_portb_w) m_kbd.mask |= 1 << 11; else m_kbd.mask &= ~(1 << 11); -// DBG_LOG(2,"mc1502_kppi_portb_w",("( %02X -> %04X )\n", data, m_kbd.mask)); +// DBG_LOG(2,"mc1502_kppi_portb_w",("( %02X -> %04X )\n", data, m_kbd.mask)); } WRITE8_MEMBER(mc1502_state::mc1502_kppi_portc_w) { m_kbd.mask &= ~(7 << 8); m_kbd.mask |= ((data ^ 7) & 7) << 8; -// DBG_LOG(2,"mc1502_kppi_portc_w",("( %02X -> %04X )\n", data, m_kbd.mask)); +// DBG_LOG(2,"mc1502_kppi_portc_w",("( %02X -> %04X )\n", data, m_kbd.mask)); } I8255_INTERFACE( mc1502_ppi8255_interface_1 ) @@ -244,7 +244,7 @@ WRITE_LINE_MEMBER(mc1502_state::mc1502_pit8253_out1_changed) WRITE_LINE_MEMBER(mc1502_state::mc1502_pit8253_out2_changed) { -// mc1502_speaker_set_input( state ); +// mc1502_speaker_set_input( state ); m_cassette->output(state ? 1 : -1); } @@ -311,9 +311,9 @@ MACHINE_RESET_MEMBER( mc1502_state, mc1502 ) static ADDRESS_MAP_START( mc1502_map, AS_PROGRAM, 8, mc1502_state ) ADDRESS_MAP_UNMAP_HIGH - AM_RANGE(0x00000, 0x97fff) AM_RAM /* 96K on mainboard + 512K on extension card */ + AM_RANGE(0x00000, 0x97fff) AM_RAM /* 96K on mainboard + 512K on extension card */ AM_RANGE(0xc0000, 0xfbfff) AM_NOP -// AM_RANGE(0xe8000, 0xeffff) AM_ROM /* BASIC */ +// AM_RANGE(0xe8000, 0xeffff) AM_ROM /* BASIC */ AM_RANGE(0xfc000, 0xfffff) AM_ROM ADDRESS_MAP_END @@ -379,7 +379,7 @@ static MACHINE_CONFIG_START( mc1502, mc1502_state ) MCFG_CASSETTE_ADD( "cassette", mc1502_cassette_interface ) MCFG_SOFTWARE_LIST_ADD("flop_list","mc1502_flop") -// MCFG_SOFTWARE_LIST_ADD("cass_list","mc1502_cass") +// MCFG_SOFTWARE_LIST_ADD("cass_list","mc1502_cass") /* internal ram */ MCFG_RAM_ADD(RAM_TAG) diff --git a/src/mess/drivers/mkit09.c b/src/mess/drivers/mkit09.c index 47aec2cb709..c5df7239acd 100644 --- a/src/mess/drivers/mkit09.c +++ b/src/mess/drivers/mkit09.c @@ -142,7 +142,7 @@ READ8_MEMBER( mkit09_state::pa_r ) sprintf(kbdrow,"X%d",m_keydata); return ioport(kbdrow)->read(); } - + return 0xff; } diff --git a/src/mess/drivers/myvision.c b/src/mess/drivers/myvision.c index 7b2f5eaf062..175b4742df5 100644 --- a/src/mess/drivers/myvision.c +++ b/src/mess/drivers/myvision.c @@ -17,8 +17,8 @@ - Add clickable artwork - Verify sound chip model - Verify exact TMS9918 model - - Verify clock crystal(s) - - Verify size of vram + - Verify clock crystal(s) + - Verify size of vram ****************************************************************************/ @@ -225,12 +225,12 @@ WRITE8_MEMBER( myvision_state::ay_port_b_w ) static const ay8910_interface myvision_ay8910_interface = { - AY8910_LEGACY_OUTPUT, - AY8910_DEFAULT_LOADS, - DEVCB_DRIVER_MEMBER(myvision_state, ay_port_a_r), - DEVCB_DRIVER_MEMBER(myvision_state, ay_port_b_r), - DEVCB_DRIVER_MEMBER(myvision_state, ay_port_a_w), - DEVCB_DRIVER_MEMBER(myvision_state, ay_port_b_w) + AY8910_LEGACY_OUTPUT, + AY8910_DEFAULT_LOADS, + DEVCB_DRIVER_MEMBER(myvision_state, ay_port_a_r), + DEVCB_DRIVER_MEMBER(myvision_state, ay_port_b_r), + DEVCB_DRIVER_MEMBER(myvision_state, ay_port_a_w), + DEVCB_DRIVER_MEMBER(myvision_state, ay_port_b_w) }; @@ -271,4 +271,3 @@ ROM_END /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ COMP( 1983, myvision, 0, 0, myvision, myvision, driver_device, 0, "Nichibutsu", "My Vision (KH-1000)", 0 ) - diff --git a/src/mess/drivers/next.c b/src/mess/drivers/next.c index c1188f2ce90..5e10d19bc08 100644 --- a/src/mess/drivers/next.c +++ b/src/mess/drivers/next.c @@ -966,7 +966,7 @@ static MACHINE_CONFIG_START( next_base, next_state ) // devices MCFG_NSCSI_BUS_ADD("scsibus") MCFG_MCCS1850_ADD("rtc", XTAL_32_768kHz, - line_cb_t(), line_cb_t(), line_cb_t()) + line_cb_t(), line_cb_t(), line_cb_t()) MCFG_SCC8530_ADD("scc", XTAL_25MHz, line_cb_t(FUNC(next_state::scc_irq), static_cast<next_state *>(owner))) MCFG_NEXTKBD_ADD("keyboard", line_cb_t(FUNC(next_state::keyboard_irq), static_cast<next_state *>(owner)), diff --git a/src/mess/drivers/pc.c b/src/mess/drivers/pc.c index cb3b2664fce..0168598fc3a 100644 --- a/src/mess/drivers/pc.c +++ b/src/mess/drivers/pc.c @@ -1075,7 +1075,7 @@ static MACHINE_CONFIG_START( t1000hx, tandy_pc_state ) MCFG_CPU_PROGRAM_MAP(tandy1000_map) \ MCFG_CPU_IO_MAP(tandy1000_io) \ MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", pc_state, pc_frame_interrupt, "pcvideo_t1000:screen", 0, 1) //with this line commented out, it boots further though keyboard doesn't work, obviously - + MCFG_MACHINE_START_OVERRIDE(tandy_pc_state,pc) MCFG_MACHINE_RESET_OVERRIDE(pc_state,pc) @@ -1144,8 +1144,8 @@ static MACHINE_CONFIG_START( t1000_16, tandy_pc_state ) MCFG_CPU_PROGRAM_MAP(tandy1000_16_map) \ MCFG_CPU_IO_MAP(tandy1000_16_io) \ MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", pc_state, pc_frame_interrupt, "pcvideo_t1000:screen", 0, 1) - - + + MCFG_MACHINE_START_OVERRIDE(tandy_pc_state,pc) MCFG_MACHINE_RESET_OVERRIDE(tandy_pc_state,tandy1000rl) @@ -1215,8 +1215,8 @@ static MACHINE_CONFIG_START( t1000_286, tandy_pc_state ) MCFG_CPU_PROGRAM_MAP(tandy1000_286_map) \ MCFG_CPU_IO_MAP(tandy1000_286_io) \ MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", pc_state, pc_frame_interrupt, "pcvideo_t1000:screen", 0, 1) - - + + MCFG_MACHINE_START_OVERRIDE(pc_state,pc) MCFG_MACHINE_RESET_OVERRIDE(pc_state,pc) @@ -1302,7 +1302,7 @@ static MACHINE_CONFIG_START( ibmpcjr, tandy_pc_state ) MCFG_CPU_PROGRAM_MAP(ibmpcjr_map) \ MCFG_CPU_IO_MAP(ibmpcjr_io) \ MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", pc_state, pcjr_frame_interrupt, "pcvideo_pcjr:screen", 0, 1) //with this line commented out, it boots further though keyboard doesn't work, obviously - + MCFG_MACHINE_START_OVERRIDE(pc_state,pcjr) MCFG_MACHINE_RESET_OVERRIDE(pc_state,pcjr) diff --git a/src/mess/drivers/poisk1.c b/src/mess/drivers/poisk1.c index 3fa13a93968..1614f8e6373 100644 --- a/src/mess/drivers/poisk1.c +++ b/src/mess/drivers/poisk1.c @@ -99,7 +99,7 @@ READ8_MEMBER(p1_state::p1_ppi_portb_r) if (m_kbpoll_mask & 0x40) { key &= ioport("Y7")->read(); } if (m_kbpoll_mask & 0x80) { key &= ioport("Y8")->read(); } ret = key & 0xff; -// DBG_LOG(1,"p1_ppi_portb_r",("= %02X\n", ret)); +// DBG_LOG(1,"p1_ppi_portb_r",("= %02X\n", ret)); return ret; } @@ -143,27 +143,27 @@ WRITE8_MEMBER(p1_state::p1_ppi2_portb_w) I8255_INTERFACE( p1_ppi8255_interface_1 ) { -/*60H*/ DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi_porta_r), +/*60H*/ DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi_porta_r), DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi_porta_w), -/*69H*/ DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi_portb_r), +/*69H*/ DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi_portb_r), DEVCB_NULL, -/*6AH*/ DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi_portc_r), +/*6AH*/ DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi_portc_r), DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi_portc_w) }; I8255_INTERFACE( p1_ppi8255_interface_2 ) { -/*68H*/ DEVCB_NULL, +/*68H*/ DEVCB_NULL, DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi2_porta_w), -/*61H*/ DEVCB_NULL, +/*61H*/ DEVCB_NULL, DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi2_portb_w), -/*62H*/ DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi2_portc_r), +/*62H*/ DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, p1_state, p1_ppi2_portc_r), DEVCB_NULL }; READ8_MEMBER(p1_state::p1_ppi_r) { -// DBG_LOG(1,"p1ppi",("R %.2x\n", 0x60+offset)); +// DBG_LOG(1,"p1ppi",("R %.2x\n", 0x60+offset)); switch (offset) { case 0: return m_ppi8255n1->read(space, 0); @@ -185,7 +185,7 @@ READ8_MEMBER(p1_state::p1_ppi_r) WRITE8_MEMBER(p1_state::p1_ppi_w) { -// DBG_LOG(1,"p1ppi",("W %.2x $%02x\n", 0x60+offset, data)); +// DBG_LOG(1,"p1ppi",("W %.2x $%02x\n", 0x60+offset, data)); switch (offset) { case 0: return m_ppi8255n1->write(space, 0, data); diff --git a/src/mess/drivers/prof80.c b/src/mess/drivers/prof80.c index d4e71be1d7b..ae2f78f4e6c 100644 --- a/src/mess/drivers/prof80.c +++ b/src/mess/drivers/prof80.c @@ -15,7 +15,7 @@ TODO: - - floppy Err on A: Select + - floppy Err on A: Select - NE555 timeout is 10x too high - grip31 does not work - UNIO card (Z80-STI, Z80-SIO, 2x centronics) diff --git a/src/mess/drivers/rainbow.c b/src/mess/drivers/rainbow.c index 57ef93b8a3b..c93ad4eff9e 100644 --- a/src/mess/drivers/rainbow.c +++ b/src/mess/drivers/rainbow.c @@ -2,57 +2,57 @@ DEC Rainbow 100 Driver-in-progress by R. Belmont and Miodrag Milanovic. - Portions (2013) by Karl-Ludwig Deisenhofer (VT video, floppy, preliminary keyboard, DIP switches). + Portions (2013) by Karl-Ludwig Deisenhofer (VT video, floppy, preliminary keyboard, DIP switches). STATE AS OF DECEMBER 2013 -------------------------- - - FLOPPY TIMING: 'wd17xx_complete_command' * must * be hard wired to about 13 usecs. - Line 1063 in 'wd17xx.c' has to be changed (until legacy code here is removed): - - w->timer_cmd->adjust(attotime::from_usec(usecs)); - + w->timer_cmd->adjust(attotime::from_usec(13)); + - FLOPPY TIMING: 'wd17xx_complete_command' * must * be hard wired to about 13 usecs. + Line 1063 in 'wd17xx.c' has to be changed (until legacy code here is removed): + - w->timer_cmd->adjust(attotime::from_usec(usecs)); + + w->timer_cmd->adjust(attotime::from_usec(13)); - WORKAROUND AVAILABLE: keyboard emulation incomplete (inhibits the system from booting with ERROR 50 on cold or ERROR 13 on warm boot). - - NOT WORKING: serial (ERROR 60). + - NOT WORKING: serial (ERROR 60). - NOT WORKING: printer interface (ERROR 40). Like error 60 not mission-critical. - NON-CRITICAL: watchdog logic (triggered after 108 ms without interrupts on original machine) still does not work as intended. - Timer is reset by TWO sources: the VERT INT L from the DC012, or the MHFU ENB L from the enable flip-flop. - The MHFU gets active if the 8088 has not acknowledged a video processor interrupt within approx. 108 milliseconds. - - BIOS assumes a power-up reset if MHFU detection is disabled - and assumes a MHFU reset if MHFU detection is ENABLED. - - As there is no reset switch, only a limited software reset exists on a real DEC-100 (CTRL-SETUP within SETUP). + Timer is reset by TWO sources: the VERT INT L from the DC012, or the MHFU ENB L from the enable flip-flop. + The MHFU gets active if the 8088 has not acknowledged a video processor interrupt within approx. 108 milliseconds. + + BIOS assumes a power-up reset if MHFU detection is disabled - and assumes a MHFU reset if MHFU detection is ENABLED. + + As there is no reset switch, only a limited software reset exists on a real DEC-100 (CTRL-SETUP within SETUP). - TO BE IMPLEMENTED AS SLOT DEVICES (for now, DIP settings affect 'system_parameter_r' only and are disabled): * Color graphics option (uses NEC upd7220 GDC) * Extended communication option (same as BUNDLE_OPTION ?) - OTHER UPGRADES (NEC_V20 should be easy, the TURBOW is harder to come by) - * Suitable Solutions TURBOW286: 12 Mhz, 68-pin, low power AMD N80L286-12 and WAYLAND/EDSUN EL286-88-10-B ( 80286 to 8088 Processor Signal Converter ) - plus DC 7174 or DT 7174 (barely readable). Add-on card, replaces main 8088 cpu (via ribbon cable). Altered BOOT ROM labeled 'TBSS1.3 - 3ED4'. - - * NEC_V20 (requires modded BOOT ROM because of - at least 2 - hard coded timing loops): - 100A: 100B/100+: 100B+ ALTERNATE RECOMMENDATION (fixes RAM size auto-detection problems when V20 is in place. - Tested on a 30+ year old live machine. Your mileage may vary) - - Location Data Location Data Loc.|Data - .... .. .... .. ------------------ 00C6 46 [ increases 'wait for Z80' from approx. 27,5 ms (old value 40) to 30,5 ms ] - .... .. .... .. ------------------ 0303 00 [ disable CHECKSUM ] - 043F 64 072F 64 <-----------------> 072F 73 [ increases minimum cycle time from 2600 (64) to 3000 ms (73) ] - 067D 20 0B36 20 <-----------------> 0B36 20 [ USE A VALUE OF 20 FOR THE NEC - as in the initial patch! CHANGES CAUSE VFR-ERROR 10 ] - 1FFE 2B 3FFE 1B (BIOS CHECKSUM) - 1FFF 70 3FFF 88 (BIOS CHECKSUM) - - => the 'leaked' DOS 3.10 Beta -for Rainbow- 'should not be used' on rigs with NEC V20. It possibly wasn't tested, but boots and runs well. - => on the NEC, auto detection (of option RAM) fails with the original V20 patch (above, left) - Expect RAM related system crashes after swapping CPUs and altering physical RAM _afterwards_. - Hard coded CPU loops are to blame. Try values from the alternate patch (right). - => AAD/AAM - Intel 8088 honors the second byte (operand), NEC V20 ignores it and always uses base 0Ah (10). - => UNDOCUMENTED: NEC V20 does not have "POP CS" (opcode 0F). There are more differences (opcode D6; the 2 byte POP: 8F Cx; FF Fx instructions) - Commercial programs had to be patched back then (as was the case with Loderunner for PC). - => NEW OPCODES: REPC, REPNC, CHKIND, PREPARE, DISPOSE; BCD string operations (ADD4S, CMP4S, SUB4S), bit-ops (NOT, SET, TEST, ROL4, ROR4) - WARNING: undoc'd opcodes, INS, EXT and 8080 behaviour are unemulated yet! MESS' CPU source has up-to-date info. + * Suitable Solutions TURBOW286: 12 Mhz, 68-pin, low power AMD N80L286-12 and WAYLAND/EDSUN EL286-88-10-B ( 80286 to 8088 Processor Signal Converter ) + plus DC 7174 or DT 7174 (barely readable). Add-on card, replaces main 8088 cpu (via ribbon cable). Altered BOOT ROM labeled 'TBSS1.3 - 3ED4'. + + * NEC_V20 (requires modded BOOT ROM because of - at least 2 - hard coded timing loops): + 100A: 100B/100+: 100B+ ALTERNATE RECOMMENDATION (fixes RAM size auto-detection problems when V20 is in place. + Tested on a 30+ year old live machine. Your mileage may vary) + + Location Data Location Data Loc.|Data + .... .. .... .. ------------------ 00C6 46 [ increases 'wait for Z80' from approx. 27,5 ms (old value 40) to 30,5 ms ] + .... .. .... .. ------------------ 0303 00 [ disable CHECKSUM ] + 043F 64 072F 64 <-----------------> 072F 73 [ increases minimum cycle time from 2600 (64) to 3000 ms (73) ] + 067D 20 0B36 20 <-----------------> 0B36 20 [ USE A VALUE OF 20 FOR THE NEC - as in the initial patch! CHANGES CAUSE VFR-ERROR 10 ] + 1FFE 2B 3FFE 1B (BIOS CHECKSUM) + 1FFF 70 3FFF 88 (BIOS CHECKSUM) + + => the 'leaked' DOS 3.10 Beta -for Rainbow- 'should not be used' on rigs with NEC V20. It possibly wasn't tested, but boots and runs well. + => on the NEC, auto detection (of option RAM) fails with the original V20 patch (above, left) + Expect RAM related system crashes after swapping CPUs and altering physical RAM _afterwards_. + Hard coded CPU loops are to blame. Try values from the alternate patch (right). + => AAD/AAM - Intel 8088 honors the second byte (operand), NEC V20 ignores it and always uses base 0Ah (10). + => UNDOCUMENTED: NEC V20 does not have "POP CS" (opcode 0F). There are more differences (opcode D6; the 2 byte POP: 8F Cx; FF Fx instructions) + Commercial programs had to be patched back then (as was the case with Loderunner for PC). + => NEW OPCODES: REPC, REPNC, CHKIND, PREPARE, DISPOSE; BCD string operations (ADD4S, CMP4S, SUB4S), bit-ops (NOT, SET, TEST, ROL4, ROR4) + WARNING: undoc'd opcodes, INS, EXT and 8080 behaviour are unemulated yet! MESS' CPU source has up-to-date info. Meaning of Diagnostics LEDs (from PC100ESV1.PDF found, e.g., on ftp://ftp.update.uu.se/pub/rainbow/doc/rainbow-docs/ @@ -138,7 +138,7 @@ PCB # 5416206 / 5016205-01C1: | ROM (4K) ...J7... | ...J9 = RX50 | |------------PCB# 5416206 / 5016205-01C1-------------| NOTES -W5 + W6 are out when 16K x 8 EPROMS are used +W5 + W6 are out when 16K x 8 EPROMS are used / W5 + W6 installed => 32 K x 8 EPROMs (pin 27 = A14) W13, W14, W15, W18 = for manufacturing tests. @@ -146,12 +146,12 @@ W13, W14, W15, W18 = for manufacturing tests. => W18 pulls DSR to ground and affects 8251A - port $11 (bit 7) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! DO NOT SHORT JUMPER / CONNECTOR [W90] ON LIVE HARDWARE !! -!! !! +!! DO NOT SHORT JUMPER / CONNECTOR [W90] ON LIVE HARDWARE !! +!! !! !! WARNING: CIRCUIT DAMAGE could occur if this jumper is !! -!! set by end users. See PDF document AA-V523A-TV. !! -!! !! -!! W90 connects to pin 2 (Voltage Bias on PWR connector J8)!! +!! set by end users. See PDF document AA-V523A-TV. !! +!! !! +!! W90 connects to pin 2 (Voltage Bias on PWR connector J8)!! !! and is designed FOR ===> FACTORY TESTS OF THE PSU <=== !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! @@ -161,8 +161,8 @@ W17 pulls J1 serial port pin 1 to GND when set (chassis to logical GND). ****************************************************************************/ // Workarounds DO NOT APPLY to the 190-B ROM. Only enable when compiling the 'rainbow' driver - -//#define FORCE_RAINBOW_100_LOGO -#define KBD_DELAY 875 // (debounce delay). Recommended: 875. +//#define FORCE_RAINBOW_100_LOGO +#define KBD_DELAY 875 // (debounce delay). Recommended: 875. #include "emu.h" #include "cpu/i86/i86.h" @@ -310,7 +310,7 @@ public: void rainbow_state::machine_start() -{ +{ m_image[0] = subdevice(FLOPPY_0); m_image[1] = subdevice(FLOPPY_1); m_image[2] = subdevice(FLOPPY_2); @@ -329,13 +329,13 @@ void rainbow_state::machine_start() UINT8 *rom = memregion("maincpu")->base(); - + #ifdef FORCE_RAINBOW_100_LOGO - rom[0xf4174]=0xeb; // jmps RAINBOW100_LOGO__loc_33D - rom[0xf4175]=0x08; + rom[0xf4174]=0xeb; // jmps RAINBOW100_LOGO__loc_33D + rom[0xf4175]=0x08; - rom[0xf4000 + 0x364a]= 0x0a; - rom[0xf4384]=0xeb; // JMPS => BOOT80 + rom[0xf4000 + 0x364a]= 0x0a; + rom[0xf4384]=0xeb; // JMPS => BOOT80 #endif // Enables PORT90_W + PORT91_W via BIOS call (offset +$21 in HIGH ROM) @@ -382,12 +382,12 @@ static ADDRESS_MAP_START( rainbow8088_map, AS_PROGRAM, 8, rainbow_state) // - ED000 - ED0FF is the area the _DEC-100-B BIOS_ accesses - and checks. // - Specs say that the CPU has direct access to volatile RAM only. - // So NVRAM is hidden now and loads & saves are triggered within the + // So NVRAM is hidden now and loads & saves are triggered within the // 'diagnostic_w' handler (similar to real hardware). - // - Address bits 8-12 are ignored (-> AM_MIRROR). - AM_RANGE(0xed000, 0xed0ff) AM_RAM AM_SHARE("vol_ram") AM_MIRROR(0x1f00) - AM_RANGE(0xed100, 0xed1ff) AM_RAM AM_SHARE("nvram") + // - Address bits 8-12 are ignored (-> AM_MIRROR). + AM_RANGE(0xed000, 0xed0ff) AM_RAM AM_SHARE("vol_ram") AM_MIRROR(0x1f00) + AM_RANGE(0xed100, 0xed1ff) AM_RAM AM_SHARE("nvram") AM_RANGE(0xee000, 0xeffff) AM_RAM AM_SHARE("p_ram") AM_RANGE(0xf0000, 0xfffff) AM_ROM @@ -410,8 +410,8 @@ static ADDRESS_MAP_START( rainbow8088_io , AS_IO, 8, rainbow_state) 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) + // 0x0C Video processor DC012 + AM_RANGE (0x0c, 0x0c) AM_DEVWRITE("vt100_video", rainbow_video_device, dc012_w) // TODO: unmapped [0e] : PRINTER BIT RATE REGISTER (WO) @@ -420,7 +420,7 @@ static ADDRESS_MAP_START( rainbow8088_io , AS_IO, 8, rainbow_state) // UNMAPPED: // 0x20 - 0x2f ***** EXTENDED COMM. OPTION (option select 1)- for example: - // 0x27 (RESET EXTENDED COMM OPTION) - OUT 27 @ offset 1EA7 + // 0x27 (RESET EXTENDED COMM OPTION) - OUT 27 @ offset 1EA7 // 0x40 COMMUNICATIONS DATA REGISTER (MPSC) // 0x41 PRINTER DATA REGISTER (MPSC) @@ -428,20 +428,20 @@ static ADDRESS_MAP_START( rainbow8088_io , AS_IO, 8, rainbow_state) // 0x43 PRINTER CONTROL / STATUS REGISTER (MPSC) // 0x50 - 0xf ***** OPTIONAL COLOR GRAPHICS - for example: - // 0x50 (RESET_GRAPH. OPTION) - OUT 50 @ offsets F5EB5 + F5EB9 + // 0x50 (RESET_GRAPH. OPTION) - OUT 50 @ offsets F5EB5 + F5EB9 // =========================================================== - // TODO: hard disc emulation! - // ------ Rainbow uses 'WD 1010 AL' (Western Digital 1983) - // Register compatible to WD2010 (present in MESS) - // R/W REGISTERS 60 - 68 (?) + // TODO: hard disc emulation! + // ------ Rainbow uses 'WD 1010 AL' (Western Digital 1983) + // Register compatible to WD2010 (present in MESS) + // R/W REGISTERS 60 - 68 (?) // =========================================================== // HARD DISC SIZES AND LIMITS - // HARDWARE: - // Controller has a built-in limit of 8 heads / 1024 cylinders (67 MB). Standard geometry is 4 surfaces. - // SOFTWARE: the DEC boot loader (and FDISK from DOS 3.10) initially allowed a maximum hard disc size of 20 MB. - // - DOS 3 has a 1024 cylinder limit (32 MB). - // - the custom boot loader that comes with 'WUTIL 3.2' allows 117 MB and 8 surfaces. + // HARDWARE: + // Controller has a built-in limit of 8 heads / 1024 cylinders (67 MB). Standard geometry is 4 surfaces. + // SOFTWARE: the DEC boot loader (and FDISK from DOS 3.10) initially allowed a maximum hard disc size of 20 MB. + // - DOS 3 has a 1024 cylinder limit (32 MB). + // - the custom boot loader that comes with 'WUTIL 3.2' allows 117 MB and 8 surfaces. AM_RANGE (0x68, 0x68) AM_READ(hd_status_68_r) AM_RANGE (0x90, 0x90) AM_WRITE(PORT90_W) @@ -472,7 +472,7 @@ ADDRESS_MAP_END static INPUT_PORTS_START( rainbow100b_in ) /* DIP switches */ PORT_START("MONITOR TYPE") - PORT_DIPNAME( 0x03, 0x03, "MONOCHROME MONITOR") + PORT_DIPNAME( 0x03, 0x03, "MONOCHROME MONITOR") PORT_DIPSETTING( 0x01, "PAPER WHITE" ) PORT_DIPSETTING( 0x02, "GREEN" ) PORT_DIPSETTING( 0x03, "AMBER" ) @@ -516,25 +516,25 @@ static INPUT_PORTS_START( rainbow100b_in ) PORT_DIPNAME( 0x08, 0x08, "W15 (FACTORY TEST C, LEAVE OFF)") PORT_TOGGLE PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - // DSR = 1 when switch is OFF - see i8251.c (status_r) + // DSR = 1 when switch is OFF - see i8251.c (status_r) PORT_START("W18") - PORT_DIPNAME( 0x01, 0x00, "W18 (FACTORY TEST D, LEAVE OFF) (8251A: DSR)") PORT_TOGGLE + PORT_DIPNAME( 0x01, 0x00, "W18 (FACTORY TEST D, LEAVE OFF) (8251A: DSR)") PORT_TOGGLE PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x01, DEF_STR( On ) ) PORT_WRITE_LINE_DEVICE_MEMBER("kbdser", i8251_device, write_dsr) - // J17 jumper on FDC controller board shifts drive select (experimental) - - PORT_START("FLOPPY CONTROLLER") + // J17 jumper on FDC controller board shifts drive select (experimental) - + PORT_START("FLOPPY CONTROLLER") PORT_DIPNAME( 0x02, 0x00, "J17 DRIVE SELECT (A => C and B => D)") PORT_TOGGLE PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x02, DEF_STR( On ) ) INPUT_PORTS_END -// 800K native format (80 * 10). Also reads VT-180 disks and PC-DOS 360 k disks +// 800K native format (80 * 10). Also reads VT-180 disks and PC-DOS 360 k disks // ( both: 512 byte sectors, single sided, 9 sectors per track, 40 tracks ) static LEGACY_FLOPPY_OPTIONS_START( dec100_floppy ) - LEGACY_FLOPPY_OPTION( dec100_floppy, "td0", "Teledisk floppy disk image", td0_dsk_identify, td0_dsk_construct, td0_dsk_destruct, NULL ) - LEGACY_FLOPPY_OPTION( dec100_floppy, "img", "DEC Rainbow 100", basicdsk_identify_default, basicdsk_construct_default, NULL, + LEGACY_FLOPPY_OPTION( dec100_floppy, "td0", "Teledisk floppy disk image", td0_dsk_identify, td0_dsk_construct, td0_dsk_destruct, NULL ) + LEGACY_FLOPPY_OPTION( dec100_floppy, "img", "DEC Rainbow 100", basicdsk_identify_default, basicdsk_construct_default, NULL, HEADS([1]) TRACKS(40/[80]) SECTORS(9/[10]) @@ -543,7 +543,7 @@ static LEGACY_FLOPPY_OPTIONS_START( dec100_floppy ) FIRST_SECTOR_ID([1]) ) LEGACY_FLOPPY_OPTIONS_END - + void rainbow_state::machine_reset() { if (COLD_BOOT == 1) @@ -595,9 +595,9 @@ UINT32 rainbow_state::screen_update_rainbow(screen_device &screen, bitmap_ind16 m_crtc->palette_select( m_inp9->read() ); if ( m_SCREEN_BLANK ) - m_crtc->video_blanking(bitmap, cliprect); - else - m_crtc->video_update(bitmap, cliprect); + m_crtc->video_blanking(bitmap, cliprect); + else + m_crtc->video_update(bitmap, cliprect); return 0; } @@ -606,12 +606,12 @@ UINT32 rainbow_state::screen_update_rainbow(screen_device &screen, bitmap_ind16 // Unexpected low RAM sizes are an indication of option RAM (at worst: 128 K on board) failure. // While motherboard errors often render the system unbootable, bad option RAM (> 128 K) -// can be narrowed down with the Diagnostic Disk and codes from the 'Pocket Service Guide' +// can be narrowed down with the Diagnostic Disk and codes from the 'Pocket Service Guide' // EK-PC100-PS-002 (APPENDIX B.2.2); pc100ps2.pdf // ================================================================ // - Simulate floating bus for initial RAM detection - // FIXME: code valid ONLY within ROM section F4Exxx. -// +// // NOTE: MS-DOS 2.x unfortunately probes RAM in a similar way. // => SET OPTION RAM to 896 K for unknown applications (and DOS) <= // ================================================================ @@ -619,12 +619,12 @@ READ8_MEMBER(rainbow_state::floating_bus_r) { int pc = space.device().safe_pc(); - if ( ((pc & 0xFFF00) == 0xF4E00) && - ( m_maincpu->state_int(I8086_DS) >= m_inp8->read() ) - ) + if ( ((pc & 0xFFF00) == 0xF4E00) && + ( m_maincpu->state_int(I8086_DS) >= m_inp8->read() ) + ) { return (offset>>16) + 2; - } + } else return space.read_byte(offset); } @@ -694,11 +694,11 @@ WRITE8_MEMBER(rainbow_state::share_z80_w) // Until a full-blown hard-disc emulation evolves, deliver an error message: READ8_MEMBER(rainbow_state::hd_status_68_r) { - // Top 3 bits = status / error code + // Top 3 bits = status / error code // SEE -> W_INCHESTER__loc_80E // return 0xa0; // A0 : OK, DRIVE IS READY (!) - + return 0xe0; // => 21 DRIVE NOT READY (BIOS; when W is pressed on boot screen) } @@ -712,22 +712,22 @@ READ8_MEMBER(rainbow_state::system_parameter_r) ( 1 means NOT present ) */ // Hard coded value 0x2000 - see DIP switch setup! - return 0x0f - m_inp5->read() - - 0 // floppy is hard coded in emulator. - - m_inp7->read() + return 0x0f - m_inp5->read() + - 0 // floppy is hard coded in emulator. + - m_inp7->read() - ((m_inp8->read() > 0x2000) ? 8 : 0); } READ8_MEMBER(rainbow_state::comm_control_r) -{ -/* [02] COMMUNICATIONS STATUS REGISTER - PAGE 154 (**** READ **** ) - Used to read status of SERIAL port, IRQ line of each CPU, and MHFU logic enable signal. +{ +/* [02] COMMUNICATIONS STATUS REGISTER - PAGE 154 (**** READ **** ) + Used to read status of SERIAL port, IRQ line of each CPU, and MHFU logic enable signal. // What the specs says on how MHFU detection is disabled: -// 1. by first disabling interrupts with CLI -// 2. by writing 0x00 to port 0x10C (handled by 'dc012_w' in vtvideo) -// (3.) MHFU is re-enabled by writing to 0x0c (or automatically after STI - when under BIOS control ?) -*/ +// 1. by first disabling interrupts with CLI +// 2. by writing 0x00 to port 0x10C (handled by 'dc012_w' in vtvideo) +// (3.) MHFU is re-enabled by writing to 0x0c (or automatically after STI - when under BIOS control ?) +*/ // During boot phase 2, do not consider MHFU ENABLE. Prevents ERROR 16. int data; if (COLD_BOOT == 2) @@ -736,9 +736,9 @@ READ8_MEMBER(rainbow_state::comm_control_r) data = m_crtc->MHFU(1); return ( ( (data > 0) ? 0x00 : 0x20) |// (L): status of MHFU flag => bit pos.5 - ( (INT88) ? 0x00 : 0x40 ) | // (L) - ( (INTZ80) ? 0x00 : 0x80 ) // (L) - ); + ( (INT88) ? 0x00 : 0x40 ) | // (L) + ( (INTZ80) ? 0x00 : 0x80 ) // (L) + ); } WRITE8_MEMBER(rainbow_state::comm_control_w) @@ -765,9 +765,8 @@ WRITE8_MEMBER(rainbow_state::PORT90_W) m_KBD = 0; // reset previous command. - if(MOTOR_DISABLE_counter == 0) - { - + if(MOTOR_DISABLE_counter == 0) + { if (data == LK_CMD_POWER_UP) { // Powerup (beep) //m_beep->set_state(1); //m_beep_counter=600; // BELL = 125 ms @@ -800,7 +799,7 @@ WRITE8_MEMBER(rainbow_state::PORT90_W) m_KBD = data; } - } // prevent beeps during disk load operations + } // prevent beeps during disk load operations } WRITE8_MEMBER(rainbow_state::PORT91_W) @@ -823,20 +822,20 @@ WRITE8_MEMBER(rainbow_state::PORT91_W) // NVRAM offet $A8 : BELL VOLUME (=> ENABLE BELL 0x23) if ( (m_KBD == LK_CMD_BELL) || (m_KBD == LK_CMD_ENB_BELL) ) /* BOTH sound or enable bell have a parameter */ - { /* max volume is 0, lowest is 0x7 */ -// printf("\n%02x BELL CMD has bell volume = %02x\n", m_KBD, 8 - (data & 7)); + { /* max volume is 0, lowest is 0x7 */ +// printf("\n%02x BELL CMD has bell volume = %02x\n", m_KBD, 8 - (data & 7)); m_KBD = 0; // reset previous command. } // NVRAM offet $A9 = KEYCLICK VOLUME (=> ENABLE CLK 0x1b) // NVRAM offset $8C = KEYCLICK ENABLE / DISABLE (0/1) - if ( ( m_KBD == LK_CMD_ENB_KEYCLK ) || ( m_KBD == LK_CMD_SOUND_CLK ) ) /* BOTH keyclick cmds have a parameter */ - { // max volume is 0, lowest is 0x7 - 87 (BELL VOL:1) and 80 (BELL VOL:8) -// printf("\n%02x CLICK CMD - keyclick volume = %02x\n", m_KBD, 8 - (data & 7)); + if ( ( m_KBD == LK_CMD_ENB_KEYCLK ) || ( m_KBD == LK_CMD_SOUND_CLK ) ) /* BOTH keyclick cmds have a parameter */ + { // max volume is 0, lowest is 0x7 - 87 (BELL VOL:1) and 80 (BELL VOL:8) +// printf("\n%02x CLICK CMD - keyclick volume = %02x\n", m_KBD, 8 - (data & 7)); m_KBD = 0; // reset previous command. } -if (m_KBD > 0) +if (m_KBD > 0) printf("UNHANDLED PARAM FOR MODE: %02x / KBD PARAM %02x to AH (91) \n", m_KBD, data); } @@ -846,7 +845,7 @@ READ8_MEMBER(rainbow_state::i8088_latch_r) // printf("Read %02x from 8088 mailbox\n", m_8088_mailbox); m_i8088->set_input_line(INPUT_LINE_INT0, CLEAR_LINE); - INT88 = false; // BISLANG: INTZ80 = false; // + INT88 = false; // BISLANG: INTZ80 = false; // return m_8088_mailbox; } @@ -857,7 +856,7 @@ WRITE8_MEMBER(rainbow_state::i8088_latch_w) m_z80->set_input_line_and_vector(0, ASSERT_LINE, 0xf7); m_z80_mailbox = data; - INTZ80 = true; // + INTZ80 = true; // } // Z80 reads port 0x00 @@ -867,7 +866,7 @@ READ8_MEMBER(rainbow_state::z80_latch_r) // printf("Read %02x from Z80 mailbox\n", m_z80_mailbox); m_z80->set_input_line(0, CLEAR_LINE); - INTZ80 = false; // BISLANG: INT88 = false; + INTZ80 = false; // BISLANG: INT88 = false; return m_z80_mailbox; } @@ -879,7 +878,7 @@ WRITE8_MEMBER(rainbow_state::z80_latch_w) m_i8088->set_input_line_and_vector(INPUT_LINE_INT0, ASSERT_LINE, 0x27); m_8088_mailbox = data; - INT88 = true; + INT88 = true; } // WRITE to 0x20 @@ -891,7 +890,7 @@ WRITE8_MEMBER(rainbow_state::z80_diskdiag_read_w) // (Z80) : PORT 21H _READ_ READ8_MEMBER(rainbow_state::z80_generalstat_r) { -/* +/* General / diag.status register Z80 / see page 157 (table 4-18). D7 : STEP L : reflects status of STEP signal _FROM FDC_ @@ -910,20 +909,20 @@ D0 : ZFLIP L: (read from the diagnostic control register of Z80A) NOTES: ALL LOW ACTIVE - EXCEPT TR00 */ // * TRACK 00 * signal for current drive - int tk00 = ( floppy_tk00_r( m_image[m_unit] ) == CLEAR_LINE ) ? 0x20 : 0x00; + int tk00 = ( floppy_tk00_r( m_image[m_unit] ) == CLEAR_LINE ) ? 0x20 : 0x00; - int fdc_ready = floppy_drive_get_flag_state( m_image[m_unit] , FLOPPY_DRIVE_READY); + int fdc_ready = floppy_drive_get_flag_state( m_image[m_unit] , FLOPPY_DRIVE_READY); int data=( 0x80 | // (STEP L) -// ( (fdc_write_gate) ) | - ( (tk00) ) | -// ( fdc_direction) | - ( (fdc_ready)? 0x00 : 0x08 ) | - ( (INT88) ? 0x00 : 0x04 ) | - ( (INTZ80) ? 0x00 : 0x02 ) | - ( (m_zflip) ? 0x00 : 0x01 ) +// ( (fdc_write_gate) ) | + ( (tk00) ) | +// ( fdc_direction) | + ( (fdc_ready)? 0x00 : 0x08 ) | + ( (INT88) ? 0x00 : 0x04 ) | + ( (INTZ80) ? 0x00 : 0x02 ) | + ( (m_zflip) ? 0x00 : 0x01 ) ); - + return data; } @@ -945,14 +944,14 @@ WRITE8_MEMBER(rainbow_state::z80_diskdiag_write_w) // (Z80) : PORT 40H _READ_ // ********************************************************************** -// POLARITY OF _DRQ_ AND _IRQ_ (depends on controller type!) +// POLARITY OF _DRQ_ AND _IRQ_ (depends on controller type!) // ********************************************************************** READ8_MEMBER(rainbow_state::z80_diskstatus_r) { static int last_track; int track = wd17xx_track_r(m_fdc, space, 0); -if (track != last_track) +if (track != last_track) printf("\n%02d",track); last_track = track; @@ -960,29 +959,29 @@ last_track = track; // AND 00111011 - return what was WRITTEN to D5-D3, D1, D0 previously // (except D7,D6,D2) -int data = m_z80_diskcontrol && 0x3b; +int data = m_z80_diskcontrol && 0x3b; -// D7: DRQ: reflects status of DATA REQUEST signal from FDC. +// D7: DRQ: reflects status of DATA REQUEST signal from FDC. // '1' indicates that FDC has read data OR requires new write data. -data |= wd17xx_drq_r(m_fdc) ? 0x80 : 0x00; +data |= wd17xx_drq_r(m_fdc) ? 0x80 : 0x00; -// D6: IRQ: indicates INTERRUPT REQUEST signal from FDC. Indicates that a -// status bit has changed. Set to 1 at the completion of any +// D6: IRQ: indicates INTERRUPT REQUEST signal from FDC. Indicates that a +// status bit has changed. Set to 1 at the completion of any // command (.. see page 207 or 5-25). -data |= wd17xx_intrq_r(m_fdc) ? 0x40 : 0x00; +data |= wd17xx_intrq_r(m_fdc) ? 0x40 : 0x00; -// D5: SIDE 0H: status of side select signal at J2 + J3 of RX50 controller. -// For 1 sided drives, this bit will always read low (0). +// D5: SIDE 0H: status of side select signal at J2 + J3 of RX50 controller. +// For 1 sided drives, this bit will always read low (0). // D4: MOTOR 1 ON L: 0 = indicates MOTOR 1 ON bit is set in drive control reg. -// D3: MOTOR 0 ON L: 0 = indicates MOTOR 0 ON bit is set in drive " +// D3: MOTOR 0 ON L: 0 = indicates MOTOR 0 ON bit is set in drive " // D2: TG43 L : 0 = INDICATES TRACK > 43 SIGNAL FROM FDC TO DISK DRIVE. -data |= ( track > 43) ? 0x00 : 0x04; +data |= ( track > 43) ? 0x00 : 0x04; // D1: DS1 H: reflect status of bits 0 and 1 form disk.control reg. -// D0: DS0 H: " - return data; +// D0: DS0 H: " + return data; } // (Z80) : PORT 40H * WRITE * @@ -1006,25 +1005,25 @@ WRITE8_MEMBER(rainbow_state::z80_diskcontrol_w) int selected_drive = 255; if (flopimg_get_image( floppy_get_device( machine(), drive ) ) != NULL) - { selected_drive = drive; + { selected_drive = drive; wd17xx_set_drive(m_fdc, selected_drive); } // WD emulation (wd17xx.c) will ignore 'side select' if set to WD1793. // Is it safe to * always assume * single sided 400 K disks? - wd17xx_set_side(m_fdc, (data & 20) ? 1 : 0); + wd17xx_set_side(m_fdc, (data & 20) ? 1 : 0); wd17xx_dden_w(m_fdc, 0); /* SEE 'WRITE_TRACK' : 1 = SD; 0 = DD; enable double density */ - output_set_value("driveled0", (selected_drive == 0) ? 1 : 0 ); - output_set_value("driveled1", (selected_drive == 1) ? 1 : 0 ); + output_set_value("driveled0", (selected_drive == 0) ? 1 : 0 ); + output_set_value("driveled1", (selected_drive == 1) ? 1 : 0 ); - output_set_value("driveled2", (selected_drive == 2) ? 1 : 0 ); - output_set_value("driveled3", (selected_drive == 3) ? 1 : 0 ); + output_set_value("driveled2", (selected_drive == 2) ? 1 : 0 ); + output_set_value("driveled3", (selected_drive == 3) ? 1 : 0 ); - if (selected_drive < 4) - { - m_unit = selected_drive; + if (selected_drive < 4) + { + m_unit = selected_drive; // MOTOR ON flags 1+2 proved to be unreliable in this context. // So this timeout only disables LEDs. @@ -1037,14 +1036,14 @@ WRITE8_MEMBER(rainbow_state::z80_diskcontrol_w) floppy_mon_w(m_image[f_num], (f_num == selected_drive) ? CLEAR_LINE : ASSERT_LINE); // Parameters: DRIVE, STATE, FLAG - floppy_drive_set_ready_state( m_image[f_num], - (f_num == selected_drive) ? 1 : 0, - (f_num == selected_drive) ? force_ready : 0 + floppy_drive_set_ready_state( m_image[f_num], + (f_num == selected_drive) ? 1 : 0, + (f_num == selected_drive) ? force_ready : 0 ); - } + } } - m_z80_diskcontrol = data; + m_z80_diskcontrol = data; } READ8_MEMBER( rainbow_state::read_video_ram_r ) @@ -1068,8 +1067,8 @@ READ8_MEMBER( rainbow_state::diagnostic_r ) return ( (m_diagnostic & (0xf1)) | ( m_inp1->read() | m_inp2->read() | - m_inp3->read() - ) + m_inp3->read() + ) ); } @@ -1078,14 +1077,14 @@ WRITE8_MEMBER( rainbow_state::diagnostic_w ) // printf("%02x to diag port (PC=%x)\n", data, space.device().safe_pc()); m_SCREEN_BLANK = (data & 2) ? false : true; - // SAVE / PROGRAM NVM: transfer data from volatile memory to NVM - if ( !(data & 0x40) && (m_diagnostic & 0x40) ) - memcpy( m_p_nvram, m_p_vol_ram, 256); + // SAVE / PROGRAM NVM: transfer data from volatile memory to NVM + if ( !(data & 0x40) && (m_diagnostic & 0x40) ) + memcpy( m_p_nvram, m_p_vol_ram, 256); - // READ / RECALL NVM: transfer data from NVM to volatile memory - if ( (data & 0x80) && !(m_diagnostic & 0x80) ) + // READ / RECALL NVM: transfer data from NVM to volatile memory + if ( (data & 0x80) && !(m_diagnostic & 0x80) ) memcpy( m_p_vol_ram, m_p_nvram, 256); - + if (!(data & 1)) { m_z80->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); @@ -1100,16 +1099,16 @@ WRITE8_MEMBER( rainbow_state::diagnostic_w ) m_z80->reset(); } - /* Page 197 or 5-13 of formatter description: - ZRESET L : this low input from the 8088 diagnostic write register - resets the formatter controller, loads 03H into the command register, - and resets the not ready (status bit 7). + /* Page 197 or 5-13 of formatter description: + ZRESET L : this low input from the 8088 diagnostic write register + resets the formatter controller, loads 03H into the command register, + and resets the not ready (status bit 7). - When ZRESET goes high (1), a restore command is executed regardless - of the state of the ready signal from the diskette drive and - 01H is loaded into the sector register. + When ZRESET goes high (1), a restore command is executed regardless + of the state of the ready signal from the diskette drive and + 01H is loaded into the sector register. */ - + // reset device when going from high to low, // restore command when going from low to high : wd17xx_mr_w(m_fdc, (data & 1) ? 1 : 0); @@ -1156,7 +1155,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(rainbow_state::keyboard_tick) m_kbd8251->transmit_clock(); m_kbd8251->receive_clock(); - if (MOTOR_DISABLE_counter) + if (MOTOR_DISABLE_counter) MOTOR_DISABLE_counter--; if (MOTOR_DISABLE_counter == 1) @@ -1167,13 +1166,13 @@ TIMER_DEVICE_CALLBACK_MEMBER(rainbow_state::keyboard_tick) output_set_value("driveled3", 0); // DRIVE 3 (D) } - if ( m_crtc->MHFU(1) ) // MHFU ENABLED ? - { -/* int data = m_crtc->MHFU(-1); // increment MHFU, return new value + if ( m_crtc->MHFU(1) ) // MHFU ENABLED ? + { +/* int data = m_crtc->MHFU(-1); // increment MHFU, return new value // if (data > 480) ... - // m_crtc->MHFU(-100); - // machine().schedule_hard_reset(); // not exactly a proper watchdog reset -*/ + // m_crtc->MHFU(-100); + // machine().schedule_hard_reset(); // not exactly a proper watchdog reset +*/ } if (m_beep_counter > 1) @@ -1274,7 +1273,7 @@ static MACHINE_CONFIG_START( rainbow, rainbow_state ) MCFG_SOUND_ROUTE(ALL_OUTPUTS,"mono",0.50) MCFG_FD1793_ADD("wd1793", rainbow_wd17xx_interface ) - MCFG_LEGACY_FLOPPY_4_DRIVES_ADD(floppy_intf) + MCFG_LEGACY_FLOPPY_4_DRIVES_ADD(floppy_intf) MCFG_SOFTWARE_LIST_ADD("flop_list","rainbow") MCFG_I8251_ADD("kbdser", i8251_intf) @@ -1286,7 +1285,7 @@ MACHINE_CONFIG_END -// ROM definition for 100-B +// ROM definition for 100-B ROM_START( rainbow ) ROM_REGION(0x100000,"maincpu", 0) ROM_LOAD( "23-022e5-00.bin", 0xf0000, 0x4000, CRC(9d1332b4) SHA1(736306d2a36bd44f95a39b36ebbab211cc8fea6e)) @@ -1304,8 +1303,8 @@ ROM_END // 'Rainbow 190 B' (announced March 1985) is identical hardware with alternate ROM v5.05 // According to an article in Wall Street Journal, it came with a 10 MB HD and 640 K RAM. -// We have no version history. The BOOT 2.4 README reveals 'recent ROM changes for MASS 11' -// in January 1985. These were not contained in the older version 04.03.11 (for PC-100-A) +// We have no version history. The BOOT 2.4 README reveals 'recent ROM changes for MASS 11' +// in January 1985. These were not contained in the older version 04.03.11 (for PC-100-A) // and also not present in version 05.03 (from PC-100B / PC100B+). // A first glance: @@ -1316,7 +1315,7 @@ ROM_START( rainb190 ) ROM_REGION(0x100000,"maincpu", 0) ROM_LOAD( "dec190rom0.bin", 0xf0000, 0x4000, CRC(FAC191D2) ) ROM_RELOAD(0xf4000,0x4000) - ROM_LOAD( "dec190rom1.bin", 0xf8000, 0x4000, CRC(5CE59632) ) + ROM_LOAD( "dec190rom1.bin", 0xf8000, 0x4000, CRC(5CE59632) ) ROM_RELOAD(0xfc000,0x4000) ROM_REGION(0x1000, "chargen", 0) @@ -1327,4 +1326,4 @@ ROM_END /* YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS */ COMP( 1983, rainbow , 0 , 0, rainbow, rainbow100b_in, driver_device, 0, "Digital Equipment Corporation", "Rainbow 100-B", GAME_NOT_WORKING | GAME_IMPERFECT_COLORS) -COMP( 1985, rainb190, rainbow, 0, rainbow, rainbow100b_in, driver_device, 0, "Digital Equipment Corporation", "Rainbow 190-B", GAME_NOT_WORKING | GAME_IMPERFECT_COLORS)
\ No newline at end of file +COMP( 1985, rainb190, rainbow, 0, rainbow, rainbow100b_in, driver_device, 0, "Digital Equipment Corporation", "Rainbow 190-B", GAME_NOT_WORKING | GAME_IMPERFECT_COLORS) diff --git a/src/mess/drivers/sh4robot.c b/src/mess/drivers/sh4robot.c index 813b05f52eb..42e4b8e0bf4 100644 --- a/src/mess/drivers/sh4robot.c +++ b/src/mess/drivers/sh4robot.c @@ -1,28 +1,28 @@ /*************************************************************************** - + SH4 Robot - http://perso.telecom-paristech.fr/~polti/robot/ - + http://perso.telecom-paristech.fr/~polti/robot/ + 27/11/2013 Skeleton driver. - - 0x0000 0000 - 0x7FFF FFFF : P0 area, cachable - 0x8000 0000 - 0x9FFF FFFF : P1 area, cachable - 0xA000 0000 - 0xBFFF FFFF : P2 area, non-cachable - 0xC000 0000 - 0xDFFF FFFF : P3 area, cachable - 0xE000 0000 - 0xFFFF FFFF : P4 area, non-cachable - - - 0x0000 0000 - 0x03FF FFFF : Area 0 (boot, ROM) - 0x0400 0000 - 0x07FF FFFF : Area 1 (FPGA) - 0x0800 0000 - 0x08FF FFFF : Area 2 (SDRAM 1, 16M) - 0x0C00 0000 - 0x0CFF FFFF : Area 3 (SDRAM 2, 16M) - 0x1000 0000 - 0x13FF FFFF : Area 4 (FPGA) - 0x1400 0000 - 0x17FF FFFF : Area 5 (FPGA) - 0x1800 0000 - 0x1BFF FFFF : Area 6 (FPGA) - 0x1C00 0000 - 0x1FFF FFFF : Area 7 (reserved) - + + 0x0000 0000 - 0x7FFF FFFF : P0 area, cachable + 0x8000 0000 - 0x9FFF FFFF : P1 area, cachable + 0xA000 0000 - 0xBFFF FFFF : P2 area, non-cachable + 0xC000 0000 - 0xDFFF FFFF : P3 area, cachable + 0xE000 0000 - 0xFFFF FFFF : P4 area, non-cachable + + + 0x0000 0000 - 0x03FF FFFF : Area 0 (boot, ROM) + 0x0400 0000 - 0x07FF FFFF : Area 1 (FPGA) + 0x0800 0000 - 0x08FF FFFF : Area 2 (SDRAM 1, 16M) + 0x0C00 0000 - 0x0CFF FFFF : Area 3 (SDRAM 2, 16M) + 0x1000 0000 - 0x13FF FFFF : Area 4 (FPGA) + 0x1400 0000 - 0x17FF FFFF : Area 5 (FPGA) + 0x1800 0000 - 0x1BFF FFFF : Area 6 (FPGA) + 0x1C00 0000 - 0x1FFF FFFF : Area 7 (reserved) + ****************************************************************************/ #include "emu.h" @@ -57,22 +57,22 @@ INPUT_PORTS_END static const struct sh4_config sh4cpu_config = { 1, 0, 1, 0, 0, 0, 1, 1, 0, 200000000 }; static MACHINE_CONFIG_START( sh4robot, sh4robot_state ) - /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", SH4LE, 200000000) // SH7750 + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", SH4LE, 200000000) // SH7750 MCFG_CPU_CONFIG(sh4cpu_config) - MCFG_CPU_PROGRAM_MAP(sh4robot_mem) + MCFG_CPU_PROGRAM_MAP(sh4robot_mem) MCFG_CPU_IO_MAP(sh4robot_io) - + MACHINE_CONFIG_END /* ROM definition */ ROM_START( sh4robot ) - ROM_REGION( 0x1000, "maincpu", ROMREGION_ERASEFF ) - ROM_LOAD( "bootloader.bin", 0x0000, 0x0882, CRC(d2ea0b7d) SHA1(7dd566c5e325d1ce1156a0bcbd7e10d011e9d35f)) - + ROM_REGION( 0x1000, "maincpu", ROMREGION_ERASEFF ) + ROM_LOAD( "bootloader.bin", 0x0000, 0x0882, CRC(d2ea0b7d) SHA1(7dd566c5e325d1ce1156a0bcbd7e10d011e9d35f)) + // FLASH TC58128AFT // flash blocks 1 till 199 (1*32*512 till 199*32*512) - //ROM_LOAD( "vmlinux-nand_img_with_oob-2.6.10-v1.0", 0x0000, 0x149be0, CRC(eec69ef5) SHA1(524e26d2c2c28061911f4726646b18596d134736)) + //ROM_LOAD( "vmlinux-nand_img_with_oob-2.6.10-v1.0", 0x0000, 0x149be0, CRC(eec69ef5) SHA1(524e26d2c2c28061911f4726646b18596d134736)) // Root FS at flash blocks from 201 till end (201*32*512) //ROM_LOAD( "shix-linux-v1.0.yaffs", 0x0000, 0x7e9e40, CRC(7a7fdb04) SHA1(0b761e2d179335398399cb046de4e591157cb72f)) ROM_END @@ -80,4 +80,4 @@ ROM_END /* Driver */ /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME FLAGS */ -COMP( ????, sh4robot, 0, 0, sh4robot, sh4robot, driver_device, 0, "", "Robot", GAME_NOT_WORKING | GAME_NO_SOUND)
\ No newline at end of file +COMP( ????, sh4robot, 0, 0, sh4robot, sh4robot, driver_device, 0, "", "Robot", GAME_NOT_WORKING | GAME_NO_SOUND) diff --git a/src/mess/drivers/tiki100.c b/src/mess/drivers/tiki100.c index b1eb943f615..7c2285713fe 100644 --- a/src/mess/drivers/tiki100.c +++ b/src/mess/drivers/tiki100.c @@ -14,7 +14,7 @@ TODO: - - 3 expansion slots + - 3 expansion slots - palette RAM should be written during HBLANK - DART clocks - winchester hard disk @@ -240,7 +240,7 @@ static ADDRESS_MAP_START( tiki100_io, AS_IO, 8, tiki100_state ) AM_RANGE(0x17, 0x17) AM_DEVREADWRITE(AY8912_TAG, ay8910_device, data_r, data_w) AM_RANGE(0x18, 0x1b) AM_DEVREADWRITE(Z80CTC_TAG, z80ctc_device, read, write) AM_RANGE(0x1c, 0x1c) AM_MIRROR(0x03) AM_WRITE(system_w) -// AM_RANGE(0x20, 0x27) AM_NOP // winchester controller +// AM_RANGE(0x20, 0x27) AM_NOP // winchester controller // AM_RANGE(0x60, 0x6f) analog I/O (SINTEF) // AM_RANGE(0x60, 0x67) digital I/O (RVO) // AM_RANGE(0x70, 0x77) analog/digital I/O @@ -491,18 +491,18 @@ static Z80DART_INTERFACE( dart_intf ) READ8_MEMBER( tiki100_state::pio_pb_r ) { /* - + bit description - - 0 - 1 - 2 - 3 + + 0 + 1 + 2 + 3 4 ACK 5 BUSY 6 NO PAPER 7 UNIT SELECT, tape in - + */ UINT8 data = 0; @@ -521,18 +521,18 @@ READ8_MEMBER( tiki100_state::pio_pb_r ) WRITE8_MEMBER( tiki100_state::pio_pb_w ) { /* - + bit description - + 0 STRB - 1 - 2 - 3 - 4 - 5 + 1 + 2 + 3 + 4 + 5 6 tape out - 7 - + 7 + */ // centronics diff --git a/src/mess/drivers/v1050.c b/src/mess/drivers/v1050.c index cdf75777ba0..6f90dc2de08 100644 --- a/src/mess/drivers/v1050.c +++ b/src/mess/drivers/v1050.c @@ -142,7 +142,7 @@ Notes: TODO: - - floppy 1 is broken + - floppy 1 is broken - write to banked RAM at 0x0000-0x1fff when ROM is active - real keyboard w/i8049 - keyboard beeper (NE555 wired in strange mix of astable/monostable modes) diff --git a/src/mess/drivers/v6809.c b/src/mess/drivers/v6809.c index 4417e1bd9a2..81ad03deaae 100644 --- a/src/mess/drivers/v6809.c +++ b/src/mess/drivers/v6809.c @@ -317,8 +317,8 @@ WRITE_LINE_MEMBER( v6809_state::speaker_en_w ) WRITE_LINE_MEMBER( v6809_state::speaker_w ) { -// if (m_speaker_en) -// m_speaker->level_w(state); +// if (m_speaker_en) +// m_speaker->level_w(state); } static const ptm6840_interface mc6840_intf = diff --git a/src/mess/drivers/wicat.c b/src/mess/drivers/wicat.c index c20b474cd97..58ef81c4fa5 100644 --- a/src/mess/drivers/wicat.c +++ b/src/mess/drivers/wicat.c @@ -690,7 +690,7 @@ static MACHINE_CONFIG_START( wicat, wicat_state ) MCFG_CPU_ADD("floppycpu",N8X300,XTAL_8MHz) MCFG_CPU_PROGRAM_MAP(wicat_flop_mem) MCFG_CPU_IO_MAP(wicat_flop_io) -// MCFG_FD1795_ADD("fdc") +// MCFG_FD1795_ADD("fdc") MACHINE_CONFIG_END diff --git a/src/mess/drivers/xavix.c b/src/mess/drivers/xavix.c index d1c6fca1755..a407de28bb0 100644 --- a/src/mess/drivers/xavix.c +++ b/src/mess/drivers/xavix.c @@ -2,13 +2,13 @@ // copyright-holders: ? /*************************************************************************** - Skeleton driver for XaviX TV PNP console and childs (Let's! Play TV Classic) + Skeleton driver for XaviX TV PNP console and childs (Let's! Play TV Classic) - CPU is M6502 derivative, almost likely to be a G65816 + CPU is M6502 derivative, almost likely to be a G65816 - TODO: - - understand how to map ROM at 0x800000-0x9fffff / 0xc00000 / 0xdfffff - banks (granted that we have the ROM for that, of course) + TODO: + - understand how to map ROM at 0x800000-0x9fffff / 0xc00000 / 0xdfffff + banks (granted that we have the ROM for that, of course) ***************************************************************************/ diff --git a/src/mess/drivers/xerox820.c b/src/mess/drivers/xerox820.c index 554191d4ea3..049a38a405a 100644 --- a/src/mess/drivers/xerox820.c +++ b/src/mess/drivers/xerox820.c @@ -14,8 +14,8 @@ - Xerox 820 - floppy format has 3xcd at the end of track data - :u109: write track 0 - :u109: track description 16xff ... 109xff 3xcd + :u109: write track 0 + :u109: track description 16xff ... 109xff 3xcd - Xerox 820-II - floppy (read/write to FDC triggers Z80 WAIT) - Winchester diff --git a/src/mess/includes/mc1502.h b/src/mess/includes/mc1502.h index 7348f0071da..a5c973bf0f5 100644 --- a/src/mess/includes/mc1502.h +++ b/src/mess/includes/mc1502.h @@ -77,11 +77,11 @@ public: DECLARE_WRITE8_MEMBER(mc1502_kppi_portb_w); DECLARE_WRITE8_MEMBER(mc1502_kppi_portc_w); /* - TIMER_CALLBACK_MEMBER(fdc_motor_callback); - static struct { - int fdc_motor_on; - emu_timer *fdc_motor_timer; - } m_motor; + TIMER_CALLBACK_MEMBER(fdc_motor_callback); + static struct { + int fdc_motor_on; + emu_timer *fdc_motor_timer; + } m_motor; */ const char *m_cputag; }; diff --git a/src/mess/includes/poisk1.h b/src/mess/includes/poisk1.h index 87f97c8ab47..8497c543d4c 100644 --- a/src/mess/includes/poisk1.h +++ b/src/mess/includes/poisk1.h @@ -16,7 +16,7 @@ #include "machine/xsu_cards.h" #include "sound/speaker.h" -#define POISK1_UPDATE_ROW(name) \ +#define POISK1_UPDATE_ROW(name) \ void name(bitmap_rgb32 &bitmap, const rectangle &cliprect, UINT8 *videoram, UINT16 ma, UINT8 ra, UINT8 stride) class p1_state : public driver_device @@ -49,7 +49,7 @@ public: DECLARE_MACHINE_RESET(poisk1); IRQ_CALLBACK_MEMBER(p1_irq_callback); - + virtual void palette_init(); virtual void video_start(); UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); diff --git a/src/mess/includes/prof80.h b/src/mess/includes/prof80.h index da3efc8c0c6..b43fccc3223 100644 --- a/src/mess/includes/prof80.h +++ b/src/mess/includes/prof80.h @@ -17,7 +17,7 @@ #include "machine/upd765.h" #define Z80_TAG "z1" -#define MMU_TAG "mmu" +#define MMU_TAG "mmu" #define UPD765_TAG "z38" #define UPD1990A_TAG "z43" #define RS232_A_TAG "rs232a" diff --git a/src/mess/layout/rainbow.lay b/src/mess/layout/rainbow.lay index d62437b8770..c41c81d3c9a 100644 --- a/src/mess/layout/rainbow.lay +++ b/src/mess/layout/rainbow.lay @@ -84,7 +84,7 @@ <color red="0.70" green="0.70" blue="0.70" /> </text> </element> - + <element name="l8wait"> <text string="WAIT"> <color red="1.0" green="1.0" blue="1.0" /> diff --git a/src/mess/machine/dec_lk201.c b/src/mess/machine/dec_lk201.c index 4383821fecc..1aa7749cd01 100644 --- a/src/mess/machine/dec_lk201.c +++ b/src/mess/machine/dec_lk201.c @@ -6,14 +6,14 @@ */ /* LK201-AA keyboard matrix (8048 version with updates) - Source: VCB02 Technical Reference. + Source: VCB02 Technical Reference. - KBD controller scan matrix (PORT 1): 8 x BCD IN => 18 DECIMAL OUT + KBD controller scan matrix (PORT 1): 8 x BCD IN => 18 DECIMAL OUT Keyboard itself: - 18 x IN (KEYBOARD DRIVE) KBD 17... KBD 0 => - 8 OUT (keyboard data @ D7..D0) - + 18 x IN (KEYBOARD DRIVE) KBD 17... KBD 0 => + 8 OUT (keyboard data @ D7..D0) + to => PORT 0 @ KBD controller. ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 @@ -34,7 +34,7 @@ ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 --------|----|----|----|---|---|---|---|--- ..KBD13:|Ins.|--- |'Do'|Prev { |" |[R]|[R] ........|Here|- | Scrn| [ |' | | -........|E17 |E11 |G16 |D17|D11|C11| | +........|E17 |E11 |G16 |D17|D11|C11| | --------|----|----|----|---|---|---|---|--- ..KBD12:|Find|+ |Help|Se-| } |Re-|C:L| | ........| |= | |lect ] |turn...| \ @@ -45,14 +45,14 @@ ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 ........|G14 | E13|....|E10|D10|...|C10|B10 --------|----|----|----|---|---|---|---|--- ..KBD10:|[R] |F12 |[R] |F13| ( |O |L | . -........|....|(BS)| |(LF) 9 | | | . +........|....|(BS)| |(LF) 9 | | | . ........|....|G12 |....|G13|E09|D09|C09|B09 --------|----|----|----|---|---|---|---|--- ..KBD_9:|[R] |F11 |[R] |[R]|* |I |K | , ........|....|ESC | | |8 | | | , ........|....|G11 |....|...|E08|D08|C08|B08 --------|----|----|----|---|---|---|---|--- -..KBD_8:|[R] |Main|[R] Exit|& |U |J |M +..KBD_8:|[R] |Main|[R] Exit|& |U |J |M ........| |Scrn| | |7 | | | ........| |G08 | |G09|E07|D07|C07|B07 --------|----|----|----|---|---|---|---|--- @@ -65,7 +65,7 @@ ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 ........|....|....|....|G05|E05|D05|C05|B05 --------|----|----|----|---|---|---|---|--- ..KBD_5: F4 |Break [R]|$ |R |F |V |Space -........|....|....|....|4 | | | | +........|....|....|....|4 | | | | ........ G02 |G03 |....|E04 D04 C04 B04 A01-A09 --------|----|----|----|---|---|---|---|--- ..KBD_4: [R] |Prt.|[R] |Set|# |E |D |C @@ -77,7 +77,7 @@ ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 ........|G99 |E02 |....|D00|D02|C02|B02|B00 --------|----|----|----|---|---|---|---|--- ..KBD_2: [R] |[R] |[R] |~ |! |Q |A |Z -........|..............|...|1 +........|..............|...|1 ........|..............|E00 E01 D01 C01 B01 --------|----|----|----|---|---|---|---|--- ..KBD_1: Ctrl|Lock|Comp|[R] @@ -93,13 +93,13 @@ ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 Normally only the N0 keyswitch is implemented as a double-sized key. NOTE 3) Return key occupies 2 positions that are decoded as the Return (C13) key. - + C:D - Cursor down (B17) C:U - Cursor up (C17) C:R - Cursor right (B18) C:L - Cursor left (B16) */ - + #include "emu.h" #include "dec_lk201.h" #include "cpu/m6805/m6805.h" diff --git a/src/mess/machine/kb_poisk1.h b/src/mess/machine/kb_poisk1.h index babf487b35f..7449452ad3a 100644 --- a/src/mess/machine/kb_poisk1.h +++ b/src/mess/machine/kb_poisk1.h @@ -18,22 +18,22 @@ INPUT_PORTS_START( poisk1_keyboard_v89 ) PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Enter") PORT_CODE(KEYCODE_ENTER) PORT_CHAR('\r') PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 8") PORT_CODE(KEYCODE_8_PAD) PORT_CODE(KEYCODE_UP) PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 2") PORT_CODE(KEYCODE_2_PAD) PORT_CODE(KEYCODE_DOWN) -/*-12*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-12 - ?") /* PORT_CODE(KEYCODE_SLASH) PORT_CHAR('?') PORT_CHAR('/') */ +/*-12*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-12 - ?") /* PORT_CODE(KEYCODE_SLASH) PORT_CHAR('?') PORT_CHAR('/') */ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_O) PORT_CHAR('o') PORT_CHAR('O') -/*-11*/ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-11 - %") /* PORT_CODE(KEYCODE_5) PORT_CHAR('5') PORT_CHAR('%') */ +/*-11*/ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-11 - %") /* PORT_CODE(KEYCODE_5) PORT_CHAR('5') PORT_CHAR('%') */ PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F11") PORT_CODE(KEYCODE_F11) PORT_CHAR(UCHAR_MAMEKEY(F11)) PORT_START("Y2") -/*-15*/ PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-15 - !") /* PORT_CODE(KEYCODE_1) PORT_CHAR('!') PORT_CHAR('1') */ +/*-15*/ PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-15 - !") /* PORT_CODE(KEYCODE_1) PORT_CHAR('!') PORT_CHAR('1') */ PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 4") PORT_CODE(KEYCODE_4_PAD) PORT_CODE(KEYCODE_LEFT) PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 0") PORT_CODE(KEYCODE_0_PAD) PORT_CODE(KEYCODE_INSERT) /* ??? */ PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F7") PORT_CODE(KEYCODE_F7) PORT_CHAR(UCHAR_MAMEKEY(F7)) -/*-13*/ PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-13 - ;") /* PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':') */ +/*-13*/ PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-13 - ;") /* PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':') */ PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(UTF8_LEFT) PORT_CODE(KEYCODE_BACKSPACE) PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 7") PORT_CODE(KEYCODE_7_PAD) PORT_CODE(KEYCODE_HOME) PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 1") PORT_CODE(KEYCODE_1_PAD) PORT_CODE(KEYCODE_END) -/*-2*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-2 - .") /* PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR('>') */ -/*-3*/ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-3 - _") /* PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_') */ +/*-2*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-2 - .") /* PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR('>') */ +/*-3*/ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-3 - _") /* PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_') */ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_P) PORT_CHAR('p') PORT_CHAR('P') PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') PORT_CHAR('{') // 0x54 @@ -58,17 +58,17 @@ INPUT_PORTS_START( poisk1_keyboard_v89 ) PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F6") PORT_CODE(KEYCODE_F6) PORT_CHAR(UCHAR_MAMEKEY(F6)) PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F2") PORT_CODE(KEYCODE_F2) PORT_CHAR(UCHAR_MAMEKEY(F2)) PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F1") PORT_CODE(KEYCODE_F1) PORT_CHAR(UCHAR_MAMEKEY(F1)) -/*-1*/ PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-1 - *") /* PORT_CODE(KEYCODE_8) PORT_CHAR('*') PORT_CHAR('8') */ +/*-1*/ PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-1 - *") /* PORT_CODE(KEYCODE_8) PORT_CHAR('*') PORT_CHAR('8') */ PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Esc") PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC)) /* ??2 */ -/*-9*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-9 - :") /* PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':') */ -/*-10*/ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-10 - ,") /* PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR('<') */ +/*-9*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-9 - :") /* PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':') */ +/*-10*/ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-10 - ,") /* PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR('<') */ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F5") PORT_CODE(KEYCODE_F5) PORT_CHAR(UCHAR_MAMEKEY(F5)) PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F4") PORT_CODE(KEYCODE_F4) PORT_CHAR(UCHAR_MAMEKEY(F4)) PORT_START("Y5") PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_E) PORT_CHAR('e') PORT_CHAR('E') PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_UNUSED ) -/*?*/ PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Ctrl") PORT_CODE(KEYCODE_RCONTROL) PORT_CHAR(UCHAR_MAMEKEY(RCONTROL)) +/*?*/ PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Ctrl") PORT_CODE(KEYCODE_RCONTROL) PORT_CHAR(UCHAR_MAMEKEY(RCONTROL)) PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_H) PORT_CHAR('h') PORT_CHAR('H') PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_W) PORT_CHAR('w') PORT_CHAR('W') PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Q) PORT_CHAR('q') PORT_CHAR('Q') @@ -82,7 +82,7 @@ INPUT_PORTS_START( poisk1_keyboard_v89 ) PORT_START("Y6") PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Left Shift") PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1) PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad *") PORT_CODE(KEYCODE_ASTERISK) PORT_CHAR(UCHAR_MAMEKEY(ASTERISK)) -/*?*/ PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Alt") PORT_CODE(KEYCODE_RALT) +/*?*/ PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Alt") PORT_CODE(KEYCODE_RALT) PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_C) PORT_CHAR('c') PORT_CHAR('C') PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_X) PORT_CHAR('x') PORT_CHAR('X') PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?dc?") // 0xdc = SHIFT2 @@ -108,18 +108,18 @@ INPUT_PORTS_START( poisk1_keyboard_v89 ) PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F9") PORT_CODE(KEYCODE_F9) PORT_CHAR(UCHAR_MAMEKEY(F9)) PORT_START("Y8") -/*-6*/ PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-6 - -") /* PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_') */ +/*-6*/ PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-6 - -") /* PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_') */ PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad -") PORT_CODE(KEYCODE_MINUS_PAD) PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Tab") PORT_CODE(KEYCODE_TAB) PORT_CHAR('\t') /* ??? */ PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Y) PORT_CHAR('y') PORT_CHAR('Y') -/*-7*/ PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-7 - )") /* PORT_CODE(KEYCODE_0) PORT_CHAR(')') PORT_CHAR('0') */ +/*-7*/ PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-7 - )") /* PORT_CODE(KEYCODE_0) PORT_CHAR(')') PORT_CHAR('0') */ PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Scroll Lock") -/*-4*/ PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-4 - (") /* PORT_CODE(KEYCODE_9) PORT_CHAR('(') PORT_CHAR('9') */ +/*-4*/ PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-4 - (") /* PORT_CODE(KEYCODE_9) PORT_CHAR('(') PORT_CHAR('9') */ PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR('\\') PORT_CHAR('|') PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_U) PORT_CHAR('u') PORT_CHAR('U') -/*-5*/ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-5 - \"") /* PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('"') PORT_CHAR('\'') */ -/*-8*/ PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-8 - /") /* PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?') */ +/*-5*/ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-5 - \"") /* PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('"') PORT_CHAR('\'') */ +/*-8*/ PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-8 - /") /* PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?') */ #if 0 PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Delete") PORT_CODE(KEYCODE_DEL_PAD) @@ -130,7 +130,7 @@ INPUT_PORTS_START( poisk1_keyboard_v89 ) PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_6) PORT_CHAR('6') PORT_CHAR('^') PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR('&') PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_TILDE) PORT_CHAR('`') PORT_CHAR('~') - PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD ) + PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD ) #endif INPUT_PORTS_END @@ -227,7 +227,7 @@ INPUT_PORTS_START( poisk1_keyboard_v91 ) PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("- / UKRAINIAN XXX") PORT_CODE(KEYCODE_MINUS_PAD) PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F9") PORT_CODE(KEYCODE_F9) PORT_CHAR(UCHAR_MAMEKEY(F9)) - PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Scroll Lock") + PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Scroll Lock") PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 6") PORT_CODE(KEYCODE_6_PAD) PORT_CODE(KEYCODE_RIGHT) PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_L) PORT_CHAR('l') PORT_CHAR('L') PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F7") PORT_CODE(KEYCODE_F7) PORT_CHAR(UCHAR_MAMEKEY(F7)) diff --git a/src/mess/machine/mb8795.c b/src/mess/machine/mb8795.c index 65887e9c956..e56a2b97d51 100644 --- a/src/mess/machine/mb8795.c +++ b/src/mess/machine/mb8795.c @@ -18,7 +18,7 @@ ADDRESS_MAP_END mb8795_device::mb8795_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MB8795, "Fujitsu MB8795", tag, owner, clock, "mb8795", __FILE__), - device_network_interface(mconfig, *this, 10) + device_network_interface(mconfig, *this, 10) { } @@ -205,9 +205,9 @@ void mb8795_device::tx_dma_w(UINT8 data, bool eof) if(eof) { logerror("%s: send packet, dest=%02x.%02x.%02x.%02x.%02x.%02x len=%04x loopback=%s\n", tag(), - txbuf[0], txbuf[1], txbuf[2], txbuf[3], txbuf[4], txbuf[5], - txlen, - txmode & EN_TMD_LB_DISABLE ? "off" : "on"); + txbuf[0], txbuf[1], txbuf[2], txbuf[3], txbuf[4], txbuf[5], + txlen, + txmode & EN_TMD_LB_DISABLE ? "off" : "on"); if(txlen > 1500) txlen = 1500; // Weird packet send on loopback test in the next diff --git a/src/mess/machine/mc1502_fdc.c b/src/mess/machine/mc1502_fdc.c index a8d9523386a..6fbf87681f7 100644 --- a/src/mess/machine/mc1502_fdc.c +++ b/src/mess/machine/mc1502_fdc.c @@ -212,16 +212,16 @@ void mc1502_fdc_device::device_start() set_isa_device(); // BIOS 5.0, 5.2 - m_isa->install_device(0x010c, 0x010f, 0, 0, + m_isa->install_device(0x010c, 0x010f, 0, 0, READ8_DEVICE_DELEGATE(m_fdc, fd1793_t, read), WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_t, write) ); m_isa->install_device(this, 0x0100, 0x010b, 0, 0, FUNC(mc1502_FDC_r), FUNC(mc1502_FDC_w) ); // BIOS 5.31, 5.33 /* - m_isa->install_device(0x010c, 0x010f, 0, 0, - READ8_DEVICE_DELEGATE(m_fdc, fd1793_t, read), - WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_t, write) ); - m_isa->install_device(this, 0x0100, 0x010b, 0, 0, FUNC(mc1502_FDC_r), FUNC(mc1502_FDC_w) ); + m_isa->install_device(0x010c, 0x010f, 0, 0, + READ8_DEVICE_DELEGATE(m_fdc, fd1793_t, read), + WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_t, write) ); + m_isa->install_device(this, 0x0100, 0x010b, 0, 0, FUNC(mc1502_FDC_r), FUNC(mc1502_FDC_w) ); */ m_fdc->setup_drq_cb(fd1793_t::line_cb(FUNC(mc1502_fdc_device::mc1502_fdc_irq_drq), this)); m_fdc->setup_intrq_cb(fd1793_t::line_cb(FUNC(mc1502_fdc_device::mc1502_fdc_irq_drq), this)); diff --git a/src/mess/machine/nes_mmc5.c b/src/mess/machine/nes_mmc5.c index 0a1bbdced2a..54c84deb938 100644 --- a/src/mess/machine/nes_mmc5.c +++ b/src/mess/machine/nes_mmc5.c @@ -41,7 +41,7 @@ const device_type NES_EXROM = &device_creator<nes_exrom_device>; nes_exrom_device::nes_exrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : nes_nrom_device(mconfig, NES_EXROM, "NES Cart ExROM (MMC-5) PCB", tag, owner, clock, "nes_exrom", __FILE__) + : nes_nrom_device(mconfig, NES_EXROM, "NES Cart ExROM (MMC-5) PCB", tag, owner, clock, "nes_exrom", __FILE__) { } diff --git a/src/mess/machine/p1_fdc.c b/src/mess/machine/p1_fdc.c index ef24a4de48f..6035b677463 100644 --- a/src/mess/machine/p1_fdc.c +++ b/src/mess/machine/p1_fdc.c @@ -134,7 +134,7 @@ void p1_fdc_device::p1_wd17xx_aux_w(int data) if(!BIT(data, 6)) m_fdc->reset(); - + m_fdc->set_floppy(floppy); floppy->ss_w(BIT(data, 4)); @@ -196,7 +196,7 @@ void p1_fdc_device::device_start() { set_isa_device(); m_isa->install_rom(this, 0xe0000, 0xe07ff, 0, 0, "XXX", "p1_fdc"); - m_isa->install_device(0x00c0, 0x00c3, 0, 0, + m_isa->install_device(0x00c0, 0x00c3, 0, 0, READ8_DEVICE_DELEGATE(m_fdc, fd1793_t, read), WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_t, write) ); m_isa->install_device(this, 0x00c4, 0x00c7, 0, 0, FUNC(p1_FDC_r), FUNC(p1_FDC_w) ); diff --git a/src/mess/machine/p1_hdc.c b/src/mess/machine/p1_hdc.c index 3ea7f972a78..5a52d9df534 100644 --- a/src/mess/machine/p1_hdc.c +++ b/src/mess/machine/p1_hdc.c @@ -28,7 +28,7 @@ } \ } while (0) -#define KM1809VG7_TAG "d17" +#define KM1809VG7_TAG "d17" //************************************************************************** @@ -109,7 +109,7 @@ READ8_MEMBER(p1_hdc_device::p1_HDC_r) UINT8 data = 0x00; switch (offset >> 8) { - case 8: data = m_hdc->read(space, offset & 255); + case 8: data = m_hdc->read(space, offset & 255); } DBG_LOG(1,"hdc",("R $%04x == $%02x\n", offset, data)); @@ -120,7 +120,7 @@ WRITE8_MEMBER(p1_hdc_device::p1_HDC_w) { DBG_LOG(1,"hdc",("W $%04x <- $%02x\n", offset, data)); switch (offset >> 8) { - case 8: m_hdc->write(space, offset & 255, data, 0); + case 8: m_hdc->write(space, offset & 255, data, 0); } } @@ -144,7 +144,7 @@ void p1_hdc_device::device_start() { set_isa_device(); m_isa->install_rom(this, 0xe2000, 0xe27ff, 0, 0, "XXX", "p1_hdc"); - m_isa->install_memory(0xd0000, 0xd0fff, 0, 0, + m_isa->install_memory(0xd0000, 0xd0fff, 0, 0, READ8_DELEGATE(p1_hdc_device, p1_HDC_r), WRITE8_DELEGATE(p1_hdc_device, p1_HDC_w) ); } diff --git a/src/mess/machine/prof80mmu.c b/src/mess/machine/prof80mmu.c index 1acad1a90b8..720fef9abd4 100644 --- a/src/mess/machine/prof80mmu.c +++ b/src/mess/machine/prof80mmu.c @@ -103,7 +103,7 @@ READ8_MEMBER( prof80_mmu_device::program_r ) { offset |= 0xf0000; } - + return this->space(AS_PROGRAM).read_byte(offset); } @@ -123,6 +123,6 @@ WRITE8_MEMBER( prof80_mmu_device::program_w ) { offset |= 0xf0000; } - + this->space(AS_PROGRAM).write_byte(offset, data); } diff --git a/src/mess/machine/prof80mmu.h b/src/mess/machine/prof80mmu.h index d5de2f52650..f7407ddb208 100644 --- a/src/mess/machine/prof80mmu.h +++ b/src/mess/machine/prof80mmu.h @@ -33,7 +33,7 @@ // ======================> prof80_mmu_device class prof80_mmu_device : public device_t, - public device_memory_interface + public device_memory_interface { public: prof80_mmu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); diff --git a/src/mess/machine/xsu_cards.c b/src/mess/machine/xsu_cards.c index 25598454317..b93ccc9a406 100644 --- a/src/mess/machine/xsu_cards.c +++ b/src/mess/machine/xsu_cards.c @@ -11,13 +11,13 @@ SLOT_INTERFACE_START( p1_isa8_cards ) SLOT_INTERFACE("rom", P1_ROM) - SLOT_INTERFACE("fdc", P1_FDC) // B504 - SLOT_INTERFACE("hdc", P1_HDC) // B942 + SLOT_INTERFACE("fdc", P1_FDC) // B504 + SLOT_INTERFACE("hdc", P1_HDC) // B942 /* - SLOT_INTERFACE("comlpt", P1_COMLPT) // B620 - SLOT_INTERFACE("joy", P1_JOY) // B621 - SLOT_INTERFACE("mouse", P1_MOUSE) // B943 - SLOT_INTERFACE("lan", P1_LAN) // B944 + SLOT_INTERFACE("comlpt", P1_COMLPT) // B620 + SLOT_INTERFACE("joy", P1_JOY) // B621 + SLOT_INTERFACE("mouse", P1_MOUSE) // B943 + SLOT_INTERFACE("lan", P1_LAN) // B944 */ SLOT_INTERFACE("pccom", ISA8_COM) SLOT_INTERFACE("pclpt", ISA8_LPT) @@ -28,7 +28,7 @@ SLOT_INTERFACE_START( mc1502_isa8_cards ) SLOT_INTERFACE("rom", MC1502_ROM) SLOT_INTERFACE("fdc", MC1502_FDC) /* - SLOT_INTERFACE("hdc", MC1502_HDC) + SLOT_INTERFACE("hdc", MC1502_HDC) */ SLOT_INTERFACE("pccom", ISA8_COM) SLOT_INTERFACE("pclpt", ISA8_LPT) diff --git a/src/mess/mess.lst b/src/mess/mess.lst index b791e2f8478..24a2301dbfd 100644 --- a/src/mess/mess.lst +++ b/src/mess/mess.lst @@ -177,11 +177,11 @@ sd1 // 1990 SD-1 sq1 // 1990 SQ-1 sqrack // 1990 SQ-Rack sd132 // 1991 SD-1 32 -asr10 // 1992 ASR-10 +asr10 // 1992 ASR-10 kt76 // 1996 KT-76 mr61 // 1996 MR-61 mrrack // 1996 MR-Rack -asrx // 1997 ASR-X +asrx // 1997 ASR-X // Fairchild channelf // Fairchild Channel F VES - 1976 @@ -451,7 +451,7 @@ apple2c0 // ??? 1985 Apple //c (3.5 ROM) apple2c3 // Sep 1986 Apple //c (Original Mem. Exp.) apple2c4 // ??? 198? Apple //c (rev 4) apple2cp // Sep 1988 Apple //c+ -apple2gsr0p // June 19, 1986 Apple IIgs ROM00 prototype +apple2gsr0p // June 19, 1986 Apple IIgs ROM00 prototype apple2gsr0 // Sep 1986 Apple IIgs ROM00 apple2gsr1 // Sep 1987 Apple IIgs ROM01 apple2gs // Aug 1989 Apple IIgs ROM03 @@ -1437,7 +1437,7 @@ vk100 // 1980 Digital Equipment Corporation dectalk // 1982 Digital Equipment Corporation mc7105 // Elektronika MC7105 rainbow // DEC Rainbow 100B -rainb190 // DEC Rainbow 190 +rainb190 // DEC Rainbow 190 // Memotech mtx512 // 1983 Memotech MTX 512 @@ -2311,4 +2311,3 @@ myvision mkit09 cpu09 ivg09 - diff --git a/src/mess/video/isa_cga.c b/src/mess/video/isa_cga.c index 27a01036d14..ea5030f90a7 100644 --- a/src/mess/video/isa_cga.c +++ b/src/mess/video/isa_cga.c @@ -2151,7 +2151,7 @@ const rom_entry *isa8_ec1841_0002_device::device_rom_region() const WRITE8_MEMBER( isa8_ec1841_0002_device::char_ram_write ) { offset ^= BIT(offset, 12); -// logerror("write char ram %04x %02x\n",offset,data); +// logerror("write char ram %04x %02x\n",offset,data); m_chr_gen_base[offset + 0x0000] = data; m_chr_gen_base[offset + 0x0800] = data; m_chr_gen_base[offset + 0x1000] = data; diff --git a/src/mess/video/isa_cga.h b/src/mess/video/isa_cga.h index 74711175b8c..9707048d963 100644 --- a/src/mess/video/isa_cga.h +++ b/src/mess/video/isa_cga.h @@ -18,7 +18,7 @@ class isa8_cga_device : public device_isa8_card_interface { friend class isa8_cga_superimpose_device; -// friend class isa8_ec1841_0002_device; +// friend class isa8_ec1841_0002_device; friend class isa8_cga_poisk2_device; friend class isa8_cga_pc1512_device; diff --git a/src/mess/video/pc_t1t.h b/src/mess/video/pc_t1t.h index 44c33735fc3..f680139b498 100644 --- a/src/mess/video/pc_t1t.h +++ b/src/mess/video/pc_t1t.h @@ -14,7 +14,7 @@ struct reg index = 0; memset(&data, 0, sizeof(data)); } - + UINT8 index; UINT8 data[0x20]; /* see vgadoc @@ -35,8 +35,8 @@ public: pc_t1t_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); DECLARE_PALETTE_INIT( pcjr ); - - DECLARE_WRITE_LINE_MEMBER( t1000_de_changed ); + + DECLARE_WRITE_LINE_MEMBER( t1000_de_changed ); required_device<mc6845_device> m_mc6845; UINT8 m_mode_control, m_color_select; @@ -60,7 +60,7 @@ public: UINT8 m_display_enable; UINT8 m_vsync; UINT8 m_palette_base; - + int mode_control_r(void); void color_select_w(int data); int color_select_r(void); @@ -87,20 +87,20 @@ public: protected: virtual machine_config_constructor device_mconfig_additions() const; virtual void device_start(); - + private: UINT8 *m_t1_displayram; void mode_switch( void ); void vga_data_w(int data); void bank_w(int data); void mode_control_w(int data); -}; +}; extern const device_type PCVIDEO_T1000; #define MCFG_PCVIDEO_T1000_ADD(_tag) \ MCFG_DEVICE_ADD(_tag, PCVIDEO_T1000, 0) - + class pcvideo_pcjr_device : public pc_t1t_device { public: @@ -109,7 +109,7 @@ public: DECLARE_WRITE8_MEMBER( write ); DECLARE_WRITE_LINE_MEMBER( pcjr_vsync_changed ); - + UINT8 *m_jxkanji; protected: diff --git a/src/mess/video/poisk1.c b/src/mess/video/poisk1.c index eb1429fb513..c9df5aa8283 100644 --- a/src/mess/video/poisk1.c +++ b/src/mess/video/poisk1.c @@ -82,12 +82,12 @@ WRITE8_MEMBER(p1_state::p1_vram_w) // CGA emulator /* -068h D42 0..2 R, G, B XXX Foreground/Background color - 3 NMI DISABLE NMI trap 1: Disabled 0: Enabled - 4 PALETTE XXX Colour palette 0: XXX 1: XXX - 5 I (INTENS) XXX Foreground/Background color intensity - 6 DISPLAY BANK XXX Video RAM page - 7 HIRES 1: 640x200 0: 320x200 +068h D42 0..2 R, G, B XXX Foreground/Background color + 3 NMI DISABLE NMI trap 1: Disabled 0: Enabled + 4 PALETTE XXX Colour palette 0: XXX 1: XXX + 5 I (INTENS) XXX Foreground/Background color intensity + 6 DISPLAY BANK XXX Video RAM page + 7 HIRES 1: 640x200 0: 320x200 */ WRITE8_MEMBER(p1_state::p1_ppi2_porta_w) @@ -125,8 +125,8 @@ WRITE8_MEMBER(p1_state::p1_ppi2_porta_w) } /* -06Ah Dxx 6 Enable/Disable color burst (?) - 7 Enable/Disable D7H/D7L +06Ah Dxx 6 Enable/Disable color burst (?) + 7 Enable/Disable D7H/D7L */ WRITE8_MEMBER(p1_state::p1_ppi_portc_w) @@ -151,13 +151,13 @@ void p1_state::set_palette_luts(void) } // B&W -- XXX /* - if ( m_video.mode_control_6a & 0x40 ) - { - m_video.palette_lut_2bpp[1] = ( ( m_video.color_select_68 & 0x20 ) >> 2 ) | 3; - m_video.palette_lut_2bpp[2] = ( ( m_video.color_select_68 & 0x20 ) >> 2 ) | 4; - m_video.palette_lut_2bpp[3] = ( ( m_video.color_select_68 & 0x20 ) >> 2 ) | 7; - } - else + if ( m_video.mode_control_6a & 0x40 ) + { + m_video.palette_lut_2bpp[1] = ( ( m_video.color_select_68 & 0x20 ) >> 2 ) | 3; + m_video.palette_lut_2bpp[2] = ( ( m_video.color_select_68 & 0x20 ) >> 2 ) | 4; + m_video.palette_lut_2bpp[3] = ( ( m_video.color_select_68 & 0x20 ) >> 2 ) | 7; + } + else */ { // PALETTE diff --git a/src/mess/video/vtvideo.c b/src/mess/video/vtvideo.c index 08970cd4942..15d91920cfc 100644 --- a/src/mess/video/vtvideo.c +++ b/src/mess/video/vtvideo.c @@ -12,14 +12,14 @@ Split & full screen modes exist. Scroll should be synced with beam or DMA. See 4.7.4 and up in VT manual. - - TESTS REQUIRED : do line and character attributes (plus combinations) match real hardware? + - TESTS REQUIRED : do line and character attributes (plus combinations) match real hardware? - - UNDOCUMENTED FEATURES of DC011 / DC012 (CLUES WANTED) - A. (VT 100): DEC VT terminals are said to have a feature that doubles the number of lines - (50 real lines or just interlaced mode with 500 instead of 250 scanlines?) + - UNDOCUMENTED FEATURES of DC011 / DC012 (CLUES WANTED) + A. (VT 100): DEC VT terminals are said to have a feature that doubles the number of lines + (50 real lines or just interlaced mode with 500 instead of 250 scanlines?) - B. (DEC-100-B) fun PD program SQUEEZE.COM _compresses_ display to X/2 and Y/2 - - so picture takes a quarter of the original screen. How does it accomplish this? + B. (DEC-100-B) fun PD program SQUEEZE.COM _compresses_ display to X/2 and Y/2 + - so picture takes a quarter of the original screen. How does it accomplish this? - IMPROVEMENTS: - exact colors for different VR201 monitors ('paper white', green and amber) @@ -201,18 +201,18 @@ READ8_MEMBER( vt100_video_device::lba7_r ) // Also used by Rainbow-100 ************ WRITE8_MEMBER( vt100_video_device::dc012_w ) { - // TODO: writes to 10C/0C should be treated differently (emulation disables the watchdog too often). + // TODO: writes to 10C/0C should be treated differently (emulation disables the watchdog too often). if (data == 0) // MHFU is disabled by writing 00 to port 010C. - { + { //if (MHFU_FLAG == true) - // printf("MHFU *** DISABLED *** \n"); + // printf("MHFU *** DISABLED *** \n"); MHFU_FLAG = false; MHFU_counter = 0; } - else - { // RESET - //if (MHFU_FLAG == false) - // printf("MHFU ___ENABLED___ \n"); + else + { // RESET + //if (MHFU_FLAG == false) + // printf("MHFU ___ENABLED___ \n"); MHFU_FLAG = true; MHFU_counter = 0; @@ -224,10 +224,10 @@ WRITE8_MEMBER( vt100_video_device::dc012_w ) // The BIOS first writes the least significant bits, then the 2 most significant bits. // If scrolling up (incrementing the scroll latch), the additional line is linked in at the bottom. - // When the scroll latch is incremented back to 0, the top line of the scrolling region must be unlinked. + // When the scroll latch is incremented back to 0, the top line of the scrolling region must be unlinked. // When scrolling down (decrementing the scroll latch), new lines must be linked in at the top of the scroll region - // and unlinked down at the bottom. + // and unlinked down at the bottom. // Note that the scroll latch value will be used during the next frame rather than the current frame. // All line linking/unlinking is done during the vertical blanking interval (< 550ms). @@ -267,7 +267,7 @@ WRITE8_MEMBER( vt100_video_device::dc012_w ) m_reverse_field = 0; break; - // Writing a 11XX bit combination clears the blink-flip flop (valid for 0x0C - 0x0F): + // Writing a 11XX bit combination clears the blink-flip flop (valid for 0x0C - 0x0F): case 0x0c: // set basic attribute to underline / blink flip-flop off m_blink_flip_flop = 0; @@ -290,16 +290,16 @@ WRITE8_MEMBER( vt100_video_device::dc012_w ) case 0x0e: m_blink_flip_flop = 0; // 'unsupported' DC012 command. Turn blink flip-flop off. - break; + break; - case 0x0f: - // (DEC Rainbow 100): reverse video with 48 lines / blink flip-flop off + case 0x0f: + // (DEC Rainbow 100): reverse video with 48 lines / blink flip-flop off m_blink_flip_flop = 0; m_basic_attribute = 1; - // 0x0f = 'reserved' on VT 100 + // 0x0f = 'reserved' on VT 100 // Abort on VT-100 for now. - if (m_height_MAX == 25) break; + if (m_height_MAX == 25) break; if (m_height != 48) { @@ -485,10 +485,10 @@ void vt100_video_device::video_update(bitmap_ind16 &bitmap, const rectangle &cli // 2) bold and reverse together give a background of normal intensity // 3) blink controls intensity: normal chars vary between A) normal and dim (B) bold chars vary between bright and normal -// 4) blink applied to a +// 4) blink applied to a // A) reverse character causes it to alternate between normal and reverse video representation // B) non-rev. " : alternate between usual intensity and the next lower intensity -// 5) underline causes the 9.th scan to be forced to +// 5) underline causes the 9.th scan to be forced to // A) white of the same intensity as the characters (for nonreversed characters), // b) to black (for reverse characters) @@ -499,11 +499,11 @@ void rainbow_video_device::display_char(bitmap_ind16 &bitmap, UINT8 code, int x, UINT16 x_preset, d_x_preset; if (m_columns == 132) { x_preset = x * 9; - d_x_preset = x * 18; + d_x_preset = x * 18; } else { - x_preset = x * 10; - d_x_preset = x * 20; + x_preset = x * 10; + d_x_preset = x * 20; } UINT8 line = 0; @@ -512,24 +512,24 @@ void rainbow_video_device::display_char(bitmap_ind16 &bitmap, UINT8 code, int x, int back_intensity, back_default_intensity; int invert = (display_type & 8) >> 3; // BIT 3 indicates REVERSE - int bold = (display_type & 16) >> 4; // BIT 4 indicates BOLD + int bold = (display_type & 16) >> 4; // BIT 4 indicates BOLD int blink = display_type & 32; // BIT 5 indicates BLINK int underline = display_type & 64; // BIT 6 indicates UNDERLINE bool blank = (display_type & 0x80) ? true : false; // BIT 7 indicates BLANK display_type = display_type & 3; - // CASE 1 A) + // CASE 1 A) // SCREEN ATTRIBUTES (see VT-180 manual 6-30): // 'reverse field' = reverse video over entire screen (identical on Rainbow-100) - // What does 'base attribute' do on Rainbow-100 ? + // What does 'base attribute' do on Rainbow-100 ? // VT-100 interpretation ('without AVO, eigth char.bit defines base attribute') most likely not correct! // OR 'base attribute' = reverse or underline (depending on the selection of the cursor at SETUP) ?? // VT-100 manual 4-75 / 4-98 says: reverse = (reverse field H) XOR (reverse video H = base attribute input) // For reference: a complete truth table can be taken from TABLE 4-6-4 / VT100 technical manual. - // Following simple IF statements implement it in full. Code should not be shuffled! + // Following simple IF statements implement it in full. Code should not be shuffled! invert = invert ^ m_reverse_field ^ m_basic_attribute; fg_intensity = bold + 2; // FOREGROUND (FG): normal (2) or bright (3) @@ -540,21 +540,21 @@ void rainbow_video_device::display_char(bitmap_ind16 &bitmap, UINT8 code, int x, // INVERSION: background gets foreground intensity (reduced by 1). // _RELIES ON_ on_ previous evaluation of the BLINK signal (fg_intensity). - if (invert != 0) - { + if (invert != 0) + { back_intensity = fg_intensity - 1; // BG: normal => dim; dim => OFF; bright => normal if (back_intensity != 0) // FG: avoid 'black on black' - fg_intensity = 0; + fg_intensity = 0; else - fg_intensity = fg_intensity + 1; // FG: dim => normal; normal => bright + fg_intensity = fg_intensity + 1; // FG: dim => normal; normal => bright } // BG: DEFAULT for entire character (underline overrides this for 1 line) - back_default_intensity = back_intensity; bool double_width = (display_type != 3) ? true : false; // all except normal: double width - bool double_height = (display_type & 1) ? false : true; // 0,2 = double height + bool double_height = (display_type & 1) ? false : true; // 0,2 = double height for (int i = 0; i < 10; i++) { @@ -563,17 +563,17 @@ void rainbow_video_device::display_char(bitmap_ind16 &bitmap, UINT8 code, int x, switch (display_type) { case 0 : // bottom half of 'double height, double width' char. - j = (i >> 1) + 5; + j = (i >> 1) + 5; break; case 2 : // top half of 'double height, double width' char. - j = (i >> 1); + j = (i >> 1); break; - default : // 1: double width - // 3: normal - j = i; - break; + default : // 1: double width + // 3: normal + j = i; + break; } // modify line since that is how it is stored in rom @@ -582,25 +582,25 @@ void rainbow_video_device::display_char(bitmap_ind16 &bitmap, UINT8 code, int x, line = m_gfx[ (code << 4) + j]; // code * 16 // UNDERLINED CHARACTERS (CASE 5 - different in 1 line): - back_intensity = back_default_intensity; // 0, 1, 2 + back_intensity = back_default_intensity; // 0, 1, 2 if ( underline != 0 ) { - if ( i == 8 ) + if ( i == 8 ) { - if (invert == 0) - line = 0xff; // CASE 5 A) - else - { line = 0x00; // CASE 5 B) - back_intensity = 0; // OVERRIDE: BLACK BACKGROUND - } - } - } + if (invert == 0) + line = 0xff; // CASE 5 A) + else + { line = 0x00; // CASE 5 B) + back_intensity = 0; // OVERRIDE: BLACK BACKGROUND + } + } + } for (int b = 0; b < 8; b++) // 0..7 { if (blank) - { bit = m_reverse_field ^ m_basic_attribute; - } + { bit = m_reverse_field ^ m_basic_attribute; + } else { bit = BIT((line << b), 7); @@ -614,13 +614,13 @@ void rainbow_video_device::display_char(bitmap_ind16 &bitmap, UINT8 code, int x, // Double, 'double_height + double_width', then normal. if (double_width) { - bitmap.pix16( y_preset, d_x_preset + (b << 1) + 1) = bit; + bitmap.pix16( y_preset, d_x_preset + (b << 1) + 1) = bit; bitmap.pix16( y_preset, d_x_preset + (b << 1) ) = bit; if (double_height) { - bitmap.pix16( 1 + y_preset, d_x_preset + (b << 1) + 1) = bit; - bitmap.pix16( 1 + y_preset, d_x_preset + (b << 1) ) = bit; + bitmap.pix16( 1 + y_preset, d_x_preset + (b << 1) + 1) = bit; + bitmap.pix16( 1 + y_preset, d_x_preset + (b << 1) ) = bit; } } else @@ -629,24 +629,24 @@ void rainbow_video_device::display_char(bitmap_ind16 &bitmap, UINT8 code, int x, } } // for (8 bit) - + // char interleave (X) is filled with last bit if (double_width) - { + { // double chars: 18 or 20 bits bitmap.pix16(y_preset, d_x_preset + 16) = bit; bitmap.pix16(y_preset, d_x_preset + 17) = bit; - if (m_columns == 80) - { bitmap.pix16(y_preset, d_x_preset + 18) = bit; - bitmap.pix16(y_preset, d_x_preset + 19) = bit; + if (m_columns == 80) + { bitmap.pix16(y_preset, d_x_preset + 18) = bit; + bitmap.pix16(y_preset, d_x_preset + 19) = bit; } } else { // normal chars: 9 or 10 bits bitmap.pix16(y_preset, x_preset + 8) = bit; - if (m_columns == 80) + if (m_columns == 80) bitmap.pix16(y_preset, x_preset + 9) = bit; } @@ -671,11 +671,11 @@ void rainbow_video_device::video_update(bitmap_ind16 &bitmap, const rectangle &c while (line < (m_height + m_skip_lines)) { code = m_in_ram_func(addr + xpos); - - if ( code == 0x00 ) // TODO: investigate side effect on regular zero character! - display_type |= 0x80; // DEFAULT: filler chars (till end of line) and empty lines (00) will be blanked + + if ( code == 0x00 ) // TODO: investigate side effect on regular zero character! + display_type |= 0x80; // DEFAULT: filler chars (till end of line) and empty lines (00) will be blanked else - display_type &= 0x7f; // else activate display. + display_type &= 0x7f; // else activate display. if ( code == 0xff ) { @@ -709,7 +709,7 @@ void rainbow_video_device::video_update(bitmap_ind16 &bitmap, const rectangle &c line++; } else - { + { // display regular char if (line >= m_skip_lines) { @@ -722,12 +722,12 @@ void rainbow_video_device::video_update(bitmap_ind16 &bitmap, const rectangle &c // 0 = display char. w. BLINK (encoded as 32) // 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 ) @@ -738,29 +738,29 @@ void rainbow_video_device::video_update(bitmap_ind16 &bitmap, const rectangle &c } // (else) valid char } // while - + } - + void rainbow_video_device::palette_select ( int choice ) { switch(choice) { - default: - case 0x01: + default: + case 0x01: palette_set_color_rgb(machine(), 1, 0xff-100, 0xff-100, 0xff-100); // WHITE (dim) palette_set_color_rgb(machine(), 2, 0xff-50, 0xff-50, 0xff-50); // WHITE NORMAL - palette_set_color_rgb(machine(), 3, 0xff, 0xff, 0xff); // WHITE (brighter) + palette_set_color_rgb(machine(), 3, 0xff, 0xff, 0xff); // WHITE (brighter) break; case 0x02: palette_set_color_rgb(machine(), 1, 0 , 205 -50, 100 - 50); // GREEN (dim) - palette_set_color_rgb(machine(), 2, 0 , 205, 100 ); // GREEN (NORMAL) + palette_set_color_rgb(machine(), 2, 0 , 205, 100 ); // GREEN (NORMAL) palette_set_color_rgb(machine(), 3, 0, 205 +50, 100 + 50); // GREEN (brighter) break; - case 0x03: + case 0x03: palette_set_color_rgb(machine(), 1, 213 - 47, 146 - 47, 82 - 47); // AMBER (dim) palette_set_color_rgb(machine(), 2, 213, 146, 82 ); // AMBER (NORMAL) palette_set_color_rgb(machine(), 3, 255, 193, 129 ); // AMBER (brighter) @@ -772,8 +772,8 @@ void rainbow_video_device::palette_select ( int choice ) void rainbow_video_device::video_blanking(bitmap_ind16 &bitmap, const rectangle &cliprect) { // 'In reverse screen mode, termination forces the beam to the screen background intensity' - // Background intensity means 'dim' (1) according to one source. - bitmap.fill( ((m_reverse_field ^ m_basic_attribute) ? 1 : 0) , cliprect); + // Background intensity means 'dim' (1) according to one source. + bitmap.fill( ((m_reverse_field ^ m_basic_attribute) ? 1 : 0) , cliprect); } @@ -781,21 +781,21 @@ void rainbow_video_device::video_blanking(bitmap_ind16 &bitmap, const rectangle int rainbow_video_device::MHFU(int ASK) { switch (ASK) - { - case 1: // "true": RETURN BOOLEAN (MHFU disabled or enabled?) + { + case 1: // "true": RETURN BOOLEAN (MHFU disabled or enabled?) return MHFU_FLAG; - case -1: // -1: increment, return counter value (=> Rainbow.c) - if (MHFU_FLAG == true) - MHFU_counter++; + case -1: // -1: increment, return counter value (=> Rainbow.c) + if (MHFU_FLAG == true) + MHFU_counter++; return MHFU_counter; - case -100: // -100 : RESET and ENABLE MHFU counter - //printf("-100 MHFU * reset and ENABLE * \n"); + case -100: // -100 : RESET and ENABLE MHFU counter + //printf("-100 MHFU * reset and ENABLE * \n"); MHFU_counter = 0; - //if (MHFU_FLAG == false) - // printf("-100 MHFU ___ENABLED___\n"); + //if (MHFU_FLAG == false) + // printf("-100 MHFU ___ENABLED___\n"); MHFU_FLAG = true; return -100; |
