~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/emu/cpu/pdp1/pdp1.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
944
944
        case CPUINFO_INT_CONTEXT_SIZE:                                  info->i = sizeof(pdp1_state);                                   break;
945
945
        case CPUINFO_INT_INPUT_LINES:                                           info->i = 16;                                                   break;
946
946
        case CPUINFO_INT_DEFAULT_IRQ_VECTOR:                    info->i = 0;                                                    break;
947
 
        case CPUINFO_INT_ENDIANNESS:                                    info->i = ENDIANNESS_BIG;       /*don't care*/  break;
 
947
        case DEVINFO_INT_ENDIANNESS:                                    info->i = ENDIANNESS_BIG;       /*don't care*/  break;
948
948
        case CPUINFO_INT_CLOCK_MULTIPLIER:                              info->i = 1;                                                    break;
949
949
        case CPUINFO_INT_CLOCK_DIVIDER:                                 info->i = 1;                                                    break;
950
950
        case CPUINFO_INT_MIN_INSTRUCTION_BYTES:                 info->i = 4;                                                    break;
1031
1031
        case CPUINFO_PTR_INSTRUCTION_COUNTER:                   info->icount = &cpustate->icount;                       break;
1032
1032
 
1033
1033
        /* --- the following bits of info are returned as NULL-terminated strings --- */
1034
 
        case CPUINFO_STR_NAME:                                                  strcpy(info->s, "PDP1");        break;
1035
 
        case CPUINFO_STR_CORE_FAMILY:                                   strcpy(info->s, "DEC PDP-1");   break;
1036
 
        case CPUINFO_STR_CORE_VERSION:                                  strcpy(info->s, "2.0"); break;
1037
 
        case CPUINFO_STR_CORE_FILE:                                             strcpy(info->s, __FILE__);      break;
1038
 
        case CPUINFO_STR_CORE_CREDITS:                                  strcpy(info->s,
 
1034
        case DEVINFO_STR_NAME:                                                  strcpy(info->s, "PDP1");        break;
 
1035
        case DEVINFO_STR_FAMILY:                                        strcpy(info->s, "DEC PDP-1");   break;
 
1036
        case DEVINFO_STR_VERSION:                                       strcpy(info->s, "2.0"); break;
 
1037
        case DEVINFO_STR_SOURCE_FILE:                                           strcpy(info->s, __FILE__);      break;
 
1038
        case DEVINFO_STR_CREDITS:                                       strcpy(info->s,
1039
1039
                                                                                                                        "Brian Silverman (original Java Source)\n"
1040
1040
                                                                                                                        "Vadim Gerasimov (original Java Source)\n"
1041
1041
                                                                                                                        "Chris Salomon (MESS driver)\n"
1711
1711
        if (LOG_IOT_EXTRA)
1712
1712
        {
1713
1713
                if (op2 == 000)
1714
 
                        logerror("IOT sync instruction: mb=0%06o, pc=0%06o\n", (unsigned) mb, (unsigned) cpu_get_reg(device->machine->cpu[0], PDP1_PC));
 
1714
                        logerror("IOT sync instruction: mb=0%06o, pc=0%06o\n", (unsigned) mb, (unsigned) cpu_get_reg(device, PDP1_PC));
1715
1715
        }
1716
1716
        if (LOG)
1717
1717
        {