trunk/src/emu/cpu/m6800/m6800.c
r18106 | r18107 | |
1048 | 1048 | |
1049 | 1049 | cpustate->program = &device->space(AS_PROGRAM); |
1050 | 1050 | 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); |
1053 | 1053 | |
1054 | 1054 | // cpustate->subtype = SUBTYPE_M6800; |
1055 | 1055 | cpustate->insn = m6800_insn; |
r18106 | r18107 | |
1201 | 1201 | |
1202 | 1202 | cpustate->program = &device->space(AS_PROGRAM); |
1203 | 1203 | cpustate->direct = &cpustate->program->direct(); |
1204 | | cpustate->data = &device->space(AS_DATA); |
| 1204 | //cpustate->data = &device->space(AS_DATA); |
1205 | 1205 | cpustate->io = &device->space(AS_IO); |
1206 | 1206 | |
1207 | 1207 | cpustate->clock = device->clock() / 4; |
r18106 | r18107 | |
1236 | 1236 | |
1237 | 1237 | cpustate->program = &device->space(AS_PROGRAM); |
1238 | 1238 | 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); |
1241 | 1241 | |
1242 | 1242 | state_register(cpustate, "m6802"); |
1243 | 1243 | } |
r18106 | r18107 | |
1256 | 1256 | |
1257 | 1257 | cpustate->program = &device->space(AS_PROGRAM); |
1258 | 1258 | cpustate->direct = &cpustate->program->direct(); |
1259 | | cpustate->data = &device->space(AS_DATA); |
| 1259 | //cpustate->data = &device->space(AS_DATA); |
1260 | 1260 | cpustate->io = &device->space(AS_IO); |
1261 | 1261 | |
1262 | 1262 | cpustate->clock = device->clock() / 4; |
r18106 | r18107 | |
1298 | 1298 | |
1299 | 1299 | cpustate->program = &device->space(AS_PROGRAM); |
1300 | 1300 | 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); |
1303 | 1303 | |
1304 | 1304 | state_register(cpustate, "m6808"); |
1305 | 1305 | } |
r18106 | r18107 | |
1319 | 1319 | |
1320 | 1320 | cpustate->program = &device->space(AS_PROGRAM); |
1321 | 1321 | cpustate->direct = &cpustate->program->direct(); |
1322 | | cpustate->data = &device->space(AS_DATA); |
| 1322 | //cpustate->data = &device->space(AS_DATA); |
1323 | 1323 | cpustate->io = &device->space(AS_IO); |
1324 | 1324 | |
1325 | 1325 | cpustate->clock = device->clock() / 4; |
r18106 | r18107 | |
1344 | 1344 | |
1345 | 1345 | cpustate->program = &device->space(AS_PROGRAM); |
1346 | 1346 | cpustate->direct = &cpustate->program->direct(); |
1347 | | cpustate->data = &device->space(AS_DATA); |
| 1347 | //cpustate->data = &device->space(AS_DATA); |
1348 | 1348 | cpustate->io = &device->space(AS_IO); |
1349 | 1349 | |
1350 | 1350 | cpustate->clock = device->clock() / 4; |
r18106 | r18107 | |
1379 | 1379 | |
1380 | 1380 | cpustate->program = &device->space(AS_PROGRAM); |
1381 | 1381 | 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); |
1384 | 1384 | |
1385 | 1385 | cpustate->insn = nsc8105_insn; |
1386 | 1386 | cpustate->cycles = cycles_nsc8105; |
r18106 | r18107 | |
1893 | 1893 | case CPUINFO_INT_DATABUS_WIDTH + AS_DATA: info->i = 0; break; |
1894 | 1894 | case CPUINFO_INT_ADDRBUS_WIDTH + AS_DATA: info->i = 0; break; |
1895 | 1895 | 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; |
1897 | 1897 | case CPUINFO_INT_ADDRBUS_WIDTH + AS_IO: info->i = 0; break; |
1898 | 1898 | case CPUINFO_INT_ADDRBUS_SHIFT + AS_IO: info->i = 0; break; |
1899 | 1899 | |