Previous 199869 Revisions Next

r44384 Saturday 23rd January, 2016 at 18:36:35 UTC by Michael Zapf
ti99/geneve: Removed legacy v9938 configuration.
[src/devices/bus/ti99x]videowrp.h
[src/mame/drivers]geneve.cpp ti99_4p.cpp ti99_4x.cpp

trunk/src/devices/bus/ti99x/videowrp.h
r252895r252896
163163   MCFG_TMS9928A_SCREEN_ADD_PAL( SCREEN_TAG )                              \
164164   MCFG_SCREEN_UPDATE_DEVICE( VDP_TAG, tms9928a_device, screen_update )
165165
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
178166#define MCFG_TI_SOUND_94624_ADD(_tag)            \
179167   MCFG_DEVICE_ADD(_tag, TISOUND_94624, 0)
180168
trunk/src/mame/drivers/geneve.cpp
r252895r252896
691691   MCFG_TMS9995_DBIN_HANDLER( WRITELINE(geneve_state, dbin_line) )
692692
693693   // 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)
700698   MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", geneve_state, geneve_hblank_interrupt, SCREEN_TAG, 0, 1) /* 262.5 in 60Hz, 312.5 in 50Hz */
701699
702700   // Main board components
trunk/src/mame/drivers/ti99_4p.cpp
r252895r252896
861861   MCFG_TMS99xx_CLKOUT_HANDLER( WRITELINE(ti99_4p_state, clock_out) )
862862
863863   /* 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)
870868
871869   // tms9901
872870   MCFG_DEVICE_ADD(TMS9901_TAG, TMS9901, 3000000)
trunk/src/mame/drivers/ti99_4x.cpp
r252895r252896
10551055   MCFG_MACHINE_START_OVERRIDE(ti99_4x_state, ti99_4a )
10561056
10571057   /* 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)
10641062
10651063   /* Main board */
10661064   MCFG_DEVICE_ADD(TMS9901_TAG, TMS9901, 3000000)


Previous 199869 Revisions Next


© 1997-2024 The MAME Team