trunk/src/devices/bus/ti99x/videowrp.h
| r252895 | r252896 | |
| 163 | 163 | MCFG_TMS9928A_SCREEN_ADD_PAL( SCREEN_TAG ) \ |
| 164 | 164 | MCFG_SCREEN_UPDATE_DEVICE( VDP_TAG, tms9928a_device, screen_update ) |
| 165 | 165 | |
| 166 | | #define MCFG_TI_V9938_ADD(_tag, _rate, _screen, _blank, _x, _y, _class, _int) \ |
| 167 | | MCFG_DEVICE_ADD(_tag, V9938VIDEO, 0) \ |
| 168 | | MCFG_V9938_ADD(VDP_TAG, _screen, 0x20000, XTAL_21_4772MHz) /* typical 9938 clock, not verified */ \ |
| 169 | | MCFG_V99X8_INTERRUPT_CALLBACK(WRITELINE(_class, _int)) \ |
| 170 | | MCFG_SCREEN_ADD(_screen, RASTER) \ |
| 171 | | MCFG_SCREEN_REFRESH_RATE(_rate) \ |
| 172 | | MCFG_SCREEN_UPDATE_DEVICE(VDP_TAG, v9938_device, screen_update) \ |
| 173 | | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(_blank)) \ |
| 174 | | MCFG_SCREEN_SIZE(_x, _y) \ |
| 175 | | MCFG_SCREEN_VISIBLE_AREA(0, _x - 1, 0, _y - 1) \ |
| 176 | | MCFG_SCREEN_PALETTE(VDP_TAG ":palette") |
| 177 | | |
| 178 | 166 | #define MCFG_TI_SOUND_94624_ADD(_tag) \ |
| 179 | 167 | MCFG_DEVICE_ADD(_tag, TISOUND_94624, 0) |
| 180 | 168 | |
trunk/src/mame/drivers/geneve.cpp
| r252895 | r252896 | |
| 691 | 691 | MCFG_TMS9995_DBIN_HANDLER( WRITELINE(geneve_state, dbin_line) ) |
| 692 | 692 | |
| 693 | 693 | // video hardware |
| 694 | | // Although we should have a 60 Hz screen rate, we have to set it to 30 here. |
| 695 | | // The reason is that that the number of screen lines is counted twice for the |
| 696 | | // interlace mode, but in non-interlace modes only half of the lines are |
| 697 | | // painted. Accordingly, the full set of lines is refreshed at 30 Hz, |
| 698 | | // not 60 Hz. This should be fixed in the v9938 emulation. |
| 699 | | MCFG_TI_V9938_ADD(VIDEO_SYSTEM_TAG, 30, SCREEN_TAG, 2500, 512+32, (212+28)*2, geneve_state, set_tms9901_INT2_from_v9938) |
| 694 | MCFG_DEVICE_ADD(VIDEO_SYSTEM_TAG, V9938VIDEO, 0) |
| 695 | MCFG_V9938_ADD(VDP_TAG, SCREEN_TAG, 0x20000, XTAL_21_4772MHz) /* typical 9938 clock, not verified */ |
| 696 | MCFG_V99X8_INTERRUPT_CALLBACK(WRITELINE(geneve_state, set_tms9901_INT2_from_v9938)) |
| 697 | MCFG_V99X8_SCREEN_ADD_NTSC(SCREEN_TAG, VDP_TAG, XTAL_21_4772MHz) |
| 700 | 698 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", geneve_state, geneve_hblank_interrupt, SCREEN_TAG, 0, 1) /* 262.5 in 60Hz, 312.5 in 50Hz */ |
| 701 | 699 | |
| 702 | 700 | // Main board components |
trunk/src/mame/drivers/ti99_4p.cpp
| r252895 | r252896 | |
| 861 | 861 | MCFG_TMS99xx_CLKOUT_HANDLER( WRITELINE(ti99_4p_state, clock_out) ) |
| 862 | 862 | |
| 863 | 863 | /* video hardware */ |
| 864 | | // Although we should have a 60 Hz screen rate, we have to set it to 30 here. |
| 865 | | // The reason is that that the number of screen lines is counted twice for the |
| 866 | | // interlace mode, but in non-interlace modes only half of the lines are |
| 867 | | // painted. Accordingly, the full set of lines is refreshed at 30 Hz, |
| 868 | | // not 60 Hz. This should be fixed in the v9938 emulation. |
| 869 | | MCFG_TI_V9938_ADD(VIDEO_SYSTEM_TAG, 30, SCREEN_TAG, 2500, 512+32, (212+28)*2, ti99_4p_state, set_tms9901_INT2_from_v9938) |
| 864 | MCFG_DEVICE_ADD(VIDEO_SYSTEM_TAG, V9938VIDEO, 0) |
| 865 | MCFG_V9938_ADD(VDP_TAG, SCREEN_TAG, 0x20000, XTAL_21_4772MHz) /* typical 9938 clock, not verified */ |
| 866 | MCFG_V99X8_INTERRUPT_CALLBACK(WRITELINE(ti99_4p_state, set_tms9901_INT2_from_v9938)) |
| 867 | MCFG_V99X8_SCREEN_ADD_NTSC(SCREEN_TAG, VDP_TAG, XTAL_21_4772MHz) |
| 870 | 868 | |
| 871 | 869 | // tms9901 |
| 872 | 870 | MCFG_DEVICE_ADD(TMS9901_TAG, TMS9901, 3000000) |
trunk/src/mame/drivers/ti99_4x.cpp
| r252895 | r252896 | |
| 1055 | 1055 | MCFG_MACHINE_START_OVERRIDE(ti99_4x_state, ti99_4a ) |
| 1056 | 1056 | |
| 1057 | 1057 | /* video hardware */ |
| 1058 | | // Although we should have a 60 Hz screen rate, we have to set it to 30 here. |
| 1059 | | // The reason is that that the number of screen lines is counted twice for the |
| 1060 | | // interlace mode, but in non-interlace modes only half of the lines are |
| 1061 | | // painted. Accordingly, the full set of lines is refreshed at 30 Hz, |
| 1062 | | // not 60 Hz. This should be fixed in the v9938 emulation. |
| 1063 | | MCFG_TI_V9938_ADD(VIDEO_SYSTEM_TAG, 30, SCREEN_TAG, 2500, 512+32, (212+28)*2, ti99_4x_state, video_interrupt_in) |
| 1058 | MCFG_DEVICE_ADD(VIDEO_SYSTEM_TAG, V9938VIDEO, 0) |
| 1059 | MCFG_V9938_ADD(VDP_TAG, SCREEN_TAG, 0x20000, XTAL_21_4772MHz) /* typical 9938 clock, not verified */ |
| 1060 | MCFG_V99X8_INTERRUPT_CALLBACK(WRITELINE(ti99_4x_state, video_interrupt_in)) |
| 1061 | MCFG_V99X8_SCREEN_ADD_NTSC(SCREEN_TAG, VDP_TAG, XTAL_21_4772MHz) |
| 1064 | 1062 | |
| 1065 | 1063 | /* Main board */ |
| 1066 | 1064 | MCFG_DEVICE_ADD(TMS9901_TAG, TMS9901, 3000000) |