trunk/src/emu/video/hd44102.c
r32700 | r32701 | |
80 | 80 | |
81 | 81 | |
82 | 82 | //------------------------------------------------- |
83 | | // static_set_config - configuration helper |
| 83 | // static_set_offsets - configuration helper |
84 | 84 | //------------------------------------------------- |
85 | 85 | |
86 | | void hd44102_device::static_set_config(device_t &device, int sx, int sy) |
| 86 | void hd44102_device::static_set_offsets(device_t &device, int sx, int sy) |
87 | 87 | { |
88 | 88 | hd44102_device &hd44102 = downcast<hd44102_device &>(device); |
89 | 89 | |
trunk/src/emu/video/hd44102.h
r32700 | r32701 | |
23 | 23 | #define MCFG_HD44102_ADD(_tag, _screen_tag, _sx, _sy) \ |
24 | 24 | MCFG_DEVICE_ADD(_tag, HD44102, 0) \ |
25 | 25 | MCFG_VIDEO_SET_SCREEN(_screen_tag) \ |
26 | | hd44102_device::static_set_config(*device, _sx, _sy); |
| 26 | hd44102_device::static_set_offsets(*device, _sx, _sy); |
27 | 27 | |
28 | 28 | |
29 | 29 | |
r32700 | r32701 | |
41 | 41 | hd44102_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
42 | 42 | |
43 | 43 | // inline configuration helpers |
44 | | static void static_set_config(device_t &device, int sx, int sy); |
| 44 | static void static_set_offsets(device_t &device, int sx, int sy); |
45 | 45 | |
46 | 46 | DECLARE_READ8_MEMBER( read ); |
47 | 47 | DECLARE_WRITE8_MEMBER( write ); |
trunk/src/emu/video/upd7227.c
r32700 | r32701 | |
56 | 56 | |
57 | 57 | |
58 | 58 | //------------------------------------------------- |
59 | | // static_set_config - configuration helper |
| 59 | // static_set_offsets - configuration helper |
60 | 60 | //------------------------------------------------- |
61 | 61 | |
62 | | void upd7227_device::static_set_config(device_t &device, int sx, int sy) |
| 62 | void upd7227_device::static_set_offsets(device_t &device, int sx, int sy) |
63 | 63 | { |
64 | 64 | upd7227_device &upd7227 = downcast<upd7227_device &>(device); |
65 | 65 | |
trunk/src/emu/video/upd7227.h
r32700 | r32701 | |
22 | 22 | |
23 | 23 | #define MCFG_UPD7227_ADD(_tag, _sx, _sy) \ |
24 | 24 | MCFG_DEVICE_ADD(_tag, UPD7227, 0) \ |
25 | | upd7227_device::static_set_config(*device, _sx, _sy); |
| 25 | upd7227_device::static_set_offsets(*device, _sx, _sy); |
26 | 26 | |
27 | 27 | |
28 | 28 | |
r32700 | r32701 | |
40 | 40 | upd7227_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
41 | 41 | |
42 | 42 | // inline configuration helpers |
43 | | static void static_set_config(device_t &device, int sx, int sy); |
| 43 | static void static_set_offsets(device_t &device, int sx, int sy); |
44 | 44 | |
45 | 45 | DECLARE_WRITE_LINE_MEMBER( cs_w ); |
46 | 46 | DECLARE_WRITE_LINE_MEMBER( cd_w ); |
trunk/src/emu/sound/cdp1863.h
r32700 | r32701 | |
35 | 35 | |
36 | 36 | #define MCFG_CDP1863_ADD(_tag, _clock, _clock2) \ |
37 | 37 | MCFG_DEVICE_ADD(_tag, CDP1863, _clock) \ |
38 | | cdp1863_device::static_set_config(*device, _clock2); |
| 38 | cdp1863_device::static_set_clock2(*device, _clock2); |
39 | 39 | |
40 | 40 | |
41 | 41 | |
r32700 | r32701 | |
53 | 53 | cdp1863_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
54 | 54 | |
55 | 55 | // inline configuration helpers |
56 | | static void static_set_config(device_t &device, int clock2); |
| 56 | static void static_set_clock2(device_t &device, int clock2); |
57 | 57 | |
58 | 58 | DECLARE_WRITE8_MEMBER( str_w ); |
59 | 59 | void str_w(UINT8 data); |
trunk/src/emu/sound/lmc1992.h
r32700 | r32701 | |
74 | 74 | // construction/destruction |
75 | 75 | lmc1992_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
76 | 76 | |
77 | | // inline configuration helpers |
78 | | static void static_set_config(device_t &device, int clock2); |
79 | | |
80 | 77 | DECLARE_WRITE_LINE_MEMBER( clock_w ); |
81 | 78 | DECLARE_WRITE_LINE_MEMBER( data_w ); |
82 | 79 | DECLARE_WRITE_LINE_MEMBER( enable_w ); |
trunk/src/emu/softlist.c
r32700 | r32701 | |
371 | 371 | |
372 | 372 | |
373 | 373 | //------------------------------------------------- |
374 | | // static_set_interface - configuration helper |
375 | | // to set the interface |
| 374 | // static_set_type - configuration helper |
| 375 | // to set the list type |
376 | 376 | //------------------------------------------------- |
377 | 377 | |
378 | | void software_list_device::static_set_config(device_t &device, const char *list, softlist_type list_type) |
| 378 | void software_list_device::static_set_type(device_t &device, const char *list, softlist_type list_type) |
379 | 379 | { |
380 | 380 | software_list_device &swlistdev = downcast<software_list_device &>(device); |
381 | 381 | swlistdev.m_list_name.cpy(list); |
trunk/src/emu/softlist.h
r32700 | r32701 | |
36 | 36 | //************************************************************************** |
37 | 37 | |
38 | 38 | #define MCFG_SOFTWARE_LIST_CONFIG(_list,_list_type) \ |
39 | | software_list_device::static_set_config(*device, _list, _list_type); |
| 39 | software_list_device::static_set_type(*device, _list, _list_type); |
40 | 40 | |
41 | 41 | #define MCFG_SOFTWARE_LIST_ADD( _tag, _list ) \ |
42 | 42 | MCFG_DEVICE_ADD( _tag, SOFTWARE_LIST, 0 ) \ |
r32700 | r32701 | |
190 | 190 | software_list_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
191 | 191 | |
192 | 192 | // inline configuration helpers |
193 | | static void static_set_config(device_t &device, const char *list, softlist_type list_type); |
| 193 | static void static_set_type(device_t &device, const char *list, softlist_type list_type); |
194 | 194 | static void static_set_filter(device_t &device, const char *filter); |
195 | 195 | |
196 | 196 | // getters |
trunk/hash/nes.xml
r32700 | r32701 | |
78950 | 78950 | </part> |
78951 | 78951 | </software> |
78952 | 78952 | |
| 78953 | <software name="sarc110" supported="no"> |
| 78954 | <description>Super Arcade 110</description> |
| 78955 | <year>19??</year> |
| 78956 | <publisher><unknown></publisher> |
| 78957 | <part name="cart" interface="nes_cart"> |
| 78958 | <feature name="slot" value="onebus" /> |
| 78959 | <feature name="pcb" value="UNL-OneBus" /> |
| 78960 | <dataarea name="prg" size="4194304"> |
| 78961 | <rom name="ic1.prg" size="4194304" crc="de76f71f" sha1="ff6b37a76c6463af7ae901918fc008b4a2863951" offset="0" status="baddump" /> |
| 78962 | </dataarea> |
| 78963 | <!-- 8k VRAM on cartridge --> |
| 78964 | <dataarea name="vram" size="8192"> |
| 78965 | </dataarea> |
| 78966 | </part> |
| 78967 | </software> |
78953 | 78968 | |
| 78969 | <software name="sarc110a" cloneof="sarc110" supported="no"> |
| 78970 | <description>Super Arcade 110 (Alt)</description> |
| 78971 | <year>19??</year> |
| 78972 | <publisher><unknown></publisher> |
| 78973 | <part name="cart" interface="nes_cart"> |
| 78974 | <feature name="slot" value="onebus" /> |
| 78975 | <feature name="pcb" value="UNL-OneBus" /> |
| 78976 | <dataarea name="prg" size="4194304"> |
| 78977 | <rom name="ic1_ver2.prg" size="4194304" crc="b97a0dc7" sha1="bace32d73184df914113de5336e29a7a6f4c03fa" offset="0" status="baddump" /> |
| 78978 | </dataarea> |
| 78979 | <!-- 8k VRAM on cartridge --> |
| 78980 | <dataarea name="vram" size="8192"> |
| 78981 | </dataarea> |
| 78982 | </part> |
| 78983 | </software> |
| 78984 | |
| 78985 | |
78954 | 78986 | <software name="mc_gx121" supported="no"> |
78955 | 78987 | <description>Games Xplosion 121 in 1</description> |
78956 | 78988 | <year>19??</year> |