src/mess/drivers/atari.c
| r11202 | r11203 | |
| 1012 | 1012 | DEVCB_NULL /* IRQB */ |
| 1013 | 1013 | }; |
| 1014 | 1014 | |
| 1015 | // FIXME: should there be anything connected where other system have the fdc? |
| 1016 | static const pokey_interface a5200_pokey_interface = |
| 1017 | { |
| 1018 | { |
| 1019 | DEVCB_INPUT_PORT("analog_0"), |
| 1020 | DEVCB_INPUT_PORT("analog_1"), |
| 1021 | DEVCB_INPUT_PORT("analog_2"), |
| 1022 | DEVCB_INPUT_PORT("analog_3"), |
| 1023 | DEVCB_INPUT_PORT("analog_4"), |
| 1024 | DEVCB_INPUT_PORT("analog_5"), |
| 1025 | DEVCB_INPUT_PORT("analog_6"), |
| 1026 | DEVCB_INPUT_PORT("analog_7") |
| 1027 | }, |
| 1028 | DEVCB_NULL, |
| 1029 | DEVCB_NULL, // FIXME: is there anything connected here? |
| 1030 | DEVCB_NULL, // FIXME: is there anything connected here? |
| 1031 | atari_interrupt_cb, |
| 1032 | }; |
| 1015 | 1033 | |
| 1034 | static const pia6821_interface a5200_pia_interface = |
| 1035 | { |
| 1036 | DEVCB_HANDLER(atari_pia_pa_r), /* port A in */ |
| 1037 | DEVCB_HANDLER(atari_pia_pb_r), /* port B in */ |
| 1038 | DEVCB_NULL, /* line CA1 in */ |
| 1039 | DEVCB_NULL, /* line CB1 in */ |
| 1040 | DEVCB_NULL, /* line CA2 in */ |
| 1041 | DEVCB_NULL, /* line CB2 in */ |
| 1042 | DEVCB_NULL, /* port A out */ |
| 1043 | DEVCB_NULL, /* port B out */ |
| 1044 | DEVCB_NULL, /* line CA2 out */ |
| 1045 | DEVCB_NULL, /* port CB2 out */ // FIXME: is there anything connected here |
| 1046 | DEVCB_NULL, /* IRQA */ |
| 1047 | DEVCB_NULL /* IRQB */ |
| 1048 | }; |
| 1049 | |
| 1050 | |
| 1016 | 1051 | /************************************************************** |
| 1017 | 1052 | * |
| 1018 | 1053 | * Machine drivers |
| r11202 | r11203 | |
| 1250 | 1285 | MCFG_CPU_PROGRAM_MAP(a5200_mem) |
| 1251 | 1286 | MCFG_CPU_VBLANK_INT_HACK(a5200_interrupt, TOTAL_LINES_60HZ) |
| 1252 | 1287 | |
| 1288 | MCFG_DEVICE_REMOVE("pokey") |
| 1289 | MCFG_SOUND_ADD("pokey", POKEY, FREQ_17_EXACT) |
| 1290 | MCFG_SOUND_CONFIG(a5200_pokey_interface) |
| 1291 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00) |
| 1292 | |
| 1293 | MCFG_PIA6821_MODIFY( "pia", a5200_pia_interface ) |
| 1294 | |
| 1253 | 1295 | MCFG_MACHINE_START( a5200 ) |
| 1254 | 1296 | |
| 1255 | 1297 | MCFG_SCREEN_MODIFY( "screen" ) |