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

« back to all changes in this revision

Viewing changes to src/emu/cpu/m6800/m6800.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:
2678
2678
                case CPUINFO_INT_CONTEXT_SIZE:                                  info->i = sizeof(m6800_state);                  break;
2679
2679
                case CPUINFO_INT_INPUT_LINES:                                   info->i = 2;                                                    break;
2680
2680
                case CPUINFO_INT_DEFAULT_IRQ_VECTOR:                    info->i = 0;                                                    break;
2681
 
                case CPUINFO_INT_ENDIANNESS:                                    info->i = ENDIANNESS_BIG;                               break;
 
2681
                case DEVINFO_INT_ENDIANNESS:                                    info->i = ENDIANNESS_BIG;                               break;
2682
2682
                case CPUINFO_INT_CLOCK_MULTIPLIER:                              info->i = 1;                                                    break;
2683
2683
                case CPUINFO_INT_CLOCK_DIVIDER:                                 info->i = 1;                                                    break;
2684
2684
                case CPUINFO_INT_MIN_INSTRUCTION_BYTES:                 info->i = 1;                                                    break;
2723
2723
                case CPUINFO_PTR_INSTRUCTION_COUNTER:                   info->icount = &cpustate->icount;                       break;
2724
2724
 
2725
2725
                /* --- the following bits of info are returned as NULL-terminated strings --- */
2726
 
                case CPUINFO_STR_NAME:                                                  strcpy(info->s, "M6800");                               break;
2727
 
                case CPUINFO_STR_CORE_FAMILY:                                   strcpy(info->s, "Motorola 6800");               break;
2728
 
                case CPUINFO_STR_CORE_VERSION:                                  strcpy(info->s, "1.1");                                 break;
2729
 
                case CPUINFO_STR_CORE_FILE:                                             strcpy(info->s, __FILE__);                              break;
2730
 
                case CPUINFO_STR_CORE_CREDITS:                                  strcpy(info->s, "The MAME team.");              break;
 
2726
                case DEVINFO_STR_NAME:                                                  strcpy(info->s, "M6800");                               break;
 
2727
                case DEVINFO_STR_FAMILY:                                        strcpy(info->s, "Motorola 6800");               break;
 
2728
                case DEVINFO_STR_VERSION:                                       strcpy(info->s, "1.1");                                 break;
 
2729
                case DEVINFO_STR_SOURCE_FILE:                                           strcpy(info->s, __FILE__);                              break;
 
2730
                case DEVINFO_STR_CREDITS:                                       strcpy(info->s, "The MAME team.");              break;
2731
2731
 
2732
2732
                case CPUINFO_STR_FLAGS:
2733
2733
                        sprintf(info->s, "%c%c%c%c%c%c%c%c",
2771
2771
                case CPUINFO_FCT_DISASSEMBLE:                                   info->disassemble = CPU_DISASSEMBLE_NAME(m6801);                        break;
2772
2772
 
2773
2773
                /* --- the following bits of info are returned as NULL-terminated strings --- */
2774
 
                case CPUINFO_STR_NAME:                                                  strcpy(info->s, "M6801");                               break;
 
2774
                case DEVINFO_STR_NAME:                                                  strcpy(info->s, "M6801");                               break;
2775
2775
 
2776
2776
                default:                                                                                CPU_GET_INFO_CALL(m6800);                               break;
2777
2777
        }
2794
2794
                case CPUINFO_FCT_DISASSEMBLE:                                   info->disassemble = CPU_DISASSEMBLE_NAME(m6802);                        break;
2795
2795
 
2796
2796
                /* --- the following bits of info are returned as NULL-terminated strings --- */
2797
 
                case CPUINFO_STR_NAME:                                                  strcpy(info->s, "M6802");                               break;
 
2797
                case DEVINFO_STR_NAME:                                                  strcpy(info->s, "M6802");                               break;
2798
2798
 
2799
2799
                default:                                                                                CPU_GET_INFO_CALL(m6800);                               break;
2800
2800
        }
2822
2822
                case CPUINFO_PTR_INTERNAL_MEMORY_MAP_PROGRAM: info->internal_map8 = ADDRESS_MAP_NAME(m6803_mem); break;
2823
2823
 
2824
2824
                /* --- the following bits of info are returned as NULL-terminated strings --- */
2825
 
                case CPUINFO_STR_NAME:                                                  strcpy(info->s, "M6803");                               break;
 
2825
                case DEVINFO_STR_NAME:                                                  strcpy(info->s, "M6803");                               break;
2826
2826
 
2827
2827
                default:                                                                                CPU_GET_INFO_CALL(m6800);                               break;
2828
2828
        }
2845
2845
                case CPUINFO_FCT_DISASSEMBLE:                                   info->disassemble = CPU_DISASSEMBLE_NAME(m6808);                        break;
2846
2846
 
2847
2847
                /* --- the following bits of info are returned as NULL-terminated strings --- */
2848
 
                case CPUINFO_STR_NAME:                                                  strcpy(info->s, "M6808");                               break;
 
2848
                case DEVINFO_STR_NAME:                                                  strcpy(info->s, "M6808");                               break;
2849
2849
 
2850
2850
                default:                                                                                CPU_GET_INFO_CALL(m6800);                               break;
2851
2851
        }
2871
2871
                case CPUINFO_FCT_DISASSEMBLE:                                   info->disassemble = CPU_DISASSEMBLE_NAME(hd63701);              break;
2872
2872
 
2873
2873
                /* --- the following bits of info are returned as NULL-terminated strings --- */
2874
 
                case CPUINFO_STR_NAME:                                                  strcpy(info->s, "HD63701");                             break;
 
2874
                case DEVINFO_STR_NAME:                                                  strcpy(info->s, "HD63701");                             break;
2875
2875
 
2876
2876
                default:                                                                                CPU_GET_INFO_CALL(m6800);                               break;
2877
2877
        }
2895
2895
                case CPUINFO_FCT_DISASSEMBLE:                                   info->disassemble = CPU_DISASSEMBLE_NAME(nsc8105);              break;
2896
2896
 
2897
2897
                /* --- the following bits of info are returned as NULL-terminated strings --- */
2898
 
                case CPUINFO_STR_NAME:                                                  strcpy(info->s, "NSC8105");                             break;
 
2898
                case DEVINFO_STR_NAME:                                                  strcpy(info->s, "NSC8105");                             break;
2899
2899
 
2900
2900
                default:                                                                                CPU_GET_INFO_CALL(m6800);                               break;
2901
2901
        }