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

« back to all changes in this revision

Viewing changes to src/emu/cpu/m6502/m6502.c

  • 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:
68
68
        UINT8   irq_state;
69
69
        UINT8   so_state;
70
70
 
71
 
        device_irq_callback irq_callback;
 
71
        device_irq_acknowledge_callback irq_callback;
72
72
        legacy_cpu_device *device;
73
73
        address_space *space;
74
74
        direct_read_data *direct;
130
130
 *
131
131
 *****************************************************************************/
132
132
 
133
 
static void m6502_common_init(legacy_cpu_device *device, device_irq_callback irqcallback, UINT8 subtype, void (*const *insn)(m6502_Regs *cpustate), const char *type)
 
133
static void m6502_common_init(legacy_cpu_device *device, device_irq_acknowledge_callback irqcallback, UINT8 subtype, void (*const *insn)(m6502_Regs *cpustate), const char *type)
134
134
{
135
135
        m6502_Regs *cpustate = get_safe_token(device);
136
136
        const m6502_interface *intf = (const m6502_interface *)device->static_config();
399
399
        cpustate->out_port_func(cpustate->ddr, cpustate->port & cpustate->ddr);
400
400
}
401
401
 
402
 
static ADDRESS_MAP_START(m6510_mem, AS_PROGRAM, 8)
403
 
        AM_RANGE(0x0000, 0x0001) AM_READWRITE(m6510_read_0000, m6510_write_0000)
 
402
static ADDRESS_MAP_START(m6510_mem, AS_PROGRAM, 8, legacy_cpu_device)
 
403
        AM_RANGE(0x0000, 0x0001) AM_READWRITE_LEGACY(m6510_read_0000, m6510_write_0000)
404
404
ADDRESS_MAP_END
405
405
 
406
406