src/emu/cpu/cop400/cop410.c
| r2811 | r2812 | |
| 13 | 13 | |
| 14 | 14 | TODO: |
| 15 | 15 | |
| 16 | - run interrupt test suite |
| 17 | - run production test suite |
| 18 | - run microbus test suite |
| 16 | 19 | - remove LBIops |
| 17 | | - run all test suites |
| 18 | 20 | |
| 19 | 21 | */ |
| 20 | 22 | |
| r2811 | r2812 | |
| 35 | 37 | |
| 36 | 38 | typedef struct |
| 37 | 39 | { |
| 40 | const cop400_interface *intf; |
| 41 | |
| 38 | 42 | UINT9 PC; |
| 39 | 43 | UINT9 PREVPC; |
| 40 | 44 | UINT4 A; |
| r2811 | r2812 | |
| 50 | 54 | UINT8 G_mask; |
| 51 | 55 | UINT8 D_mask; |
| 52 | 56 | UINT8 si; |
| 57 | int microbus_int; |
| 58 | int halt; |
| 53 | 59 | } COP410_Regs; |
| 54 | 60 | |
| 55 | 61 | static COP410_Regs R; |
| r2811 | r2812 | |
| 119 | 125 | {1, illegal },{1, skgz },{1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal }, |
| 120 | 126 | {1, illegal },{1, illegal },{1, ing },{1, illegal },{1, illegal },{1, illegal },{1, inl },{1, illegal }, |
| 121 | 127 | {1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal }, |
| 122 | | {1, illegal },{1, illegal },{1, omg },{1, illegal },{1, camq },{1, illegal },{1, obd },{1, illegal }, |
| 128 | {1, halt },{1, illegal },{1, omg },{1, illegal },{1, camq },{1, illegal },{1, obd },{1, illegal }, |
| 123 | 129 | |
| 124 | 130 | {1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal }, |
| 125 | 131 | {1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal },{1, illegal }, |
| r2811 | r2812 | |
| 197 | 203 | |
| 198 | 204 | /* Memory Maps */ |
| 199 | 205 | |
| 200 | | static ADDRESS_MAP_START( cop410_internal_rom, ADDRESS_SPACE_DATA, 8 ) |
| 206 | static ADDRESS_MAP_START( cop410_internal_rom, ADDRESS_SPACE_PROGRAM, 8 ) |
| 201 | 207 | AM_RANGE(0x000, 0x1ff) AM_ROM |
| 202 | 208 | ADDRESS_MAP_END |
| 203 | 209 | |
| r2811 | r2812 | |
| 213 | 219 | int i; |
| 214 | 220 | |
| 215 | 221 | memset(&R, 0, sizeof(R)); |
| 216 | | R.G_mask = 0x0F; |
| 217 | | R.D_mask = 0x0F; |
| 218 | 222 | |
| 223 | R.intf = (cop400_interface *) config; |
| 224 | |
| 225 | assert(R.intf != NULL); |
| 226 | |
| 227 | /* set output pin masks */ |
| 228 | |
| 229 | R.G_mask = 0x0f; |
| 230 | R.D_mask = 0x0f; |
| 231 | |
| 232 | /* set clock divider */ |
| 233 | |
| 234 | cpunum_set_info_int(index, CPUINFO_INT_CLOCK_DIVIDER, R.intf->cki); |
| 235 | |
| 236 | /* allocate serial timer */ |
| 237 | |
| 219 | 238 | cop410_serial_timer = timer_alloc(cop410_serial_tick, NULL); |
| 220 | 239 | timer_adjust_periodic(cop410_serial_timer, attotime_zero, index, ATTOTIME_IN_HZ(clock)); |
| 221 | 240 | |
| 241 | /* initialize instruction length array */ |
| 242 | |
| 222 | 243 | for (i=0; i<256; i++) InstLen[i]=1; |
| 223 | 244 | |
| 224 | 245 | InstLen[0x60] = InstLen[0x61] = InstLen[0x68] = InstLen[0x69] = InstLen[0x33] = InstLen[0x23] = 2; |
| 225 | 246 | |
| 247 | /* initialize LBI opcode array */ |
| 248 | |
| 226 | 249 | for (i=0; i<256; i++) LBIops[i] = 0; |
| 227 | 250 | for (i=0x08; i<0x10; i++) LBIops[i] = 1; |
| 228 | 251 | for (i=0x18; i<0x20; i++) LBIops[i] = 1; |
| 229 | 252 | for (i=0x28; i<0x30; i++) LBIops[i] = 1; |
| 230 | 253 | for (i=0x38; i<0x40; i++) LBIops[i] = 1; |
| 231 | 254 | |
| 255 | /* register for state saving */ |
| 256 | |
| 232 | 257 | state_save_register_item("cop410", index, PC); |
| 233 | 258 | state_save_register_item("cop410", index, R.PREVPC); |
| 234 | 259 | state_save_register_item("cop410", index, A); |
| r2811 | r2812 | |
| 246 | 271 | state_save_register_item("cop410", index, R.G_mask); |
| 247 | 272 | state_save_register_item("cop410", index, R.D_mask); |
| 248 | 273 | state_save_register_item("cop410", index, R.si); |
| 274 | state_save_register_item("cop410", index, R.microbus_int); |
| 275 | state_save_register_item("cop410", index, R.halt); |
| 249 | 276 | } |
| 250 | 277 | |
| 251 | 278 | static void cop411_init(int index, int clock, const void *config, int (*irqcallback)(int)) |
| r2811 | r2812 | |
| 269 | 296 | OUT_D(0); |
| 270 | 297 | EN = 0; |
| 271 | 298 | WRITE_G(0); |
| 299 | |
| 300 | R.halt = 0; |
| 272 | 301 | } |
| 273 | 302 | |
| 274 | 303 | /**************************************************************************** |
| r2811 | r2812 | |
| 286 | 315 | |
| 287 | 316 | CALL_DEBUGGER(PC); |
| 288 | 317 | |
| 318 | if (R.intf->cko == COP400_CKO_HALT_IO_PORT) |
| 319 | { |
| 320 | R.halt = IN_CKO(); |
| 321 | } |
| 322 | |
| 323 | if (R.halt) continue; |
| 324 | |
| 289 | 325 | opcode = ROM(PC); |
| 290 | 326 | |
| 291 | 327 | if (skipLBI == 1) |
| r2811 | r2812 | |
| 470 | 506 | |
| 471 | 507 | void cop411_get_info(UINT32 state, cpuinfo *info) |
| 472 | 508 | { |
| 473 | | // COP411 is a 20-pin package version of the COP410, lacking some ports |
| 509 | // COP411 is a 20-pin package version of the COP410, missing D2/D3/G3/CKO |
| 474 | 510 | |
| 475 | 511 | switch (state) |
| 476 | 512 | { |
src/emu/cpu/cop400/cop420.c
| r2811 | r2812 | |
| 13 | 13 | |
| 14 | 14 | TODO: |
| 15 | 15 | |
| 16 | - when is the microbus int cleared? |
| 16 | 17 | - run interrupt test suite |
| 17 | 18 | - run production test suite |
| 19 | - run microbus test suite |
| 18 | 20 | - remove LBIops |
| 21 | - move cop440 stuff to cop440.c |
| 19 | 22 | |
| 20 | 23 | */ |
| 21 | 24 | |
| r2811 | r2812 | |
| 36 | 39 | |
| 37 | 40 | typedef struct |
| 38 | 41 | { |
| 42 | const cop400_interface *intf; |
| 43 | |
| 39 | 44 | UINT10 PC; |
| 40 | 45 | UINT10 PREVPC; |
| 41 | 46 | UINT4 A; |
| r2811 | r2812 | |
| 56 | 61 | UINT4 in[4]; |
| 57 | 62 | UINT8 si; |
| 58 | 63 | int last_skip; |
| 64 | int microbus_int; |
| 65 | int halt; |
| 59 | 66 | } COP420_Regs; |
| 60 | 67 | |
| 61 | 68 | static COP420_Regs R; |
| r2811 | r2812 | |
| 68 | 75 | static emu_timer *cop420_serial_timer; |
| 69 | 76 | static emu_timer *cop420_counter_timer; |
| 70 | 77 | static emu_timer *cop420_inil_timer; |
| 78 | static emu_timer *cop420_microbus_timer; |
| 71 | 79 | |
| 72 | 80 | #include "420ops.c" |
| 73 | 81 | |
| r2811 | r2812 | |
| 206 | 214 | |
| 207 | 215 | /* Memory Maps */ |
| 208 | 216 | |
| 209 | | static ADDRESS_MAP_START( cop420_internal_rom, ADDRESS_SPACE_DATA, 8 ) |
| 217 | static ADDRESS_MAP_START( cop420_internal_rom, ADDRESS_SPACE_PROGRAM, 8 ) |
| 210 | 218 | AM_RANGE(0x000, 0x3ff) AM_ROM |
| 211 | 219 | ADDRESS_MAP_END |
| 212 | 220 | |
| r2811 | r2812 | |
| 214 | 222 | AM_RANGE(0x00, 0x3f) AM_RAM |
| 215 | 223 | ADDRESS_MAP_END |
| 216 | 224 | |
| 217 | | static ADDRESS_MAP_START( cop444_internal_rom, ADDRESS_SPACE_DATA, 8 ) |
| 218 | | AM_RANGE(0x000, 0x7ff) AM_ROM |
| 219 | | ADDRESS_MAP_END |
| 220 | | |
| 221 | | static ADDRESS_MAP_START( cop444_internal_ram, ADDRESS_SPACE_DATA, 8 ) |
| 222 | | AM_RANGE(0x00, 0x7f) AM_RAM |
| 223 | | ADDRESS_MAP_END |
| 224 | | |
| 225 | 225 | /* Binary Counter */ |
| 226 | 226 | |
| 227 | 227 | static TIMER_CALLBACK(cop420_counter_tick) |
| r2811 | r2812 | |
| 253 | 253 | } |
| 254 | 254 | } |
| 255 | 255 | |
| 256 | /* Microbus */ |
| 257 | |
| 258 | static TIMER_CALLBACK(cop420_microbus_tick) |
| 259 | { |
| 260 | UINT8 in = IN_IN(); |
| 261 | |
| 262 | if (!BIT(in, 2)) |
| 263 | { |
| 264 | // chip select |
| 265 | |
| 266 | if (!BIT(in, 1)) |
| 267 | { |
| 268 | // read strobe |
| 269 | |
| 270 | OUT_L(Q); |
| 271 | |
| 272 | R.microbus_int = 1; |
| 273 | } |
| 274 | else if (!BIT(in, 3)) |
| 275 | { |
| 276 | // write strobe |
| 277 | |
| 278 | Q = IN_L(); |
| 279 | |
| 280 | R.microbus_int = 0; |
| 281 | } |
| 282 | } |
| 283 | } |
| 284 | |
| 256 | 285 | /**************************************************************************** |
| 257 | 286 | * Initialize emulation |
| 258 | 287 | ****************************************************************************/ |
| r2811 | r2812 | |
| 261 | 290 | int i; |
| 262 | 291 | |
| 263 | 292 | memset(&R, 0, sizeof(R)); |
| 264 | | R.G_mask = 0x0F; |
| 265 | | R.D_mask = 0x0F; |
| 266 | 293 | |
| 294 | R.intf = (cop400_interface *) config; |
| 295 | |
| 296 | assert(R.intf != NULL); |
| 297 | |
| 298 | /* set output pin masks */ |
| 299 | |
| 300 | R.G_mask = 0x0f; |
| 301 | R.D_mask = 0x0f; |
| 302 | |
| 303 | /* set clock divider */ |
| 304 | |
| 305 | cpunum_set_info_int(index, CPUINFO_INT_CLOCK_DIVIDER, R.intf->cki); |
| 306 | |
| 307 | /* allocate serial timer */ |
| 308 | |
| 267 | 309 | cop420_serial_timer = timer_alloc(cop410_serial_tick, NULL); |
| 268 | 310 | timer_adjust_periodic(cop420_serial_timer, attotime_zero, index, ATTOTIME_IN_HZ(clock)); |
| 269 | 311 | |
| 312 | /* allocate counter timer */ |
| 313 | |
| 270 | 314 | cop420_counter_timer = timer_alloc(cop420_counter_tick, NULL); |
| 271 | 315 | timer_adjust_periodic(cop420_counter_timer, attotime_zero, index, ATTOTIME_IN_HZ(clock)); |
| 272 | 316 | |
| 317 | /* allocate IN latch timer */ |
| 318 | |
| 273 | 319 | cop420_inil_timer = timer_alloc(cop420_inil_tick, NULL); |
| 274 | 320 | timer_adjust_periodic(cop420_inil_timer, attotime_zero, index, ATTOTIME_IN_HZ(clock)); |
| 275 | 321 | |
| 322 | /* allocate Microbus timer */ |
| 323 | |
| 324 | if (R.intf->microbus == COP400_MICROBUS_ENABLED) |
| 325 | { |
| 326 | cop420_microbus_timer = timer_alloc(cop420_microbus_tick, NULL); |
| 327 | timer_adjust_periodic(cop420_microbus_timer, attotime_zero, index, ATTOTIME_IN_HZ(clock)); |
| 328 | } |
| 329 | |
| 330 | /* initialize instruction length array */ |
| 331 | |
| 276 | 332 | for (i=0; i<256; i++) InstLen[i]=1; |
| 277 | 333 | |
| 278 | 334 | InstLen[0x60] = InstLen[0x61] = InstLen[0x62] = InstLen[0x63] = |
| 279 | 335 | InstLen[0x68] = InstLen[0x69] = InstLen[0x6a] = InstLen[0x6b] = |
| 280 | 336 | InstLen[0x33] = InstLen[0x23] = 2; |
| 281 | 337 | |
| 338 | /* initialize LBI opcode array */ |
| 339 | |
| 282 | 340 | for (i=0; i<256; i++) LBIops[i] = 0; |
| 283 | 341 | for (i=0x08; i<0x10; i++) LBIops[i] = 1; |
| 284 | 342 | for (i=0x18; i<0x20; i++) LBIops[i] = 1; |
| r2811 | r2812 | |
| 288 | 346 | for (i=0; i<256; i++) LBIops33[i] = 0; |
| 289 | 347 | for (i=0x80; i<0xc0; i++) LBIops33[i] = 1; |
| 290 | 348 | |
| 349 | /* register for state saving */ |
| 350 | |
| 291 | 351 | state_save_register_item("cop420", index, PC); |
| 292 | 352 | state_save_register_item("cop420", index, R.PREVPC); |
| 293 | 353 | state_save_register_item("cop420", index, A); |
| r2811 | r2812 | |
| 310 | 370 | state_save_register_item("cop420", index, R.si); |
| 311 | 371 | state_save_register_item("cop420", index, R.last_skip); |
| 312 | 372 | state_save_register_item_array("cop420", index, R.in); |
| 373 | state_save_register_item("cop420", index, R.microbus_int); |
| 374 | state_save_register_item("cop420", index, R.halt); |
| 313 | 375 | } |
| 314 | 376 | |
| 315 | 377 | static void cop422_init(int index, int clock, const void *config, int (*irqcallback)(int)) |
| r2811 | r2812 | |
| 320 | 382 | R.D_mask = 0x0e; // only D2, D3 available |
| 321 | 383 | } |
| 322 | 384 | |
| 323 | | static void cop445_init(int index, int clock, const void *config, int (*irqcallback)(int)) |
| 324 | | { |
| 325 | | cop420_init(index, clock, config, irqcallback); |
| 326 | | |
| 327 | | R.G_mask = 0x07; |
| 328 | | R.D_mask = 0x03; |
| 329 | | } |
| 330 | | |
| 331 | 385 | /**************************************************************************** |
| 332 | 386 | * Reset registers to their initial values |
| 333 | 387 | ****************************************************************************/ |
| r2811 | r2812 | |
| 340 | 394 | OUT_D(0); |
| 341 | 395 | EN = 0; |
| 342 | 396 | WRITE_G(0); |
| 397 | |
| 398 | R.counter = 0; |
| 399 | R.timerlatch = 1; |
| 343 | 400 | } |
| 344 | 401 | |
| 345 | 402 | /**************************************************************************** |
| r2811 | r2812 | |
| 406 | 463 | skip = 0; |
| 407 | 464 | |
| 408 | 465 | // push next PC |
| 409 | | PUSH(PC + 1); |
| 466 | PUSH(PC); |
| 410 | 467 | |
| 411 | 468 | // jump to interrupt service routine |
| 412 | 469 | PC = 0x0ff; |
| r2811 | r2812 | |
| 630 | 687 | } |
| 631 | 688 | } |
| 632 | 689 | |
| 690 | /* COP44x */ |
| 691 | |
| 692 | static void cop426_init(int index, int clock, const void *config, int (*irqcallback)(int)) |
| 693 | { |
| 694 | cop420_init(index, clock, config, irqcallback); |
| 695 | |
| 696 | R.G_mask = 0x0e; // only G2, G3 available |
| 697 | R.D_mask = 0x0e; // only D2, D3 available |
| 698 | } |
| 699 | |
| 700 | static void cop445_init(int index, int clock, const void *config, int (*irqcallback)(int)) |
| 701 | { |
| 702 | cop420_init(index, clock, config, irqcallback); |
| 703 | |
| 704 | R.G_mask = 0x07; |
| 705 | R.D_mask = 0x03; |
| 706 | } |
| 707 | |
| 708 | static ADDRESS_MAP_START( cop424_internal_rom, ADDRESS_SPACE_PROGRAM, 8 ) |
| 709 | AM_RANGE(0x000, 0x3ff) AM_ROM |
| 710 | ADDRESS_MAP_END |
| 711 | |
| 712 | static ADDRESS_MAP_START( cop424_internal_ram, ADDRESS_SPACE_DATA, 8 ) |
| 713 | AM_RANGE(0x00, 0x3f) AM_RAM |
| 714 | ADDRESS_MAP_END |
| 715 | |
| 716 | static ADDRESS_MAP_START( cop444_internal_rom, ADDRESS_SPACE_PROGRAM, 8 ) |
| 717 | AM_RANGE(0x000, 0x7ff) AM_ROM |
| 718 | ADDRESS_MAP_END |
| 719 | |
| 720 | static ADDRESS_MAP_START( cop444_internal_ram, ADDRESS_SPACE_DATA, 8 ) |
| 721 | AM_RANGE(0x00, 0x7f) AM_RAM |
| 722 | ADDRESS_MAP_END |
| 723 | |
| 633 | 724 | void cop444_get_info(UINT32 state, cpuinfo *info) |
| 634 | 725 | { |
| 635 | | // COP444 is functionally equivalent to COP420, but with twice the RAM/ROM |
| 636 | | |
| 637 | 726 | switch (state) |
| 638 | 727 | { |
| 639 | 728 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| r2811 | r2812 | |
| 667 | 756 | } |
| 668 | 757 | } |
| 669 | 758 | |
| 759 | void cop424_get_info(UINT32 state, cpuinfo *info) |
| 760 | { |
| 761 | // COP424 is functionally equivalent to COP444, with only 1K ROM and 64x4 bytes RAM |
| 762 | |
| 763 | switch (state) |
| 764 | { |
| 765 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 766 | case CPUINFO_PTR_INTERNAL_MEMORY_MAP + ADDRESS_SPACE_PROGRAM: |
| 767 | info->internal_map8 = address_map_cop424_internal_rom; break; |
| 768 | case CPUINFO_PTR_INTERNAL_MEMORY_MAP + ADDRESS_SPACE_DATA: |
| 769 | info->internal_map8 = address_map_cop424_internal_ram; break; |
| 770 | |
| 771 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 772 | case CPUINFO_STR_NAME: strcpy(info->s, "COP424"); break; |
| 773 | case CPUINFO_STR_CORE_FAMILY: strcpy(info->s, "National Semiconductor COPS"); break; |
| 774 | |
| 775 | default: cop444_get_info(state, info); break; |
| 776 | } |
| 777 | } |
| 778 | |
| 779 | void cop425_get_info(UINT32 state, cpuinfo *info) |
| 780 | { |
| 781 | // COP425 is a 24-pin package version of the COP424, lacking the IN ports |
| 782 | |
| 783 | switch (state) |
| 784 | { |
| 785 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 786 | case CPUINFO_STR_NAME: strcpy(info->s, "COP425"); break; |
| 787 | case CPUINFO_STR_CORE_FAMILY: strcpy(info->s, "National Semiconductor COPS"); break; |
| 788 | |
| 789 | default: cop444_get_info(state, info); break; |
| 790 | } |
| 791 | } |
| 792 | |
| 793 | void cop426_get_info(UINT32 state, cpuinfo *info) |
| 794 | { |
| 795 | // COP426 is a 20-pin package version of the COP424, with only L0-L7, G2-G3, D2-D3 ports |
| 796 | |
| 797 | switch (state) |
| 798 | { |
| 799 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 800 | case CPUINFO_PTR_INIT: info->init = cop426_init; break; |
| 801 | |
| 802 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 803 | case CPUINFO_STR_NAME: strcpy(info->s, "COP426"); break; |
| 804 | case CPUINFO_STR_CORE_FAMILY: strcpy(info->s, "National Semiconductor COPS"); break; |
| 805 | |
| 806 | default: cop444_get_info(state, info); break; |
| 807 | } |
| 808 | } |
| 809 | |
| 670 | 810 | void cop404_get_info(UINT32 state, cpuinfo *info) |
| 671 | 811 | { |
| 672 | | // COP404 is a ROMless version of the COP444 |
| 812 | // COP404 is a ROMless version of the COP444, which can emulate a COP410 or a COP424 |
| 673 | 813 | |
| 674 | 814 | switch (state) |
| 675 | 815 | { |
src/emu/cpu/cop400/cop400.h
| r2811 | r2812 | |
| 2 | 2 | |
| 3 | 3 | cop400.h |
| 4 | 4 | |
| 5 | | National Semiconductor COP400 Emulator. |
| 5 | National Semiconductor COPS Emulator. |
| 6 | 6 | |
| 7 | 7 | Copyright Nicola Salmoria and the MAME Team. |
| 8 | 8 | Visit http://mamedev.org for licensing and usage restrictions. |
| r2811 | r2812 | |
| 35 | 35 | COP400_SKL |
| 36 | 36 | }; |
| 37 | 37 | |
| 38 | typedef enum _cop400_cki_bond cop400_cki_bond; |
| 39 | enum _cop400_cki_bond { |
| 40 | COP400_CKI_DIVISOR_4 = 4, |
| 41 | COP400_CKI_DIVISOR_8 = 8, |
| 42 | COP400_CKI_DIVISOR_16 = 16 |
| 43 | }; |
| 44 | |
| 45 | typedef enum _cop400_cko_bond cop400_cko_bond; |
| 46 | enum _cop400_cko_bond { |
| 47 | COP400_CKO_OSCILLATOR_OUTPUT = 0, |
| 48 | COP400_CKO_HALT_IO_PORT, |
| 49 | COP400_CKO_GENERAL_PURPOSE_INPUT |
| 50 | }; |
| 51 | |
| 52 | typedef enum _cop400_microbus cop400_microbus; |
| 53 | enum _cop400_microbus { |
| 54 | COP400_MICROBUS_DISABLED = 0, |
| 55 | COP400_MICROBUS_ENABLED |
| 56 | }; |
| 57 | |
| 58 | /* interface */ |
| 59 | typedef struct _cop400_interface cop400_interface; |
| 60 | struct _cop400_interface |
| 61 | { |
| 62 | cop400_cki_bond cki; /* CKI bonding option */ |
| 63 | cop400_cko_bond cko; /* CKO bonding option */ |
| 64 | cop400_microbus microbus; /* microbus option */ |
| 65 | }; |
| 66 | #define COP400_INTERFACE(name) const cop400_interface (name) = |
| 67 | |
| 68 | /* |
| 69 | |
| 70 | Prefix Temperature Range |
| 71 | |
| 72 | COP4xx 0C to 70C |
| 73 | COP3xx -40C to +85C |
| 74 | COP2xx -55C to +125C |
| 75 | |
| 76 | */ |
| 77 | |
| 78 | /* COP 41x */ |
| 38 | 79 | extern void cop401_get_info(UINT32 state, cpuinfo *info); |
| 39 | 80 | extern void cop410_get_info(UINT32 state, cpuinfo *info); |
| 40 | 81 | extern void cop411_get_info(UINT32 state, cpuinfo *info); |
| 41 | 82 | |
| 83 | /* COP 42x */ |
| 42 | 84 | extern void cop402_get_info(UINT32 state, cpuinfo *info); |
| 43 | 85 | extern void cop420_get_info(UINT32 state, cpuinfo *info); |
| 44 | 86 | extern void cop421_get_info(UINT32 state, cpuinfo *info); |
| 45 | 87 | extern void cop422_get_info(UINT32 state, cpuinfo *info); |
| 46 | 88 | |
| 89 | /* COP 44x */ |
| 47 | 90 | extern void cop404_get_info(UINT32 state, cpuinfo *info); |
| 91 | extern void cop424_get_info(UINT32 state, cpuinfo *info); |
| 92 | extern void cop425_get_info(UINT32 state, cpuinfo *info); |
| 93 | extern void cop426_get_info(UINT32 state, cpuinfo *info); |
| 48 | 94 | extern void cop444_get_info(UINT32 state, cpuinfo *info); |
| 49 | 95 | extern void cop445_get_info(UINT32 state, cpuinfo *info); |
| 50 | 96 | |