Previous 199869 Revisions Next

r18107 Monday 24th September, 2012 at 07:54:59 UTC by Miodrag Milanović
Removed AS_DATA  on all variants and AS_IO on CPU variants not having IO lines (no whatsnew)
[src/emu/cpu/m6800]m6800.c
[src/mess/drivers]hx20.c

trunk/src/emu/cpu/m6800/m6800.c
r18106r18107
10481048
10491049   cpustate->program = &device->space(AS_PROGRAM);
10501050   cpustate->direct = &cpustate->program->direct();
1051   cpustate->data = &device->space(AS_DATA);
1052   cpustate->io = &device->space(AS_IO);
1051   //cpustate->data = &device->space(AS_DATA);
1052   //cpustate->io = &device->space(AS_IO);
10531053
10541054   //  cpustate->subtype   = SUBTYPE_M6800;
10551055   cpustate->insn = m6800_insn;
r18106r18107
12011201
12021202   cpustate->program = &device->space(AS_PROGRAM);
12031203   cpustate->direct = &cpustate->program->direct();
1204   cpustate->data = &device->space(AS_DATA);
1204   //cpustate->data = &device->space(AS_DATA);
12051205   cpustate->io = &device->space(AS_IO);
12061206
12071207   cpustate->clock = device->clock() / 4;
r18106r18107
12361236
12371237   cpustate->program = &device->space(AS_PROGRAM);
12381238   cpustate->direct = &cpustate->program->direct();
1239   cpustate->data = &device->space(AS_DATA);
1240   cpustate->io = &device->space(AS_IO);
1239   //cpustate->data = &device->space(AS_DATA);
1240   //cpustate->io = &device->space(AS_IO);
12411241
12421242   state_register(cpustate, "m6802");
12431243}
r18106r18107
12561256
12571257   cpustate->program = &device->space(AS_PROGRAM);
12581258   cpustate->direct = &cpustate->program->direct();
1259   cpustate->data = &device->space(AS_DATA);
1259   //cpustate->data = &device->space(AS_DATA);
12601260   cpustate->io = &device->space(AS_IO);
12611261
12621262   cpustate->clock = device->clock() / 4;
r18106r18107
12981298
12991299   cpustate->program = &device->space(AS_PROGRAM);
13001300   cpustate->direct = &cpustate->program->direct();
1301   cpustate->data = &device->space(AS_DATA);
1302   cpustate->io = &device->space(AS_IO);
1301   //cpustate->data = &device->space(AS_DATA);
1302   //cpustate->io = &device->space(AS_IO);
13031303
13041304   state_register(cpustate, "m6808");
13051305}
r18106r18107
13191319
13201320   cpustate->program = &device->space(AS_PROGRAM);
13211321   cpustate->direct = &cpustate->program->direct();
1322   cpustate->data = &device->space(AS_DATA);
1322   //cpustate->data = &device->space(AS_DATA);
13231323   cpustate->io = &device->space(AS_IO);
13241324
13251325   cpustate->clock = device->clock() / 4;
r18106r18107
13441344
13451345   cpustate->program = &device->space(AS_PROGRAM);
13461346   cpustate->direct = &cpustate->program->direct();
1347   cpustate->data = &device->space(AS_DATA);
1347   //cpustate->data = &device->space(AS_DATA);
13481348   cpustate->io = &device->space(AS_IO);
13491349
13501350   cpustate->clock = device->clock() / 4;
r18106r18107
13791379
13801380   cpustate->program = &device->space(AS_PROGRAM);
13811381   cpustate->direct = &cpustate->program->direct();
1382   cpustate->data = &device->space(AS_DATA);
1383   cpustate->io = &device->space(AS_IO);
1382   //cpustate->data = &device->space(AS_DATA);
1383   //cpustate->io = &device->space(AS_IO);
13841384
13851385   cpustate->insn = nsc8105_insn;
13861386   cpustate->cycles = cycles_nsc8105;
r18106r18107
18931893      case CPUINFO_INT_DATABUS_WIDTH + AS_DATA:   info->i = 0;               break;
18941894      case CPUINFO_INT_ADDRBUS_WIDTH + AS_DATA:   info->i = 0;               break;
18951895      case CPUINFO_INT_ADDRBUS_SHIFT + AS_DATA:   info->i = 0;               break;
1896      case CPUINFO_INT_DATABUS_WIDTH + AS_IO:      info->i = 9;               break;
1896      case CPUINFO_INT_DATABUS_WIDTH + AS_IO:      info->i = 0;               break;
18971897      case CPUINFO_INT_ADDRBUS_WIDTH + AS_IO:      info->i = 0;               break;
18981898      case CPUINFO_INT_ADDRBUS_SHIFT + AS_IO:      info->i = 0;               break;
18991899
trunk/src/mess/drivers/hx20.c
r18106r18107
2727   AM_RANGE(0x8000, 0xffff) AM_ROM
2828ADDRESS_MAP_END
2929
30static ADDRESS_MAP_START(ehx20_io, AS_IO, 8, hx20_state)
31ADDRESS_MAP_END
32
3033/* Input ports */
3134static INPUT_PORTS_START( ehx20 )
3235INPUT_PORTS_END
r18106r18107
9598   /* basic machine hardware */
9699   MCFG_CPU_ADD("maincpu",HD63701, 614000) // HD6301
97100   MCFG_CPU_PROGRAM_MAP(ehx20_mem)
101   MCFG_CPU_IO_MAP(ehx20_io)
98102
99
100103   /* video hardware */
101104   MCFG_SCREEN_ADD("screen", RASTER)
102105   MCFG_SCREEN_REFRESH_RATE(50)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team