src/mess/machine/conkort.c
| r9088 | r9089 | |
| 178 | 178 | --------------- |
| 179 | 179 | - status bit 0 (busy) |
| 180 | 180 | - SW2 reading |
| 181 | | - "track 0 sector 25 not found!" |
| 181 | - "track 0 sector 25 not found!" -> SW2 options were wrong, though always ABC838 |
| 182 | - INT/NMI to ABC800 ? |
| 183 | - Z80 DMA INT on end of block ? |
| 182 | 184 | |
| 183 | 185 | */ |
| 184 | 186 | |
| r9088 | r9089 | |
| 222 | 224 | int wait_enable; /* wait enable */ |
| 223 | 225 | |
| 224 | 226 | /* devices */ |
| 227 | running_device *bus; |
| 225 | 228 | running_device *cpu; |
| 226 | 229 | running_device *z80pio; |
| 227 | 230 | running_device *fd1791; |
| r9088 | r9089 | |
| 241 | 244 | int busy; /* busy bit */ |
| 242 | 245 | |
| 243 | 246 | /* devices */ |
| 247 | running_device *bus; |
| 244 | 248 | running_device *cpu; |
| 245 | 249 | running_device *z80dma; |
| 246 | 250 | running_device *wd1793; |
| r9088 | r9089 | |
| 266 | 270 | return (fast_t *)downcast<legacy_device_base *>(device)->token(); |
| 267 | 271 | } |
| 268 | 272 | |
| 273 | INLINE conkort_config *get_safe_config(running_device *device) |
| 274 | { |
| 275 | assert(device != NULL); |
| 276 | assert((device->type() == LUXOR_55_10828) || (device->type() == LUXOR_55_21046)); |
| 277 | return (conkort_config *)downcast<const legacy_device_config_base &>(device->baseconfig()).inline_config(); |
| 278 | } |
| 279 | |
| 269 | 280 | /*************************************************************************** |
| 270 | 281 | IMPLEMENTATION |
| 271 | 282 | ***************************************************************************/ |
| r9088 | r9089 | |
| 416 | 427 | |
| 417 | 428 | slow_t *conkort = get_safe_token_slow(device->owner()); |
| 418 | 429 | |
| 419 | | conkort->status = data; |
| 430 | /* interrupt */ |
| 431 | abcbus_int_w(conkort->bus, BIT(data, 0) ? CLEAR_LINE : ASSERT_LINE); |
| 432 | |
| 433 | conkort->status = data & 0xfe; |
| 420 | 434 | } |
| 421 | 435 | |
| 422 | 436 | static READ8_DEVICE_HANDLER( slow_fdc_r ) |
| r9088 | r9089 | |
| 432 | 446 | |
| 433 | 447 | switch (offset & 0x03) |
| 434 | 448 | { |
| 435 | | case 0: data = wd17xx_status_r(device, 0); |
| 436 | | case 1: data = wd17xx_track_r(device, 0); |
| 437 | | case 2: data = wd17xx_sector_r(device, 0); |
| 438 | | case 3: data = wd17xx_data_r(device, 0); |
| 449 | case 0: data = wd17xx_status_r(device, 0); break; |
| 450 | case 1: data = wd17xx_track_r(device, 0); break; |
| 451 | case 2: data = wd17xx_sector_r(device, 0); break; |
| 452 | case 3: data = wd17xx_data_r(device, 0); break; |
| 439 | 453 | } |
| 440 | 454 | |
| 441 | 455 | /* FD1791 has inverted data lines */ |
| r9088 | r9089 | |
| 459 | 473 | switch (offset & 0x03) |
| 460 | 474 | { |
| 461 | 475 | case 0: wd17xx_command_w(device, 0, data); break; |
| 462 | | case 1: wd17xx_track_w(device, 0, data); break; |
| 463 | | case 2: wd17xx_sector_w(device, 0, data); break; |
| 464 | | case 3: wd17xx_data_w(device, 0, data); break; |
| 476 | case 1: wd17xx_track_w(device, 0, data); break; |
| 477 | case 2: wd17xx_sector_w(device, 0, data); break; |
| 478 | case 3: wd17xx_data_w(device, 0, data); break; |
| 465 | 479 | } |
| 466 | 480 | } |
| 467 | 481 | |
| r9088 | r9089 | |
| 716 | 730 | data |= BIT(sw1, 3) << 7; |
| 717 | 731 | |
| 718 | 732 | /* SW2 */ |
| 719 | | /* UINT8 sw2 = input_port_read(device->machine, "abc830:SW2"); |
| 733 | UINT8 sw2 = input_port_read(device->machine, "abc830:SW2"); |
| 720 | 734 | |
| 721 | 735 | int sw2_1 = BIT(offset, 8) & BIT(sw2, 0); |
| 722 | 736 | int sw2_2 = BIT(offset, 9) & BIT(sw2, 1); |
| r9088 | r9089 | |
| 724 | 738 | int sw2_4 = BIT(offset, 11) & BIT(sw2, 3); |
| 725 | 739 | int sw2_data = !(sw2_1 & sw2_2 & !(sw2_3 ^ sw2_4)); |
| 726 | 740 | |
| 727 | | data |= sw2_data << 2;*/ |
| 741 | data |= sw2_data << 2; |
| 728 | 742 | |
| 729 | 743 | return data ^ 0xff; |
| 730 | 744 | } |
| r9088 | r9089 | |
| 793 | 807 | PORT_DIPSETTING( 0x0a, "DS DD 40" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2c) |
| 794 | 808 | |
| 795 | 809 | PORT_START("abc830:SW2") |
| 796 | | PORT_DIPNAME( 0x0f, 0x08, "Disk Drive" ) PORT_DIPLOCATION("SW2:1,2,3,4") |
| 797 | | PORT_DIPSETTING( 0x08, "BASF 6106/08 (ABC 830, 190 9206-16)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2d) |
| 798 | | PORT_DIPSETTING( 0x09, "MPI 51 (ABC 830, 190 9206-16)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2d) |
| 799 | | PORT_DIPSETTING( 0x04, "BASF 6118 (ABC 832, 190 9711-16)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2c) |
| 800 | | PORT_DIPSETTING( 0x03, "Micropolis 1015F (ABC 832, 190 9711-15)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2c) |
| 801 | | PORT_DIPSETTING( 0x05, "Micropolis 1115F (ABC 832, 190 9711-17)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2c) |
| 802 | | PORT_DIPSETTING( 0x01, "TEAC FD55F (ABC 834, 230 7802-01)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2c) |
| 803 | | PORT_DIPSETTING( 0x02, "BASF 6138 (ABC 850, 230 8440-15)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2c) |
| 804 | | PORT_DIPSETTING( 0x0e, "BASF 6105" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2e) |
| 805 | | PORT_DIPSETTING( 0x0f, "BASF 6106 (ABC 838, 230 8838-15)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2e) |
| 810 | PORT_DIPNAME( 0x0f, 0x0b, "Disk Drive" ) PORT_DIPLOCATION("SW2:1,2,3,4") |
| 811 | PORT_DIPSETTING( 0x07, "BASF 6106/08 (ABC 830, 190 9206-16)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2d) |
| 812 | PORT_DIPSETTING( 0x06, "MPI 51 (ABC 830, 190 9206-16)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2d) |
| 813 | PORT_DIPSETTING( 0x0b, "BASF 6118 (ABC 832, 190 9711-16)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2c) |
| 814 | PORT_DIPSETTING( 0x0c, "Micropolis 1015F (ABC 832, 190 9711-15)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2c) |
| 815 | PORT_DIPSETTING( 0x0a, "Micropolis 1115F (ABC 832, 190 9711-17)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2c) |
| 816 | PORT_DIPSETTING( 0x0e, "TEAC FD55F (ABC 834, 230 7802-01)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2c) |
| 817 | PORT_DIPSETTING( 0x0d, "BASF 6138 (ABC 850, 230 8440-15)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2c) |
| 818 | PORT_DIPSETTING( 0x01, "BASF 6105" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2e) |
| 819 | PORT_DIPSETTING( 0x00, "BASF 6106 (ABC 838, 230 8838-15)" ) PORT_CONDITION("abc830:SW3", 0x7f, PORTCOND_EQUALS, 0x2e) |
| 806 | 820 | |
| 807 | 821 | PORT_START("abc830:SW3") // controller card ABC bus address |
| 808 | 822 | PORT_DIPNAME( 0x7f, 0x2d, "Disk Drive" ) PORT_DIPLOCATION("SW3:1,2,3,4,5,6,7") |
| r9088 | r9089 | |
| 1150 | 1164 | static DEVICE_START( luxor_55_10828 ) |
| 1151 | 1165 | { |
| 1152 | 1166 | slow_t *conkort = get_safe_token_slow(device); |
| 1167 | const conkort_config *config = get_safe_config(device); |
| 1153 | 1168 | |
| 1154 | 1169 | /* find our CPU */ |
| 1155 | 1170 | conkort->cpu = device->subdevice(Z80_TAG); |
| 1156 | 1171 | |
| 1157 | 1172 | /* find devices */ |
| 1173 | conkort->bus = device->machine->device(config->bus_tag); |
| 1158 | 1174 | conkort->z80pio = device->subdevice(Z80PIO_TAG); |
| 1159 | 1175 | conkort->fd1791 = device->subdevice(FD1791_TAG); |
| 1160 | 1176 | conkort->image0 = device->subdevice(FLOPPY_0); |
| r9088 | r9089 | |
| 1200 | 1216 | switch (state) |
| 1201 | 1217 | { |
| 1202 | 1218 | /* --- the following bits of info are returned as 64-bit signed integers --- */ |
| 1203 | | case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = 0; break; |
| 1219 | case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = sizeof(conkort_config); break; |
| 1204 | 1220 | case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(slow_t); break; |
| 1205 | 1221 | |
| 1206 | 1222 | /* --- the following bits of info are returned as pointers --- */ |
| r9088 | r9089 | |
| 1228 | 1244 | static DEVICE_START( luxor_55_21046 ) |
| 1229 | 1245 | { |
| 1230 | 1246 | fast_t *conkort = get_safe_token_fast(device); |
| 1247 | const conkort_config *config = get_safe_config(device); |
| 1231 | 1248 | |
| 1232 | 1249 | /* find our CPU */ |
| 1233 | 1250 | conkort->cpu = device->subdevice(Z80_TAG); |
| 1234 | 1251 | |
| 1235 | 1252 | /* find devices */ |
| 1253 | conkort->bus = device->machine->device(config->bus_tag); |
| 1236 | 1254 | conkort->z80dma = device->subdevice(Z80DMA_TAG); |
| 1237 | 1255 | conkort->wd1793 = device->subdevice(SAB1793_TAG); |
| 1238 | 1256 | conkort->image0 = device->subdevice(FLOPPY_0); |
| r9088 | r9089 | |
| 1276 | 1294 | switch (state) |
| 1277 | 1295 | { |
| 1278 | 1296 | /* --- the following bits of info are returned as 64-bit signed integers --- */ |
| 1279 | | case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = 0; break; |
| 1297 | case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = sizeof(conkort_config); break; |
| 1280 | 1298 | case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(fast_t); break; |
| 1281 | 1299 | |
| 1282 | 1300 | /* --- the following bits of info are returned as pointers --- */ |
src/mess/machine/conkort.h
| r9088 | r9089 | |
| 11 | 11 | DECLARE_LEGACY_DEVICE(LUXOR_55_10828, luxor_55_10828); |
| 12 | 12 | DECLARE_LEGACY_DEVICE(LUXOR_55_21046, luxor_55_21046); |
| 13 | 13 | |
| 14 | | #define MDRV_LUXOR_55_10828_ADD(_tag) \ |
| 15 | | MDRV_DEVICE_ADD(_tag, LUXOR_55_10828, 0) |
| 14 | #define MDRV_LUXOR_55_10828_ADD(_tag, _bus_tag) \ |
| 15 | MDRV_DEVICE_ADD(_tag, LUXOR_55_10828, 0) \ |
| 16 | MDRV_DEVICE_CONFIG_DATAPTR(conkort_config, bus_tag, _bus_tag) |
| 16 | 17 | |
| 17 | | #define MDRV_LUXOR_55_21046_ADD(_tag) \ |
| 18 | | MDRV_DEVICE_ADD(_tag, LUXOR_55_21046, 0) |
| 18 | #define MDRV_LUXOR_55_21046_ADD(_tag, _bus_tag) \ |
| 19 | MDRV_DEVICE_ADD(_tag, LUXOR_55_21046, 0) \ |
| 20 | MDRV_DEVICE_CONFIG_DATAPTR(conkort_config, bus_tag, _bus_tag) |
| 19 | 21 | |
| 20 | 22 | #define LUXOR_55_10828_ABCBUS(_tag) \ |
| 21 | 23 | _tag, DEVCB_DEVICE_HANDLER(_tag, luxor_55_10828_cs_w), DEVCB_DEVICE_HANDLER(_tag, luxor_55_10828_stat_r), \ |
| r9088 | r9089 | |
| 28 | 30 | DEVCB_NULL, DEVCB_DEVICE_HANDLER(_tag, luxor_55_21046_c3_w), DEVCB_NULL, DEVCB_DEVICE_LINE(_tag, luxor_55_21046_rst_w) |
| 29 | 31 | |
| 30 | 32 | /*************************************************************************** |
| 33 | TYPE DEFINITIONS |
| 34 | ***************************************************************************/ |
| 35 | |
| 36 | typedef struct _conkort_config conkort_config; |
| 37 | struct _conkort_config |
| 38 | { |
| 39 | const char *bus_tag; /* bus device */ |
| 40 | }; |
| 41 | |
| 42 | /*************************************************************************** |
| 31 | 43 | PROTOTYPES |
| 32 | 44 | ***************************************************************************/ |
| 33 | 45 | /* configuration dips */ |
src/mess/machine/abcbus.c
| r9088 | r9089 | |
| 42 | 42 | struct _abcbus_t |
| 43 | 43 | { |
| 44 | 44 | abcbus_daisy_state *daisy_state; |
| 45 | |
| 46 | running_device *cpu; |
| 47 | |
| 48 | int resin; |
| 49 | int irq; |
| 50 | int nmi; |
| 51 | int rdy; |
| 45 | 52 | }; |
| 46 | 53 | |
| 47 | 54 | /*************************************************************************** |
| r9088 | r9089 | |
| 62 | 69 | return (const abcbus_daisy_chain *) device->baseconfig().static_config(); |
| 63 | 70 | } |
| 64 | 71 | |
| 72 | INLINE abcbus_config *get_safe_config(running_device *device) |
| 73 | { |
| 74 | assert(device != NULL); |
| 75 | assert(device->type() == ABCBUS); |
| 76 | return (abcbus_config *)downcast<const legacy_device_config_base &>(device->baseconfig()).inline_config(); |
| 77 | } |
| 78 | |
| 65 | 79 | /*************************************************************************** |
| 66 | 80 | IMPLEMENTATION |
| 67 | 81 | ***************************************************************************/ |
| r9088 | r9089 | |
| 158 | 172 | WRITE8_DEVICE_HANDLER( abcbus_c3_w ) { command_w(device, 2, data); } |
| 159 | 173 | WRITE8_DEVICE_HANDLER( abcbus_c4_w ) { command_w(device, 3, data); } |
| 160 | 174 | |
| 175 | WRITE_LINE_DEVICE_HANDLER( abcbus_resin_w ) |
| 176 | { |
| 177 | abcbus_t *abcbus = get_safe_token(device); |
| 178 | |
| 179 | if (abcbus->resin != state) |
| 180 | { |
| 181 | if (LOG) logerror("ABCBUS: '%s' RESIN %u\n", device->tag(), state); |
| 182 | |
| 183 | cpu_set_input_line(abcbus->cpu, INPUT_LINE_RESET, state); |
| 184 | abcbus->resin = state; |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | WRITE_LINE_DEVICE_HANDLER( abcbus_int_w ) |
| 189 | { |
| 190 | abcbus_t *abcbus = get_safe_token(device); |
| 191 | |
| 192 | if (abcbus->irq != state) |
| 193 | { |
| 194 | if (LOG) logerror("ABCBUS: '%s' INT %u\n", device->tag(), state); |
| 195 | |
| 196 | cpu_set_input_line(abcbus->cpu, INPUT_LINE_IRQ0, state); |
| 197 | abcbus->irq = state; |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | WRITE_LINE_DEVICE_HANDLER( abcbus_nmi_w ) |
| 202 | { |
| 203 | abcbus_t *abcbus = get_safe_token(device); |
| 204 | |
| 205 | if (abcbus->nmi != state) |
| 206 | { |
| 207 | if (LOG) logerror("ABCBUS: '%s' NMI %u\n", device->tag(), state); |
| 208 | |
| 209 | cpu_set_input_line(abcbus->cpu, INPUT_LINE_NMI, state); |
| 210 | abcbus->nmi = state; |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | WRITE_LINE_DEVICE_HANDLER( abcbus_rdy_w ) |
| 215 | { |
| 216 | abcbus_t *abcbus = get_safe_token(device); |
| 217 | |
| 218 | if (abcbus->rdy != state) |
| 219 | { |
| 220 | if (LOG) logerror("ABCBUS: '%s' RDY %u\n", device->tag(), state); |
| 221 | abcbus->rdy = state; |
| 222 | } |
| 223 | } |
| 224 | |
| 161 | 225 | /*------------------------------------------------- |
| 162 | 226 | DEVICE_START( abcbus ) |
| 163 | 227 | -------------------------------------------------*/ |
| r9088 | r9089 | |
| 166 | 230 | { |
| 167 | 231 | abcbus_t *abcbus = get_safe_token(device); |
| 168 | 232 | const abcbus_daisy_chain *daisy = get_interface(device); |
| 233 | const abcbus_config *config = get_safe_config(device); |
| 169 | 234 | |
| 170 | 235 | abcbus_daisy_state *head = NULL; |
| 171 | 236 | abcbus_daisy_state **tailptr = &head; |
| 172 | 237 | |
| 238 | /* get CPU */ |
| 239 | abcbus->cpu = device->machine->device(config->cpu_tag); |
| 240 | |
| 173 | 241 | /* create a linked list of devices */ |
| 174 | 242 | for ( ; daisy->tag != NULL; daisy++) |
| 175 | 243 | { |
| r9088 | r9089 | |
| 211 | 279 | { |
| 212 | 280 | /* --- the following bits of info are returned as 64-bit signed integers --- */ |
| 213 | 281 | case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(abcbus_t); break; |
| 214 | | case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = 0; break; |
| 282 | case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = sizeof(abcbus_config); break; |
| 215 | 283 | |
| 216 | 284 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 217 | 285 | case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(abcbus); break; |
src/mess/drivers/abc80x.c
| r9088 | r9089 | |
| 1180 | 1180 | MDRV_CASSETTE_ADD(CASSETTE_TAG, abc800_cassette_config) |
| 1181 | 1181 | |
| 1182 | 1182 | /* ABC bus */ |
| 1183 | | MDRV_ABCBUS_ADD(ABCBUS_TAG, abcbus_daisy) |
| 1184 | | MDRV_LUXOR_55_21046_ADD("abc830") |
| 1183 | MDRV_ABCBUS_ADD(ABCBUS_TAG, abcbus_daisy, Z80_TAG) |
| 1184 | MDRV_LUXOR_55_21046_ADD("abc830", ABCBUS_TAG) |
| 1185 | 1185 | |
| 1186 | 1186 | /* fake keyboard */ |
| 1187 | 1187 | MDRV_TIMER_ADD_PERIODIC("keyboard", keyboard_tick, USEC(2500)) |
| r9088 | r9089 | |
| 1222 | 1222 | MDRV_CASSETTE_ADD(CASSETTE_TAG, abc800_cassette_config) |
| 1223 | 1223 | |
| 1224 | 1224 | /* ABC bus */ |
| 1225 | | MDRV_ABCBUS_ADD(ABCBUS_TAG, abcbus_daisy) |
| 1226 | | MDRV_LUXOR_55_21046_ADD("abc830") |
| 1225 | MDRV_ABCBUS_ADD(ABCBUS_TAG, abcbus_daisy, Z80_TAG) |
| 1226 | MDRV_LUXOR_55_21046_ADD("abc830", ABCBUS_TAG) |
| 1227 | 1227 | |
| 1228 | 1228 | /* fake keyboard */ |
| 1229 | 1229 | MDRV_TIMER_ADD_PERIODIC("keyboard", keyboard_tick, USEC(2500)) |
| r9088 | r9089 | |
| 1264 | 1264 | MDRV_CASSETTE_ADD(CASSETTE_TAG, abc800_cassette_config) |
| 1265 | 1265 | |
| 1266 | 1266 | /* ABC bus */ |
| 1267 | | MDRV_ABCBUS_ADD(ABCBUS_TAG, abcbus_daisy) |
| 1268 | | MDRV_LUXOR_55_21046_ADD("abc830") |
| 1267 | MDRV_ABCBUS_ADD(ABCBUS_TAG, abcbus_daisy, Z80_TAG) |
| 1268 | MDRV_LUXOR_55_21046_ADD("abc830", ABCBUS_TAG) |
| 1269 | 1269 | |
| 1270 | 1270 | /* fake keyboard */ |
| 1271 | 1271 | MDRV_TIMER_ADD_PERIODIC("keyboard", keyboard_tick, USEC(2500)) |
| r9088 | r9089 | |
| 1303 | 1303 | MDRV_CASSETTE_ADD(CASSETTE_TAG, abc800_cassette_config) |
| 1304 | 1304 | |
| 1305 | 1305 | /* ABC bus */ |
| 1306 | | MDRV_ABCBUS_ADD(ABCBUS_TAG, abcbus_daisy) |
| 1307 | | MDRV_LUXOR_55_21046_ADD("abc830") |
| 1306 | MDRV_ABCBUS_ADD(ABCBUS_TAG, abcbus_daisy, Z80_TAG) |
| 1307 | MDRV_LUXOR_55_21046_ADD("abc830", ABCBUS_TAG) |
| 1308 | 1308 | |
| 1309 | 1309 | /* fake keyboard */ |
| 1310 | 1310 | MDRV_TIMER_ADD_PERIODIC("keyboard", keyboard_tick, USEC(2500)) |