Previous 199869 Revisions Next

r29564 Saturday 12th April, 2014 at 14:39:59 UTC by Nathan Woods
Merge branch 'master' of ssh://mess.org/mame into new_menus
[/branches/new_menus/src/emu/machine]6526cia.c 8042kbdc.c 8257dma.c cr589.c mb14241.c mb3773.c mb87078.c mb89371.c rp5h01.c rtc4543.c rtc65271.c tc009xlvc.c timekpr.c tms6100.c upd1990a.c upd4701.c
[/branches/new_menus/src/emu/video]315_5124.c epic12.c mb90082.c pc_vga.c psx.c rgbvmx.h saa5050.c tlc34076.c
[/branches/new_menus/src/lib/util]palette.h
[/branches/new_menus/src/mame/audio]cclimber.c cps3.c flower.c galaxian.c geebee.c gomoku.c gridlee.c m72.c micro3d.c phoenix.c pleiads.c polepos.c redbaron.c segag80r.c snk6502.c tiamc1.c tx1.c warpwarp.c wiping.c
[/branches/new_menus/src/mame/drivers]mjkjidai.c pinkiri8.c renegade.c
[/branches/new_menus/src/mame/machine]buggychl.c gaelco3d.c jvs13551.c nb1413m3.c nmk112.c tait8741.c
[/branches/new_menus/src/mame/video]decbac06.c decmxc06.c decospr.c mcd212.c seta001.c sknsspr.c ygv608.c
[/branches/new_menus/src/mess/audio]arcadia.c dai.c mac.c special.c svision.c tvc.c vc4000.c wswan.c
[/branches/new_menus/src/mess/drivers]vc4000.c
[/branches/new_menus/src/tools]tools.mak

branches/new_menus/src/emu/machine/upd1990a.c
r29563r29564
6666}
6767
6868upd4990a_device::upd4990a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
69   : upd1990a_device(mconfig, UPD4990A, "uPD4990A", tag, owner, clock, TYPE_4990A, "upd4990a", __FILE__) { }
69   : upd1990a_device(mconfig, UPD4990A, "uPD4990A RTC", tag, owner, clock, TYPE_4990A, "upd4990a", __FILE__) { }
7070
7171
7272bool upd1990a_device::is_serial_mode()
branches/new_menus/src/emu/machine/upd4701.c
r29563r29564
1717const device_type UPD4701 = &device_creator<upd4701_device>;
1818
1919upd4701_device::upd4701_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
20   : device_t(mconfig, UPD4701, "NEC uPD4701 Encoder", tag, owner, clock, "upd4701", __FILE__)
20   : device_t(mconfig, UPD4701, "uPD4701 Encoder", tag, owner, clock, "upd4701", __FILE__)
2121{
2222}
2323
branches/new_menus/src/emu/machine/mb14241.c
r29563r29564
1616const device_type MB14241 = &device_creator<mb14241_device>;
1717
1818mb14241_device::mb14241_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
19   : device_t(mconfig, MB14241, "MB14241", tag, owner, clock, "mb14241", __FILE__)
19   : device_t(mconfig, MB14241, "MB14241 Data Shifter", tag, owner, clock, "mb14241", __FILE__)
2020{
2121}
2222
branches/new_menus/src/emu/machine/mb89371.c
r29563r29564
1313const device_type MB89371 = &device_creator<mb89371_device>;
1414
1515mb89371_device::mb89371_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
16   : device_t(mconfig, MB89371, "MB89371", tag, owner, clock, "mb89371", __FILE__)
16   : device_t(mconfig, MB89371, "MB89371 Dual Serial UART", tag, owner, clock, "mb89371", __FILE__)
1717{
1818}
1919
branches/new_menus/src/emu/machine/6526cia.c
r29563r29564
9797   : legacy_mos6526_device(mconfig, LEGACY_MOS6526R2, "LEGACY_MOS6526R2", tag, owner, clock, "legacy_mos6526r2", __FILE__) { }
9898
9999legacy_mos8520_device::legacy_mos8520_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
100   : legacy_mos6526_device(mconfig, LEGACY_MOS8520, "LEGACY_MOS8520", tag, owner, clock, "legacy_mos8520", __FILE__) { }
100   : legacy_mos6526_device(mconfig, LEGACY_MOS8520, "8520 CIA", tag, owner, clock, "legacy_mos8520", __FILE__) { }
101101
102102legacy_mos5710_device::legacy_mos5710_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
103103   : legacy_mos6526_device(mconfig, LEGACY_MOS5710, "LEGACY_MOS5710", tag, owner, clock, "legacy_mos5710", __FILE__) { }
branches/new_menus/src/emu/machine/8257dma.c
r29563r29564
5959//-------------------------------------------------
6060
6161i8257_device::i8257_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
62   : device_t(mconfig, I8257, "DMA8257", tag, owner, clock, "i8257", __FILE__),
62   : device_t(mconfig, I8257, "8257 DMA", tag, owner, clock, "i8257", __FILE__),
6363      m_out_hrq_cb(*this),
6464      m_out_tc_cb(*this),
6565      m_out_mark_cb(*this),
branches/new_menus/src/emu/machine/rtc4543.c
r29563r29564
2828//-------------------------------------------------
2929
3030rtc4543_device::rtc4543_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, RTC4543, "Epson R4543", tag, owner, clock, "rtc4543", __FILE__),
31   : device_t(mconfig, RTC4543, "R4543 RTC", tag, owner, clock, "rtc4543", __FILE__),
3232      device_rtc_interface(mconfig, *this),
3333      data_cb(*this)
3434{
branches/new_menus/src/emu/machine/tc009xlvc.c
r29563r29564
165165ADDRESS_MAP_END
166166
167167tc0091lvc_device::tc0091lvc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
168   : device_t(mconfig, TC0091LVC, "TC0091LVC", tag, owner, clock, "tc0091lvc", __FILE__),
168   : device_t(mconfig, TC0091LVC, "TC0091LVC (Custom Z80 CPU + Video)", tag, owner, clock, "tc0091lvc", __FILE__),
169169      device_memory_interface(mconfig, *this),
170170      m_space_config("tc0091lvc", ENDIANNESS_LITTLE, 8,20, 0, NULL, *ADDRESS_MAP_NAME(tc0091lvc_map8)),
171171      m_gfxdecode(*this),
branches/new_menus/src/emu/machine/rp5h01.c
r29563r29564
1919const device_type RP5H01 = &device_creator<rp5h01_device>;
2020
2121rp5h01_device::rp5h01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
22   : device_t(mconfig, RP5H01, "RP5H01", tag, owner, clock, "rp5h01", __FILE__)
22   : device_t(mconfig, RP5H01, "RP5H01 6/7-bit Counter", tag, owner, clock, "rp5h01", __FILE__)
2323{
2424}
2525
branches/new_menus/src/emu/machine/mb87078.c
r29563r29564
103103const device_type MB87078 = &device_creator<mb87078_device>;
104104
105105mb87078_device::mb87078_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
106   : device_t(mconfig, MB87078, "Fujitsu MB87078", tag, owner, clock, "mb87078", __FILE__),
106   : device_t(mconfig, MB87078, "MB87078 Volume Controller", tag, owner, clock, "mb87078", __FILE__),
107107   m_channel_latch(0),
108108   m_reset_comp(0),
109109   m_gain_changed_cb(*this)
branches/new_menus/src/emu/machine/cr589.c
r29563r29564
138138const device_type CR589 = &device_creator<matsushita_cr589_device>;
139139
140140matsushita_cr589_device::matsushita_cr589_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
141   atapi_cdrom_device(mconfig, CR589, "Matsushita CR589", tag, owner, clock, "cr589", __FILE__),
141   atapi_cdrom_device(mconfig, CR589, "Matsushita CR589 CD-ROM Drive", tag, owner, clock, "cr589", __FILE__),
142142   device_nvram_interface(mconfig, *this)
143143{
144144}
branches/new_menus/src/emu/machine/timekpr.c
r29563r29564
124124}
125125
126126m48t02_device::m48t02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
127   : timekeeper_device(mconfig, M48T02, "M48T02 TIMEKEEPER", tag, owner, clock, "m48t02", __FILE__)
127   : timekeeper_device(mconfig, M48T02, "M48T02 Timekeeper", tag, owner, clock, "m48t02", __FILE__)
128128{
129129   m_offset_control = 0x7f8;
130130   m_offset_seconds = 0x7f9;
r29563r29564
140140}
141141
142142m48t35_device::m48t35_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
143   : timekeeper_device(mconfig, M48T35, "M48T35 TIMEKEEPER", tag, owner, clock, "m48t35", __FILE__)
143   : timekeeper_device(mconfig, M48T35, "M48T35 Timekeeper", tag, owner, clock, "m48t35", __FILE__)
144144{
145145   m_offset_control = 0x7ff8;
146146   m_offset_seconds = 0x7ff9;
r29563r29564
156156}
157157
158158m48t37_device::m48t37_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
159   : timekeeper_device(mconfig, M48T37, "M48T37 TIMEKEEPER", tag, owner, clock, "m48t37", __FILE__)
159   : timekeeper_device(mconfig, M48T37, "M48T37 Timekeeper", tag, owner, clock, "m48t37", __FILE__)
160160{
161161   m_offset_control = 0x7ff8;
162162   m_offset_seconds = 0x7ff9;
r29563r29564
172172}
173173
174174m48t58_device::m48t58_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
175   : timekeeper_device(mconfig, M48T58, "M48T58 TIMEKEEPER", tag, owner, clock, "m48t58", __FILE__)
175   : timekeeper_device(mconfig, M48T58, "M48T58 Timekeeper", tag, owner, clock, "m48t58", __FILE__)
176176{
177177   m_offset_control = 0x1ff8;
178178   m_offset_seconds = 0x1ff9;
r29563r29564
188188}
189189
190190mk48t08_device::mk48t08_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
191   : timekeeper_device(mconfig, MK48T08, "MK48T08 TIMEKEEPER", tag, owner, clock, "m48t08", __FILE__)
191   : timekeeper_device(mconfig, MK48T08, "MK48T08 Timekeeper", tag, owner, clock, "m48t08", __FILE__)
192192{
193193   m_offset_control = 0x1ff8;
194194   m_offset_seconds = 0x1ff9;
branches/new_menus/src/emu/machine/mb3773.c
r29563r29564
2626//-------------------------------------------------
2727
2828mb3773_device::mb3773_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
29   : device_t(mconfig, MB3773, "MB3773", tag, owner, clock, "mb3773", __FILE__)
29   : device_t(mconfig, MB3773, "MB3773 Power Supply Monitor", tag, owner, clock, "mb3773", __FILE__)
3030{
3131}
3232
branches/new_menus/src/emu/machine/tms6100.c
r29563r29564
8989const device_type M58819 = &device_creator<m58819_device>;
9090
9191m58819_device::m58819_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
92   : tms6100_device(mconfig, M58819, "M58819", tag, owner, clock, "m58819", __FILE__)
92   : tms6100_device(mconfig, M58819, "M58819 Memory Controller", tag, owner, clock, "m58819", __FILE__)
9393{
9494}
9595
branches/new_menus/src/emu/machine/8042kbdc.c
r29563r29564
195195//-------------------------------------------------
196196
197197kbdc8042_device::kbdc8042_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
198   : device_t(mconfig, KBDC8042, "Keyboard Controller 8042", tag, owner, clock, "kbdc8042", __FILE__)
198   : device_t(mconfig, KBDC8042, "8042 Keyboard Controller", tag, owner, clock, "kbdc8042", __FILE__)
199199   , m_keyboard_dev(*this, "at_keyboard")
200200   , m_system_reset_cb(*this)
201201   , m_gate_a20_cb(*this)
branches/new_menus/src/emu/machine/rtc65271.c
r29563r29564
671671//-------------------------------------------------
672672
673673rtc65271_device::rtc65271_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
674   : device_t(mconfig, RTC65271, "RTC65271", tag, owner, clock, "rtc65271", __FILE__),
674   : device_t(mconfig, RTC65271, "RTC-65271", tag, owner, clock, "rtc65271", __FILE__),
675675      device_nvram_interface(mconfig, *this),
676676      m_interrupt_cb(*this)
677677{
branches/new_menus/src/emu/video/epic12.c
r29563r29564
88const device_type EPIC12 = &device_creator<epic12_device>;
99
1010epic12_device::epic12_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
11   : device_t(mconfig, EPIC12, "EP1C12 BLITTER", tag, owner, clock, "epic12", __FILE__),
11   : device_t(mconfig, EPIC12, "EP1C12 Blitter", tag, owner, clock, "epic12", __FILE__),
1212      device_video_interface(mconfig, *this)
1313{
1414   m_is_unsafe = 0;
branches/new_menus/src/emu/video/mb90082.c
r29563r29564
8686//-------------------------------------------------
8787
8888mb90082_device::mb90082_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
89   : device_t(mconfig, MB90082, "mb90082", tag, owner, clock, "mb90082", __FILE__),
89   : device_t(mconfig, MB90082, "MB90082 OSD", tag, owner, clock, "mb90082", __FILE__),
9090      device_memory_interface(mconfig, *this),
9191      m_space_config("videoram", ENDIANNESS_LITTLE, 16, 16, 0, NULL, *ADDRESS_MAP_NAME(mb90082_vram))
9292{
branches/new_menus/src/emu/video/315_5124.c
r29563r29564
152152
153153
154154sega315_5124_device::sega315_5124_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
155   : device_t( mconfig, SEGA315_5124, "Sega 315-5124", tag, owner, clock, "sega315_5124", __FILE__)
155   : device_t( mconfig, SEGA315_5124, "Sega 315-5124 VDP", tag, owner, clock, "sega315_5124", __FILE__)
156156   , device_memory_interface(mconfig, *this)
157157   , device_video_interface(mconfig, *this)
158158   , m_cram_size( SEGA315_5124_CRAM_SIZE )
r29563r29564
184184
185185
186186sega315_5246_device::sega315_5246_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
187   : sega315_5124_device( mconfig, SEGA315_5246, "Sega 315-5246", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true, "sega315_5246", __FILE__)
187   : sega315_5124_device( mconfig, SEGA315_5246, "Sega 315-5246 VDP", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true, "sega315_5246", __FILE__)
188188{
189189}
190190
branches/new_menus/src/emu/video/rgbvmx.h
r29563r29564
6464    components to an rgbint type
6565-------------------------------------------------*/
6666
67INLINE void rgb_to_rgbint(rgbint *rgb, rgb_t color)
67INLINE void rgb_to_rgbint(rgbint *rgb, rgb_t const &color)
6868{
69   vector signed char temp = (vector signed char)vec_perm((vector signed int)vec_lde(0, &color), vec_splat_s32(0), vec_lvsl(0, &color));
69   vector signed char temp = (vector signed char)vec_perm((vector signed int)vec_lde(0, color.ptr()), vec_splat_s32(0), vec_lvsl(0, color.ptr()));
7070   *rgb = (rgbint)vec_mergeh((vector signed char)vec_splat_s32(0), temp);
7171}
7272
r29563r29564
7676    components to an rgbint type
7777-------------------------------------------------*/
7878
79INLINE void rgba_to_rgbaint(rgbaint *rgb, rgb_t color)
79INLINE void rgba_to_rgbaint(rgbaint *rgb, rgb_t const &color)
8080{
81   vector signed char temp = (vector signed char)vec_perm((vector signed int)vec_lde(0, &color), vec_splat_s32(0), vec_lvsl(0, &color));
81   vector signed char temp = (vector signed char)vec_perm((vector signed int)vec_lde(0, color.ptr()), vec_splat_s32(0), vec_lvsl(0, color.ptr()));
8282   *rgb = (rgbaint)vec_mergeh((vector signed char)vec_splat_s32(0), temp);
8383}
8484
r29563r29564
9191INLINE rgb_t rgbint_to_rgb(const rgbint *color)
9292{
9393   vector unsigned int temp = vec_splat((vector unsigned int)vec_packsu(*color, *color), 0);
94   rgb_t result;
94   UINT32 result;
9595   vec_ste(temp, 0, &result);
9696   return result;
9797}
r29563r29564
105105INLINE rgb_t rgbaint_to_rgba(const rgbaint *color)
106106{
107107   vector unsigned int temp = vec_splat((vector unsigned int)vec_packsu(*color, *color), 0);
108   rgb_t result;
108   UINT32 result;
109109   vec_ste(temp, 0, &result);
110110   return result;
111111}
r29563r29564
120120INLINE rgb_t rgbint_to_rgb_clamp(const rgbint *color)
121121{
122122   vector unsigned int temp = vec_splat((vector unsigned int)vec_packsu(*color, *color), 0);
123   rgb_t result;
123   UINT32 result;
124124   vec_ste(temp, 0, &result);
125125   return result;
126126}
r29563r29564
135135INLINE rgb_t rgbaint_to_rgba_clamp(const rgbaint *color)
136136{
137137   vector unsigned int temp = vec_splat((vector unsigned int)vec_packsu(*color, *color), 0);
138   rgb_t result;
138   UINT32 result;
139139   vec_ste(temp, 0, &result);
140140   return result;
141141}
r29563r29564
318318    four pixel values
319319-------------------------------------------------*/
320320
321INLINE rgb_t rgb_bilinear_filter(rgb_t rgb00, rgb_t rgb01, rgb_t rgb10, rgb_t rgb11, UINT8 u, UINT8 v)
321INLINE rgb_t rgb_bilinear_filter(rgb_t const &rgb00, rgb_t const &rgb01, rgb_t const &rgb10, rgb_t const &rgb11, UINT8 u, UINT8 v)
322322{
323   rgb_t   result;
324   rgbint  color00 = (rgbint)vec_perm((vector signed int)vec_lde(0, &rgb00), vec_splat_s32(0), vec_lvsl(0, &rgb00));
325   rgbint  color01 = (rgbint)vec_perm((vector signed int)vec_lde(0, &rgb01), vec_splat_s32(0), vec_lvsl(0, &rgb01));
326   rgbint  color10 = (rgbint)vec_perm((vector signed int)vec_lde(0, &rgb10), vec_splat_s32(0), vec_lvsl(0, &rgb10));
327   rgbint  color11 = (rgbint)vec_perm((vector signed int)vec_lde(0, &rgb11), vec_splat_s32(0), vec_lvsl(0, &rgb11));
323   rgbint  color00 = (rgbint)vec_perm((vector signed int)vec_lde(0, rgb00.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb00.ptr()));
324   rgbint  color01 = (rgbint)vec_perm((vector signed int)vec_lde(0, rgb01.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb01.ptr()));
325   rgbint  color10 = (rgbint)vec_perm((vector signed int)vec_lde(0, rgb10.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb10.ptr()));
326   rgbint  color11 = (rgbint)vec_perm((vector signed int)vec_lde(0, rgb11.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb11.ptr()));
328327
329328   /* interleave color01 and color00 at the byte level */
330329   color01 = (rgbint)vec_mergeh((vector signed char)color01, (vector signed char)color00);
r29563r29564
340339   color01 = (rgbint)vec_sr((vector signed int)color01, vec_splat_u32(15));
341340   color01 = vec_packs((vector signed int)color01, (vector signed int)color01);
342341   color01 = (rgbint)vec_packsu(color01, color01);
342
343   UINT32 result;
343344   vec_ste((vector unsigned int)color01, 0, &result);
344345   return result;
345346}
r29563r29564
350351    four pixel values
351352-------------------------------------------------*/
352353
353INLINE rgb_t rgba_bilinear_filter(rgb_t rgb00, rgb_t rgb01, rgb_t rgb10, rgb_t rgb11, UINT8 u, UINT8 v)
354INLINE rgb_t rgba_bilinear_filter(rgb_t const &rgb00, rgb_t const &rgb01, rgb_t const &rgb10, rgb_t const &rgb11, UINT8 u, UINT8 v)
354355{
355   rgb_t   result;
356   rgbaint color00 = (rgbaint)vec_perm((vector signed int)vec_lde(0, &rgb00), vec_splat_s32(0), vec_lvsl(0, &rgb00));
357   rgbaint color01 = (rgbaint)vec_perm((vector signed int)vec_lde(0, &rgb01), vec_splat_s32(0), vec_lvsl(0, &rgb01));
358   rgbaint color10 = (rgbaint)vec_perm((vector signed int)vec_lde(0, &rgb10), vec_splat_s32(0), vec_lvsl(0, &rgb10));
359   rgbaint color11 = (rgbaint)vec_perm((vector signed int)vec_lde(0, &rgb11), vec_splat_s32(0), vec_lvsl(0, &rgb11));
356   rgbaint color00 = (rgbaint)vec_perm((vector signed int)vec_lde(0, rgb00.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb00.ptr()));
357   rgbaint color01 = (rgbaint)vec_perm((vector signed int)vec_lde(0, rgb01.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb01.ptr()));
358   rgbaint color10 = (rgbaint)vec_perm((vector signed int)vec_lde(0, rgb10.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb10.ptr()));
359   rgbaint color11 = (rgbaint)vec_perm((vector signed int)vec_lde(0, rgb11.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb11.ptr()));
360360
361361   /* interleave color01 and color00 at the byte level */
362362   color01 = (rgbaint)vec_mergeh((vector signed char)color01, (vector signed char)color00);
r29563r29564
372372   color01 = (rgbaint)vec_sr((vector signed int)color01, vec_splat_u32(15));
373373   color01 = vec_packs((vector signed int)color01, (vector signed int)color01);
374374   color01 = (rgbaint)vec_packsu(color01, color01);
375
376   UINT32 result;
375377   vec_ste((vector unsigned int)color01, 0, &result);
376378   return result;
377379}
r29563r29564
382384    four pixel values
383385-------------------------------------------------*/
384386
385INLINE void rgbint_bilinear_filter(rgbint *color, rgb_t rgb00, rgb_t rgb01, rgb_t rgb10, rgb_t rgb11, UINT8 u, UINT8 v)
387INLINE void rgbint_bilinear_filter(rgbint *color, rgb_t const &rgb00, rgb_t const &rgb01, rgb_t const &rgb10, rgb_t const &rgb11, UINT8 u, UINT8 v)
386388{
387   rgbint color00 = (rgbint)vec_perm((vector signed int)vec_lde(0, &rgb00), vec_splat_s32(0), vec_lvsl(0, &rgb00));
388   rgbint color01 = (rgbint)vec_perm((vector signed int)vec_lde(0, &rgb01), vec_splat_s32(0), vec_lvsl(0, &rgb01));
389   rgbint color10 = (rgbint)vec_perm((vector signed int)vec_lde(0, &rgb10), vec_splat_s32(0), vec_lvsl(0, &rgb10));
390   rgbint color11 = (rgbint)vec_perm((vector signed int)vec_lde(0, &rgb11), vec_splat_s32(0), vec_lvsl(0, &rgb11));
389   rgbint color00 = (rgbint)vec_perm((vector signed int)vec_lde(0, rgb00.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb00.ptr()));
390   rgbint color01 = (rgbint)vec_perm((vector signed int)vec_lde(0, rgb01.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb01.ptr()));
391   rgbint color10 = (rgbint)vec_perm((vector signed int)vec_lde(0, rgb10.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb10.ptr()));
392   rgbint color11 = (rgbint)vec_perm((vector signed int)vec_lde(0, rgb11.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb11.ptr()));
391393
392394   /* interleave color01 and color00 at the byte level */
393395   color01 = (rgbint)vec_mergeh((vector signed char)color01, (vector signed char)color00);
r29563r29564
410412    four pixel values
411413-------------------------------------------------*/
412414
413INLINE void rgbaint_bilinear_filter(rgbaint *color, rgb_t rgb00, rgb_t rgb01, rgb_t rgb10, rgb_t rgb11, UINT8 u, UINT8 v)
415INLINE void rgbaint_bilinear_filter(rgbaint *color, rgb_t const &rgb00, rgb_t const &rgb01, rgb_t const &rgb10, rgb_t const &rgb11, UINT8 u, UINT8 v)
414416{
415   rgbaint color00 = (rgbaint)vec_perm((vector signed int)vec_lde(0, &rgb00), vec_splat_s32(0), vec_lvsl(0, &rgb00));
416   rgbaint color01 = (rgbaint)vec_perm((vector signed int)vec_lde(0, &rgb01), vec_splat_s32(0), vec_lvsl(0, &rgb01));
417   rgbaint color10 = (rgbaint)vec_perm((vector signed int)vec_lde(0, &rgb10), vec_splat_s32(0), vec_lvsl(0, &rgb10));
418   rgbaint color11 = (rgbaint)vec_perm((vector signed int)vec_lde(0, &rgb11), vec_splat_s32(0), vec_lvsl(0, &rgb11));
417   rgbaint color00 = (rgbaint)vec_perm((vector signed int)vec_lde(0, rgb00.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb00.ptr()));
418   rgbaint color01 = (rgbaint)vec_perm((vector signed int)vec_lde(0, rgb01.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb01.ptr()));
419   rgbaint color10 = (rgbaint)vec_perm((vector signed int)vec_lde(0, rgb10.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb10.ptr()));
420   rgbaint color11 = (rgbaint)vec_perm((vector signed int)vec_lde(0, rgb11.ptr()), vec_splat_s32(0), vec_lvsl(0, rgb11.ptr()));
419421
420422   /* interleave color01 and color00 at the byte level */
421423   color01 = (rgbaint)vec_mergeh((vector signed char)color01, (vector signed char)color00);
branches/new_menus/src/emu/video/tlc34076.c
r29563r29564
4040//  tlc34076_device - constructor
4141//-------------------------------------------------
4242tlc34076_device::tlc34076_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43   :   device_t(mconfig, TLC34076, "TLC34076", tag, owner, clock, "tlc34076", __FILE__),
43   :   device_t(mconfig, TLC34076, "TLC34076 VIP", tag, owner, clock, "tlc34076", __FILE__),
4444      m_dacbits(6)
4545{
4646}
branches/new_menus/src/emu/video/pc_vga.c
r29563r29564
184184}
185185
186186ibm8514a_device::ibm8514a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
187   : device_t(mconfig, IBM8514A, "IBM8514A", tag, owner, clock, "ibm8514a", __FILE__)
187   : device_t(mconfig, IBM8514A, "IBM8514A Video", tag, owner, clock, "ibm8514a", __FILE__)
188188{
189189}
190190
branches/new_menus/src/emu/video/psx.c
r29563r29564
5252}
5353
5454cxd8514q_device::cxd8514q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
55   : psxgpu_device(mconfig, CXD8514Q, "CXD8514Q", tag, owner, clock, "cxd8514q", __FILE__)
55   : psxgpu_device(mconfig, CXD8514Q, "CXD8514Q GPU", tag, owner, clock, "cxd8514q", __FILE__)
5656{
5757}
5858
5959cxd8538q_device::cxd8538q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
60   : psxgpu_device(mconfig, CXD8538Q, "CXD8538Q", tag, owner, clock, "cxd8538q", __FILE__)
60   : psxgpu_device(mconfig, CXD8538Q, "CXD8538Q GPU", tag, owner, clock, "cxd8538q", __FILE__)
6161{
6262}
6363
6464cxd8561q_device::cxd8561q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
65   : psxgpu_device(mconfig, CXD8561Q, "CXD8561Q", tag, owner, clock, "cxd8561q", __FILE__)
65   : psxgpu_device(mconfig, CXD8561Q, "CXD8561Q GPU", tag, owner, clock, "cxd8561q", __FILE__)
6666{
6767}
6868
r29563r29564
7272}
7373
7474cxd8561cq_device::cxd8561cq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
75   : psxgpu_device(mconfig, CXD8561CQ, "CXD8561CQ", tag, owner, clock, "cxd8561cq", __FILE__)
75   : psxgpu_device(mconfig, CXD8561CQ, "CXD8561CQ GPU", tag, owner, clock, "cxd8561cq", __FILE__)
7676{
7777}
7878
7979cxd8654q_device::cxd8654q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
80   : psxgpu_device(mconfig, CXD8654Q, "CXD8654Q", tag, owner, clock, "cxd8654q", __FILE__)
80   : psxgpu_device(mconfig, CXD8654Q, "CXD8654Q GPU", tag, owner, clock, "cxd8654q", __FILE__)
8181{
8282}
8383
branches/new_menus/src/emu/video/saa5050.c
r29563r29564
184184}
185185
186186saa5050_device::saa5050_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
187   device_t(mconfig, SAA5050, "SAA5050 video", tag, owner, clock, "saa5050", __FILE__),
187   device_t(mconfig, SAA5050, "SAA5050 Video", tag, owner, clock, "saa5050", __FILE__),
188188   m_char_rom(*this, "chargen"),
189189   m_read_d(*this),
190190   m_frame_count(0),
branches/new_menus/src/lib/util/palette.h
r29563r29564
4747   UINT8 b() const { return m_data >> 0; }
4848   rgb15_t as_rgb15() const { return ((r() >> 3) << 10) | ((g() >> 3) << 5) | ((b() >> 3) << 0); }
4949   UINT8 brightness() const { return (r() * 222 + g() * 707 + b() * 71) / 1000; }
50   UINT32 const *ptr() const { return &m_data; }
5051
5152   // setters
5253   rgb_t &set_a(UINT8 a) { m_data &= ~0xff000000; m_data |= a << 24; return *this; }
branches/new_menus/src/mess/drivers/vc4000.c
r29563r29564
676676
677677
678678/*   YEAR  NAME      PARENT     COMPAT    MACHINE    INPUT        INIT      COMPANY             FULLNAME */
679CONS(1978, vc4000,   0,         0,        vc4000,    vc4000, driver_device,      0,        "Interton",         "VC 4000",          GAME_IMPERFECT_GRAPHICS )          /* Germany, Austria, UK, Australia */
679CONS(1978, vc4000,   0,         0,        vc4000,    vc4000, driver_device,      0,        "Interton",         "Intertion Electronic VC 4000", GAME_IMPERFECT_GRAPHICS )          /* Germany, Austria, UK, Australia */
680680CONS(1979, spc4000,  vc4000,    0,        vc4000,    vc4000, driver_device,      0,        "Grundig",          "Super Play Computer 4000", GAME_IMPERFECT_GRAPHICS )  /* Germany, Austria */
681681CONS(1979, cx3000tc, vc4000,    0,        vc4000,    vc4000, driver_device,      0,        "Palson",           "CX 3000 Tele Computer", GAME_IMPERFECT_GRAPHICS )     /* Spain */
682682CONS(1979, tvc4000,  vc4000,    0,        vc4000,    vc4000, driver_device,      0,        "Koerting",         "TVC-4000",         GAME_IMPERFECT_GRAPHICS )          /* Argentina */
branches/new_menus/src/mess/audio/vc4000.c
r29563r29564
1111const device_type VC4000 = &device_creator<vc4000_sound_device>;
1212
1313vc4000_sound_device::vc4000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
14   : device_t(mconfig, VC4000, "VC 4000 Custom", tag, owner, clock, "vc4000_sound", __FILE__),
14   : device_t(mconfig, VC4000, "Intertion Electronic VC 4000 Audio Custom", tag, owner, clock, "vc4000_sound", __FILE__),
1515      device_sound_interface(mconfig, *this),
1616      m_channel(NULL),
1717      m_size(0),
branches/new_menus/src/mess/audio/special.c
r29563r29564
2323//-------------------------------------------------
2424
2525specimx_sound_device::specimx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
26   : device_t(mconfig, SPECIMX, "Specialist MX Custom", tag, owner, clock, "specimx_sound", __FILE__),
26   : device_t(mconfig, SPECIMX, "Specialist MX Audio Custom", tag, owner, clock, "specimx_sound", __FILE__),
2727      device_sound_interface(mconfig, *this),
2828      m_mixer_channel(NULL)
2929{
branches/new_menus/src/mess/audio/arcadia.c
r29563r29564
4646//-------------------------------------------------
4747
4848arcadia_sound_device::arcadia_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
49   : device_t(mconfig, ARCADIA_SOUND, "Arcadia Custom Sound", tag, owner, clock, "arcadia_sound", __FILE__),
49   : device_t(mconfig, ARCADIA_SOUND, "Arcadia Audio Custom", tag, owner, clock, "arcadia_sound", __FILE__),
5050      device_sound_interface(mconfig, *this)
5151{
5252}
branches/new_menus/src/mess/audio/svision.c
r29563r29564
2121//-------------------------------------------------
2222
2323svision_sound_device::svision_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
24   : device_t(mconfig, SVISION, "Super Vision Custom", tag, owner, clock, "svision_sound", __FILE__),
24   : device_t(mconfig, SVISION, "Super Vision Audio Custom", tag, owner, clock, "svision_sound", __FILE__),
2525      device_sound_interface(mconfig, *this),
2626      m_mixer_channel(NULL)
2727{
branches/new_menus/src/mess/audio/tvc.c
r29563r29564
1717//-------------------------------------------------
1818
1919tvc_sound_device::tvc_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
20   device_t(mconfig, TVC_SOUND, "TVC 64 Custom Sound", tag, owner, clock, "tvc_sound", __FILE__),
20   device_t(mconfig, TVC_SOUND, "TVC 64 Audio Custom", tag, owner, clock, "tvc_sound", __FILE__),
2121   device_sound_interface(mconfig, *this),
2222   m_write_sndint(*this)
2323{
branches/new_menus/src/mess/audio/dai.c
r29563r29564
2020//-------------------------------------------------
2121
2222dai_sound_device::dai_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23   : device_t(mconfig, DAI_SOUND, "DAI Custom Sound", tag, owner, clock, "dai_sound", __FILE__),
23   : device_t(mconfig, DAI_SOUND, "DAI Audio Custom", tag, owner, clock, "dai_sound", __FILE__),
2424      device_sound_interface(mconfig, *this)
2525{
2626}
branches/new_menus/src/mess/audio/wswan.c
r29563r29564
2424//-------------------------------------------------
2525
2626wswan_sound_device::wswan_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
27   : device_t(mconfig, WSWAN, "WonderSwan Custom", tag, owner, clock, "wswan_sound", __FILE__),
27   : device_t(mconfig, WSWAN, "WonderSwan Audio Custom", tag, owner, clock, "wswan_sound", __FILE__),
2828      device_sound_interface(mconfig, *this),
2929      m_channel(NULL),
3030      m_sweep_step(0),
branches/new_menus/src/mess/audio/mac.c
r29563r29564
3131const device_type MAC_SOUND = &device_creator<mac_sound_device>;
3232
3333mac_sound_device::mac_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34               : device_t(mconfig, MAC_SOUND, "Mac Custom", tag, owner, clock, "mac_sound", __FILE__),
34               : device_t(mconfig, MAC_SOUND, "Mac Audio Custom", tag, owner, clock, "mac_sound", __FILE__),
3535                  device_sound_interface(mconfig, *this),
3636                  m_sample_enable(0),
3737                  m_mac_snd_buf_ptr(NULL),
branches/new_menus/src/mame/drivers/pinkiri8.c
r29563r29564
132132const device_type JANSHIVDP = &device_creator<janshi_vdp_device>;
133133
134134janshi_vdp_device::janshi_vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
135   : device_t(mconfig, JANSHIVDP, "JANSHIVDP", tag, owner, clock, "janshi_vdp", __FILE__),
135   : device_t(mconfig, JANSHIVDP, "Janshi VDP", tag, owner, clock, "janshi_vdp", __FILE__),
136136      device_memory_interface(mconfig, *this),
137137      m_space_config("janshi_vdp", ENDIANNESS_LITTLE, 8,24, 0, address_map_delegate(FUNC(janshi_vdp_device::map), this))
138138{
branches/new_menus/src/mame/drivers/mjkjidai.c
r29563r29564
3131const device_type MJKJIDAI = &device_creator<mjkjidai_adpcm_device>;
3232
3333mjkjidai_adpcm_device::mjkjidai_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34   : device_t(mconfig, MJKJIDAI, "Custom ADPCM", tag, owner, clock, "mjkjidai_adpcm", __FILE__),
34   : device_t(mconfig, MJKJIDAI, "Mahjong Kyou Jidai ADPCM Custom", tag, owner, clock, "mjkjidai_adpcm", __FILE__),
3535      device_sound_interface(mconfig, *this),
3636      m_stream(NULL),
3737      m_current(0),
branches/new_menus/src/mame/drivers/renegade.c
r29563r29564
113113const device_type RENEGADE_ADPCM = &device_creator<renegade_adpcm_device>;
114114
115115renegade_adpcm_device::renegade_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
116   : device_t(mconfig, RENEGADE_ADPCM, "Renegade Custom ADPCM", tag, owner, clock, "renegade_adpcm", __FILE__),
116   : device_t(mconfig, RENEGADE_ADPCM, "Renegade ADPCM Custom", tag, owner, clock, "renegade_adpcm", __FILE__),
117117      device_sound_interface(mconfig, *this),
118118      m_stream(NULL),
119119      m_current(0),
branches/new_menus/src/mame/audio/polepos.c
r29563r29564
5050//-------------------------------------------------
5151
5252polepos_sound_device::polepos_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
53   : device_t(mconfig, POLEPOS, "Pole Position Custom", tag, owner, clock, "polepos_sound", __FILE__),
53   : device_t(mconfig, POLEPOS, "Pole Position Audio Custom", tag, owner, clock, "polepos_sound", __FILE__),
5454      device_sound_interface(mconfig, *this),
5555      m_current_position(0),
5656      m_sample_msb(0),
branches/new_menus/src/mame/audio/micro3d.c
r29563r29564
166166const device_type MICRO3D = &device_creator<micro3d_sound_device>;
167167
168168micro3d_sound_device::micro3d_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
169   : device_t(mconfig, MICRO3D, "Microprose Custom", tag, owner, clock, "micro3d_sound", __FILE__),
169   : device_t(mconfig, MICRO3D, "Microprose Audio Custom", tag, owner, clock, "micro3d_sound", __FILE__),
170170      device_sound_interface(mconfig, *this),
171171      m_vcf(0),
172172      m_vcq(0),
branches/new_menus/src/mame/audio/cps3.c
r29563r29564
2121//-------------------------------------------------
2222
2323cps3_sound_device::cps3_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
24   : device_t(mconfig, CPS3, "CPS3 Custom", tag, owner, clock, "cps3_custom", __FILE__),
24   : device_t(mconfig, CPS3, "CPS3 Audio Custom", tag, owner, clock, "cps3_custom", __FILE__),
2525      device_sound_interface(mconfig, *this),
2626      m_stream(NULL),
2727      m_key(0),
branches/new_menus/src/mame/audio/phoenix.c
r29563r29564
5252const device_type PHOENIX = &device_creator<phoenix_sound_device>;
5353
5454phoenix_sound_device::phoenix_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
55   : device_t(mconfig, PHOENIX, "Phoenix Custom", tag, owner, clock, "phoenix_sound", __FILE__),
55   : device_t(mconfig, PHOENIX, "Phoenix Audio Custom", tag, owner, clock, "phoenix_sound", __FILE__),
5656      device_sound_interface(mconfig, *this)
5757{
5858}
branches/new_menus/src/mame/audio/redbaron.c
r29563r29564
3434//-------------------------------------------------
3535
3636redbaron_sound_device::redbaron_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
37   : device_t(mconfig, REDBARON, "Red Baron Custom", tag, owner, clock, "redbaron_custom", __FILE__),
37   : device_t(mconfig, REDBARON, "Red Baron Audio Custom", tag, owner, clock, "redbaron_custom", __FILE__),
3838      device_sound_interface(mconfig, *this),
3939      m_vol_lookup(NULL),
4040      m_channel(NULL),
branches/new_menus/src/mame/audio/cclimber.c
r29563r29564
6060//-------------------------------------------------
6161
6262cclimber_audio_device::cclimber_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
63   : device_t(mconfig, CCLIMBER_AUDIO, "cclimber Sound Board", tag, owner, clock, "cclimber_audio", __FILE__),
63   : device_t(mconfig, CCLIMBER_AUDIO, "Crazy Climber Sound Board", tag, owner, clock, "cclimber_audio", __FILE__),
6464   m_sample_num(0),
6565   m_sample_freq(0),
6666   m_sample_volume(0),
branches/new_menus/src/mame/audio/gridlee.c
r29563r29564
2323//-------------------------------------------------
2424
2525gridlee_sound_device::gridlee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
26   : device_t(mconfig, GRIDLEE, "Gridlee Custom", tag, owner, clock, "gridlee_sound", __FILE__),
26   : device_t(mconfig, GRIDLEE, "Gridlee Audio Custom", tag, owner, clock, "gridlee_sound", __FILE__),
2727      device_sound_interface(mconfig, *this),
2828      m_tone_step(0),
2929      m_tone_fraction(0),
branches/new_menus/src/mame/audio/geebee.c
r29563r29564
1414const device_type GEEBEE = &device_creator<geebee_sound_device>;
1515
1616geebee_sound_device::geebee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
17   : device_t(mconfig, GEEBEE, "Gee Bee Custom", tag, owner, clock, "geebee_sound", __FILE__),
17   : device_t(mconfig, GEEBEE, "Gee Bee Audio Custom", tag, owner, clock, "geebee_sound", __FILE__),
1818      device_sound_interface(mconfig, *this),
1919      m_decay(NULL),
2020      m_channel(NULL),
branches/new_menus/src/mame/audio/warpwarp.c
r29563r29564
1717const device_type WARPWARP = &device_creator<warpwarp_sound_device>;
1818
1919warpwarp_sound_device::warpwarp_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
20   : device_t(mconfig, WARPWARP, "Warp Warp Custom", tag, owner, clock, "warpwarp_sound", __FILE__),
20   : device_t(mconfig, WARPWARP, "Warp Warp Audio Custom", tag, owner, clock, "warpwarp_sound", __FILE__),
2121      device_sound_interface(mconfig, *this),
2222      m_decay(NULL),
2323      m_channel(NULL),
branches/new_menus/src/mame/audio/galaxian.c
r29563r29564
388388const device_type GALAXIAN = &device_creator<galaxian_sound_device>;
389389
390390galaxian_sound_device::galaxian_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
391   : device_t(mconfig, GALAXIAN, "Galaxian Custom", tag, owner, clock, "galaxian_sound", __FILE__),
391   : device_t(mconfig, GALAXIAN, "Galaxian Audio Custom", tag, owner, clock, "galaxian_sound", __FILE__),
392392      device_sound_interface(mconfig, *this),
393393      m_lfo_val(0)
394394{
branches/new_menus/src/mame/audio/snk6502.c
r29563r29564
352352const device_type SNK6502 = &device_creator<snk6502_sound_device>;
353353
354354snk6502_sound_device::snk6502_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
355   : device_t(mconfig, SNK6502, "snk6502 Custom", tag, owner, clock, "snk6502_sound", __FILE__),
355   : device_t(mconfig, SNK6502, "SNK6502 Audio Custom", tag, owner, clock, "snk6502_sound", __FILE__),
356356      device_sound_interface(mconfig, *this),
357357      //m_tone_channels[CHANNELS],
358358      m_tone_clock_expire(0),
branches/new_menus/src/mame/audio/tx1.c
r29563r29564
5252const device_type TX1 = &device_creator<tx1_sound_device>;
5353
5454tx1_sound_device::tx1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
55   : device_t(mconfig, TX1, "TX-1 Custom", tag, owner, clock, "tx1_sound", __FILE__),
55   : device_t(mconfig, TX1, "TX-1 Audio Custom", tag, owner, clock, "tx1_sound", __FILE__),
5656      device_sound_interface(mconfig, *this)
5757{
5858}
r29563r29564
345345const device_type BUGGYBOY = &device_creator<buggyboy_sound_device>;
346346
347347buggyboy_sound_device::buggyboy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
348   : tx1_sound_device(mconfig, BUGGYBOY, "Buggy Boy Custom", tag, owner, clock, "buggyboy_sound", __FILE__)
348   : tx1_sound_device(mconfig, BUGGYBOY, "Buggy Boy Audio Custom", tag, owner, clock, "buggyboy_sound", __FILE__)
349349{
350350}
351351
branches/new_menus/src/mame/audio/wiping.c
r29563r29564
1515const device_type WIPING = &device_creator<wiping_sound_device>;
1616
1717wiping_sound_device::wiping_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
18   : device_t(mconfig, WIPING, "Wiping Custom", tag, owner, clock, "wiping_sound", __FILE__),
18   : device_t(mconfig, WIPING, "Wiping Audio Custom", tag, owner, clock, "wiping_sound", __FILE__),
1919      device_sound_interface(mconfig, *this),
2020   m_last_channel(NULL),
2121   m_sound_prom(NULL),
branches/new_menus/src/mame/audio/gomoku.c
r29563r29564
2626//-------------------------------------------------
2727
2828gomoku_sound_device::gomoku_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
29   : device_t(mconfig, GOMOKU, "Gomoku Custom", tag, owner, clock, "gomoku_sound", __FILE__),
29   : device_t(mconfig, GOMOKU, "Gomoku Narabe Renju Audio Custom", tag, owner, clock, "gomoku_sound", __FILE__),
3030      device_sound_interface(mconfig, *this),
3131      m_last_channel(NULL),
3232      m_sound_rom(NULL),
branches/new_menus/src/mame/audio/m72.c
r29563r29564
4747const device_type M72 = &device_creator<m72_audio_device>;
4848
4949m72_audio_device::m72_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
50   : device_t(mconfig, M72, "M72 Custom", tag, owner, clock, "m72_audio", __FILE__),
50   : device_t(mconfig, M72, "Irem M72 Audio Custom", tag, owner, clock, "m72_audio", __FILE__),
5151      device_sound_interface(mconfig, *this),
5252      m_irqvector(0),
5353      m_sample_addr(0),
branches/new_menus/src/mame/audio/tiamc1.c
r29563r29564
5656//-------------------------------------------------
5757
5858tiamc1_sound_device::tiamc1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
59   : device_t(mconfig, TIAMC1, "TIA-MC1 Custom", tag, owner, clock, "tiamc1_sound", __FILE__),
59   : device_t(mconfig, TIAMC1, "TIA-MC1 Audio Custom", tag, owner, clock, "tiamc1_sound", __FILE__),
6060      device_sound_interface(mconfig, *this),
6161      m_channel(NULL),
6262      m_timer1_divider(0)
branches/new_menus/src/mame/audio/segag80r.c
r29563r29564
3131const device_type SEGA005 = &device_creator<sega005_sound_device>;
3232
3333sega005_sound_device::sega005_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34   : device_t(mconfig, SEGA005, "005 Custom", tag, owner, clock, "sega005_sound", __FILE__),
34   : device_t(mconfig, SEGA005, "Sega 005 Audio Custom", tag, owner, clock, "sega005_sound", __FILE__),
3535      device_sound_interface(mconfig, *this),
3636      m_sega005_sound_timer(NULL),
3737      m_sega005_stream(NULL)
branches/new_menus/src/mame/audio/pleiads.c
r29563r29564
2222const device_type PLEIADS = &device_creator<pleiads_sound_device>;
2323
2424pleiads_sound_device::pleiads_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
25   : device_t(mconfig, PLEIADS, "Pleiads Custom", tag, owner, clock, "pleiads_sound", __FILE__),
25   : device_t(mconfig, PLEIADS, "Pleiads Audio Custom", tag, owner, clock, "pleiads_sound", __FILE__),
2626      device_sound_interface(mconfig, *this)
2727{
2828}
r29563r29564
121121const device_type NAUGHTYB = &device_creator<naughtyb_sound_device>;
122122
123123naughtyb_sound_device::naughtyb_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
124   : pleiads_sound_device(mconfig, NAUGHTYB, "Naughty Boy Custom", tag, owner, clock, "naughtyb_sound", __FILE__)
124   : pleiads_sound_device(mconfig, NAUGHTYB, "Naughty Boy Audio Custom", tag, owner, clock, "naughtyb_sound", __FILE__)
125125{
126126}
127127
r29563r29564
199199const device_type POPFLAME = &device_creator<popflame_sound_device>;
200200
201201popflame_sound_device::popflame_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
202   : pleiads_sound_device(mconfig, POPFLAME, "Pop Flamer Custom", tag, owner, clock, "popflame_sound", __FILE__)
202   : pleiads_sound_device(mconfig, POPFLAME, "Pop Flamer Audio Custom", tag, owner, clock, "popflame_sound", __FILE__)
203203{
204204}
205205
branches/new_menus/src/mame/audio/flower.c
r29563r29564
2222const device_type FLOWER = &device_creator<flower_sound_device>;
2323
2424flower_sound_device::flower_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
25   : device_t(mconfig, FLOWER, "Flower Custom Sound", tag, owner, clock, "flower_sound", __FILE__),
25   : device_t(mconfig, FLOWER, "Flower Audio Custom", tag, owner, clock, "flower_sound", __FILE__),
2626      device_sound_interface(mconfig, *this)
2727{
2828}
branches/new_menus/src/mame/machine/buggychl.c
r29563r29564
66const device_type BUGGYCHL_MCU = &device_creator<buggychl_mcu_device>;
77
88buggychl_mcu_device::buggychl_mcu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
9   : device_t(mconfig, BUGGYCHL_MCU, "BuggyChl MCU", tag, owner, clock, "buggychl_mcu", __FILE__),
9   : device_t(mconfig, BUGGYCHL_MCU, "Buggy Challenge MCU Simulation", tag, owner, clock, "buggychl_mcu", __FILE__),
1010   m_port_a_in(0),
1111   m_port_a_out(0),
1212   m_ddr_a(0),
branches/new_menus/src/mame/machine/nmk112.c
r29563r29564
1818const device_type NMK112 = &device_creator<nmk112_device>;
1919
2020nmk112_device::nmk112_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
21   : device_t(mconfig, NMK112, "NMK 112", tag, owner, clock, "nmk112", __FILE__),
21   : device_t(mconfig, NMK112, "NMK112", tag, owner, clock, "nmk112", __FILE__),
2222      m_page_mask(0xff),
2323      m_rom0(NULL),
2424      m_rom1(NULL),
branches/new_menus/src/mame/machine/tait8741.c
r29563r29564
3434const device_type TAITO8741_4PACK = &device_creator<taito8741_4pack_device>;
3535
3636taito8741_4pack_device::taito8741_4pack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
37   : device_t(mconfig, TAITO8741_4PACK, "Taito 8741 MCU 4 pack", tag, owner, clock, "taito8741_4pack", __FILE__),
37   : device_t(mconfig, TAITO8741_4PACK, "Taito '4Pack' 8741 MCU Simulation", tag, owner, clock, "taito8741_4pack", __FILE__),
3838   m_port_handler_0_r(*this),
3939   m_port_handler_1_r(*this),
4040   m_port_handler_2_r(*this),
r29563r29564
330330const device_type JOSVOLLY8741_4PACK = &device_creator<josvolly8741_4pack_device>;
331331
332332josvolly8741_4pack_device::josvolly8741_4pack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
333   : device_t(mconfig, JOSVOLLY8741_4PACK, "joshi Vollyball 8741 MCU 4 pack", tag, owner, clock, "josvolly8741_4pack", __FILE__),
333   : device_t(mconfig, JOSVOLLY8741_4PACK, "Joshi Volleyball 8741 MCU Simulation", tag, owner, clock, "josvolly8741_4pack", __FILE__),
334334   m_port_handler_0_r(*this),
335335   m_port_handler_1_r(*this),
336336   m_port_handler_2_r(*this),
branches/new_menus/src/mame/machine/jvs13551.c
r29563r29564
3131   return INPUT_PORTS_NAME(sega_837_13551_coins);
3232}
3333
34sega_837_13551::sega_837_13551(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : jvs_device(mconfig, SEGA_837_13551, "SEGA-837-13551", tag, owner, clock, "sega_837_13551", __FILE__)
34sega_837_13551::sega_837_13551(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : jvs_device(mconfig, SEGA_837_13551, "Sega 837-13551 I/O Board", tag, owner, clock, "sega_837_13551", __FILE__)
3535{
3636   memset(port_tag, 0, sizeof(port_tag));
3737}
branches/new_menus/src/mame/machine/nb1413m3.c
r29563r29564
2222const device_type NB1413M3 = &device_creator<nb1413m3_device>;
2323
2424nb1413m3_device::nb1413m3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
25   : device_t(mconfig, NB1413M3, "Nichibutsu NB1413M3", tag, owner, clock, "nb1413m3", __FILE__),
25   : device_t(mconfig, NB1413M3, "NB1413M3 Mahjong Custom", tag, owner, clock, "nb1413m3", __FILE__),
2626   m_sndromrgntag("voice"),
2727   m_sndrombank1(0),
2828   m_sndrombank2(0),
branches/new_menus/src/mame/machine/gaelco3d.c
r29563r29564
187187const device_type GAELCO_SERIAL = &device_creator<gaelco_serial_device>;
188188
189189gaelco_serial_device::gaelco_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
190   : device_t(mconfig, GAELCO_SERIAL, "gaelco_serial", tag, owner, clock, "gaelco_serial", __FILE__),
190   : device_t(mconfig, GAELCO_SERIAL, "Gaelco 3D Serial Hardware", tag, owner, clock, "gaelco_serial", __FILE__),
191191   m_irq_handler(*this),
192192   m_status(0),
193193   m_last_in_msg_cnt(0),
branches/new_menus/src/mame/video/mcd212.c
r29563r29564
15091509//-------------------------------------------------
15101510
15111511mcd212_device::mcd212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1512   : device_t(mconfig, MACHINE_MCD212, "MCD212 video", tag, owner, clock, "mcd212", __FILE__),
1512   : device_t(mconfig, MACHINE_MCD212, "MCD212 Video", tag, owner, clock, "mcd212", __FILE__),
15131513      device_video_interface(mconfig, *this)
15141514{
15151515}
branches/new_menus/src/mame/video/ygv608.c
r29563r29564
5050const device_type YGV608 = &device_creator<ygv608_device>;
5151
5252ygv608_device::ygv608_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
53   : device_t(mconfig, YGV608, "YGV608", tag, owner, clock, "ygv608", __FILE__),
53   : device_t(mconfig, YGV608, "YGV608 VDP", tag, owner, clock, "ygv608", __FILE__),
5454   m_gfxdecode(*this),
5555   m_palette(*this)
5656{
branches/new_menus/src/mame/video/sknsspr.c
r29563r29564
2020
2121
2222sknsspr_device::sknsspr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23   : device_t(mconfig, SKNS_SPRITE, "sknsspr_device", tag, owner, clock, "sknsspr", __FILE__)
23   : device_t(mconfig, SKNS_SPRITE, "SKNS Sprite", tag, owner, clock, "sknsspr", __FILE__)
2424{
2525}
2626
branches/new_menus/src/mame/video/decbac06.c
r29563r29564
6666const device_type DECO_BAC06 = &device_creator<deco_bac06_device>;
6767
6868deco_bac06_device::deco_bac06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
69   : device_t(mconfig, DECO_BAC06, "decbac06_device", tag, owner, clock, "deco_bac06", __FILE__),
69   : device_t(mconfig, DECO_BAC06, "DECO BAC06 Tilemap", tag, owner, clock, "deco_bac06", __FILE__),
7070      m_pf_data(NULL),
7171      m_pf_rowscroll(NULL),
7272      m_pf_colscroll(NULL),
branches/new_menus/src/mame/video/decospr.c
r29563r29564
146146const device_type DECO_SPRITE = &device_creator<decospr_device>;
147147
148148decospr_device::decospr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
149   : device_t(mconfig, DECO_SPRITE, "decospr_device", tag, owner, clock, "decospr", __FILE__),
149   : device_t(mconfig, DECO_SPRITE, "DECO 52 Sprite", tag, owner, clock, "decospr", __FILE__),
150150      device_video_interface(mconfig, *this),
151151      m_gfxregion(0),
152152      m_is_bootleg(false),
branches/new_menus/src/mame/video/seta001.c
r29563r29564
3030const device_type SETA001_SPRITE = &device_creator<seta001_device>;
3131
3232seta001_device::seta001_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
33   : device_t(mconfig, SETA001_SPRITE, "SETA001 SPRITE", tag, owner, clock, "seta001", __FILE__),
33   : device_t(mconfig, SETA001_SPRITE, "SETA001 Sprite", tag, owner, clock, "seta001", __FILE__),
3434      m_gfxdecode(*this),
3535      m_palette(*this)
3636{
branches/new_menus/src/mame/video/decmxc06.c
r29563r29564
4848const device_type DECO_MXC06 = &device_creator<deco_mxc06_device>;
4949
5050deco_mxc06_device::deco_mxc06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
51   : device_t(mconfig, DECO_MXC06, "decmxc06_device", tag, owner, clock, "deco_mxc06", __FILE__),
51   : device_t(mconfig, DECO_MXC06, "DECO MXC06 Sprite", tag, owner, clock, "deco_mxc06", __FILE__),
5252      m_gfxregion(0),
5353      m_gfxdecode(*this),
5454      m_palette(*this)
branches/new_menus/src/tools/tools.mak
r29563r29564
153153REGREPOBJS = \
154154   $(TOOLSOBJ)/regrep.o \
155155
156regrep$(EXE): $(REGREPOBJS) $(LIBUTIL) $(LIBOCORE) $(ZLIB) $(EXPAT)
156regrep$(EXE): $(REGREPOBJS) $(LIBUTIL) $(FLAC_LIB) $(LIBOCORE) $(ZLIB) $(EXPAT)
157157   @echo Linking $@...
158158   $(LD) $(LDFLAGS) $^ $(LIBS) -o $@
159159
r29563r29564
206206PNGCMPOBJS = \
207207   $(TOOLSOBJ)/pngcmp.o \
208208
209pngcmp$(EXE): $(PNGCMPOBJS) $(LIBUTIL) $(LIBOCORE) $(ZLIB)
209pngcmp$(EXE): $(PNGCMPOBJS) $(LIBUTIL) $(FLAC_LIB) $(LIBOCORE) $(ZLIB)
210210   @echo Linking $@...
211211   $(LD) $(LDFLAGS) $^ $(LIBS) -o $@
212212
Property changes on: branches/new_menus
Modified: svn:mergeinfo
   Merged /trunk:r29558-29563

Previous 199869 Revisions Next


© 1997-2024 The MAME Team