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

« back to all changes in this revision

Viewing changes to src/mame/includes/vsnes.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:
2
2
{
3
3
public:
4
4
        vsnes_state(const machine_config &mconfig, device_type type, const char *tag)
5
 
                : driver_device(mconfig, type, tag) { }
 
5
                : driver_device(mconfig, type, tag) ,
 
6
                m_work_ram(*this, "work_ram"),
 
7
                m_work_ram_1(*this, "work_ram_1"){ }
6
8
 
7
 
        UINT8 *m_work_ram;
8
 
        UINT8 *m_work_ram_1;
 
9
        required_shared_ptr<UINT8> m_work_ram;
 
10
        optional_shared_ptr<UINT8> m_work_ram_1;
9
11
        int m_coin;
10
12
        int m_do_vrom_bank;
11
13
        int m_input_latch[4];
35
37
        int m_supxevs_prot_index;
36
38
        int m_security_counter;
37
39
        int m_ret;
 
40
        DECLARE_WRITE8_MEMBER(sprite_dma_0_w);
 
41
        DECLARE_WRITE8_MEMBER(sprite_dma_1_w);
 
42
        DECLARE_WRITE8_MEMBER(vsnes_coin_counter_w);
 
43
        DECLARE_READ8_MEMBER(vsnes_coin_counter_r);
 
44
        DECLARE_WRITE8_MEMBER(vsnes_coin_counter_1_w);
 
45
        DECLARE_WRITE8_MEMBER(vsnes_in0_w);
 
46
        DECLARE_READ8_MEMBER(vsnes_in0_r);
 
47
        DECLARE_READ8_MEMBER(vsnes_in1_r);
 
48
        DECLARE_WRITE8_MEMBER(vsnes_in0_1_w);
 
49
        DECLARE_READ8_MEMBER(vsnes_in0_1_r);
 
50
        DECLARE_READ8_MEMBER(vsnes_in1_1_r);
 
51
        DECLARE_READ8_MEMBER(gun_in0_r);
 
52
        DECLARE_WRITE8_MEMBER(vsnes_nt0_w);
 
53
        DECLARE_WRITE8_MEMBER(vsnes_nt1_w);
 
54
        DECLARE_READ8_MEMBER(vsnes_nt0_r);
 
55
        DECLARE_READ8_MEMBER(vsnes_nt1_r);
 
56
        DECLARE_WRITE8_MEMBER(vsnormal_vrom_banking);
 
57
        DECLARE_WRITE8_MEMBER(gun_in0_w);
 
58
        DECLARE_WRITE8_MEMBER(vskonami_rom_banking);
 
59
        DECLARE_WRITE8_MEMBER(vsgshoe_gun_in0_w);
 
60
        DECLARE_WRITE8_MEMBER(drmario_rom_banking);
 
61
        DECLARE_WRITE8_MEMBER(vsvram_rom_banking);
 
62
        DECLARE_WRITE8_MEMBER(mapper4_w);
 
63
        DECLARE_READ8_MEMBER(rbi_hack_r);
 
64
        DECLARE_READ8_MEMBER(supxevs_read_prot_1_r);
 
65
        DECLARE_READ8_MEMBER(supxevs_read_prot_2_r);
 
66
        DECLARE_READ8_MEMBER(supxevs_read_prot_3_r);
 
67
        DECLARE_READ8_MEMBER(supxevs_read_prot_4_r);
 
68
        DECLARE_READ8_MEMBER(tko_security_r);
 
69
        DECLARE_WRITE8_MEMBER(mapper68_rom_banking);
 
70
        DECLARE_WRITE8_MEMBER(set_bnglngby_irq_w);
 
71
        DECLARE_READ8_MEMBER(set_bnglngby_irq_r);
 
72
        DECLARE_WRITE8_MEMBER(vsdual_vrom_banking);
 
73
        void v_set_mirroring(int ppu, int mirroring);
38
74
};
39
75
 
40
76
 
73
109
DRIVER_INIT( vsfdf );
74
110
DRIVER_INIT( vsdual );
75
111
 
76
 
READ8_HANDLER( vsnes_in0_r );
77
 
READ8_HANDLER( vsnes_in1_r );
78
 
READ8_HANDLER( vsnes_in0_1_r );
79
 
READ8_HANDLER( vsnes_in1_1_r );
80
 
WRITE8_HANDLER( vsnes_in0_w );
81
 
WRITE8_HANDLER( vsnes_in0_1_w );