~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to src/emu/devcpu.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
#define CPU_SET_INFO_CALL(name)                 CPU_SET_INFO_NAME(name)(device, state, info)
200
200
 
201
201
#define CPU_INIT_NAME(name)                             cpu_init_##name
202
 
#define CPU_INIT(name)                                  void CPU_INIT_NAME(name)(legacy_cpu_device *device, device_irq_callback irqcallback)
 
202
#define CPU_INIT(name)                                  void CPU_INIT_NAME(name)(legacy_cpu_device *device, device_irq_acknowledge_callback irqcallback)
203
203
#define CPU_INIT_CALL(name)                             CPU_INIT_NAME(name)(device, irqcallback)
204
204
 
205
205
#define CPU_RESET_NAME(name)                    cpu_reset_##name
262
262
 
263
263
#define cpu_set_reg(cpu, _reg, val)                     device_state(cpu)->set_state(_reg, val)
264
264
 
265
 
#define INTERRUPT_GEN(func)             void func(device_t *device)
266
 
 
267
265
// helpers for using machine/cputag instead of cpu objects
268
266
#define cputag_set_input_line(mach, tag, line, state)                                   device_execute((mach).device(tag))->set_input_line(line, state)
269
267
#define cputag_set_input_line_and_vector(mach, tag, line, state, vec)   device_execute((mach).device(tag))->set_input_line_and_vector(line, state, vec)
283
281
// CPU interface functions
284
282
typedef void (*cpu_get_info_func)(legacy_cpu_device *device, UINT32 state, cpuinfo *info);
285
283
typedef void (*cpu_set_info_func)(legacy_cpu_device *device, UINT32 state, cpuinfo *info);
286
 
typedef void (*cpu_init_func)(legacy_cpu_device *device, device_irq_callback irqcallback);
 
284
typedef void (*cpu_init_func)(legacy_cpu_device *device, device_irq_acknowledge_callback irqcallback);
287
285
typedef void (*cpu_reset_func)(legacy_cpu_device *device);
288
286
typedef void (*cpu_exit_func)(legacy_cpu_device *device);
289
287
typedef void (*cpu_execute_func)(legacy_cpu_device *device);