src/mess/machine/pc.c
| r2477 | r2478 | |
| 215 | 215 | }; |
| 216 | 216 | |
| 217 | 217 | |
| 218 | /* |
| 219 | On the PC Jr the input for clock 1 seems to be selectable |
| 220 | based on bit 4(/5?) written to output port A0h. This is not |
| 221 | supported yet. |
| 222 | */ |
| 223 | |
| 224 | const struct pit8253_config pcjr_pit8253_config = |
| 225 | { |
| 226 | { |
| 227 | { |
| 228 | 4772720/4, /* heartbeat IRQ */ |
| 229 | pc_timer0_w, |
| 230 | NULL |
| 231 | }, { |
| 232 | 4772720/4, /* dram refresh */ |
| 233 | NULL, |
| 234 | NULL |
| 235 | }, { |
| 236 | 4772720/4, /* pio port c pin 4, and speaker polling enough */ |
| 237 | NULL, |
| 238 | NULL /* TIMER AUDIO signal */ |
| 239 | } |
| 240 | } |
| 241 | }; |
| 242 | |
| 218 | 243 | /********************************************************** |
| 219 | 244 | * |
| 220 | 245 | * COM hardware |
src/mess/drivers/pc.c
| r2477 | r2478 | |
| 37 | 37 | Tandy 1000 (80386) variations: |
| 38 | 38 | 1000RSX/1000RSX-HD 1M-9M RAM 25.0/8.0 MHz v01.10.00 |
| 39 | 39 | |
| 40 | IBM PC Jr: |
| 41 | |
| 42 | TODO: Which clock signals are available in a PC Jr? |
| 43 | - What clock is Y1? This eventually gets passed on to the CPU (ZM40?) and some other components by a 8284 (ZM8?). |
| 44 | - Is the clock attached to the Video Gate Array (ZM36?) exactly 14MHz? |
| 45 | |
| 40 | 46 | ***************************************************************************/ |
| 41 | 47 | |
| 42 | 48 | |
| r2477 | r2478 | |
| 1707 | 1713 | |
| 1708 | 1714 | static MACHINE_DRIVER_START( ibmpcjr ) |
| 1709 | 1715 | /* basic machine hardware */ |
| 1710 | | MDRV_CPU_PC(tandy1000, ibmpcjr, I8088, 8000000, tandy1000_frame_interrupt) |
| 1716 | MDRV_CPU_PC(tandy1000, ibmpcjr, I8088, 5000000, tandy1000_frame_interrupt) /* TODO: Get correct cpu frequency */ |
| 1711 | 1717 | |
| 1712 | 1718 | MDRV_MACHINE_START(pc) |
| 1713 | 1719 | MDRV_MACHINE_RESET(pc) |
| 1714 | 1720 | |
| 1715 | 1721 | MDRV_DEVICE_ADD( "pit8253", PIT8253 ) |
| 1716 | | MDRV_DEVICE_CONFIG( pc_pit8253_config ) |
| 1722 | MDRV_DEVICE_CONFIG( pcjr_pit8253_config ) |
| 1717 | 1723 | |
| 1718 | 1724 | MDRV_DEVICE_ADD( "dma8237", DMA8237 ) |
| 1719 | 1725 | MDRV_DEVICE_CONFIG( pc_dma8237_config ) |