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

« back to all changes in this revision

Viewing changes to src/emu/machine/intelfsh.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:
16
16
#define MCFG_SHARP_LH28F016S_ADD(_tag) \
17
17
        MCFG_DEVICE_ADD(_tag, SHARP_LH28F016S, 0)
18
18
 
 
19
#define MCFG_ATMEL_29C010_ADD(_tag) \
 
20
        MCFG_DEVICE_ADD(_tag, ATMEL_29C010, 0)
 
21
 
 
22
#define MCFG_AMD_29F040_ADD(_tag) \
 
23
        MCFG_DEVICE_ADD(_tag, AMD_29F040, 0)
 
24
 
19
25
#define MCFG_AMD_29F080_ADD(_tag) \
20
26
        MCFG_DEVICE_ADD(_tag, AMD_29F080, 0)
21
27
 
49
55
#define MCFG_SHARP_UNK128MBIT_ADD(_tag) \
50
56
        MCFG_DEVICE_ADD(_tag, SHARP_UNK128MBIT, 0)
51
57
 
52
 
 
 
58
#define MCFG_INTEL_28F320J3D_ADD(_tag) \
 
59
        MCFG_DEVICE_ADD(_tag, INTEL_28F320J3D, 0)
53
60
 
54
61
//**************************************************************************
55
62
//  TYPE DEFINITIONS
71
78
                FLASH_INTEL_28F016S5 = 0x0800,
72
79
                FLASH_FUJITSU_29F016A,
73
80
                FLASH_FUJITSU_29DL16X,
 
81
                FLASH_ATMEL_29C010,
 
82
                FLASH_AMD_29F040,
74
83
                FLASH_AMD_29F080,
75
84
                FLASH_SHARP_LH28F016S,
76
85
                FLASH_INTEL_E28F008SA,
82
91
                FLASH_SHARP_LH28F400 = 0x1000,
83
92
                FLASH_INTEL_E28F400,
84
93
                FLASH_INTEL_TE28F160,
85
 
                FLASH_SHARP_UNK128MBIT
 
94
                FLASH_SHARP_UNK128MBIT,
 
95
                FLASH_INTEL_28F320J3D
86
96
        };
87
97
 
88
98
protected:
114
124
        UINT8                                   m_device_id;
115
125
        UINT8                                   m_maker_id;
116
126
        bool                                    m_sector_is_4k;
 
127
        UINT8                                   m_page_size;
117
128
 
118
129
        // internal state
119
130
        UINT8                                   m_status;
122
133
        bool                                    m_flash_master_lock;
123
134
        emu_timer *                             m_timer;
124
135
        INT32                                   m_bank;
 
136
        UINT8                                   m_byte_count;
125
137
};
126
138
 
127
139
 
182
194
        fujitsu_29dl16x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
183
195
};
184
196
 
 
197
class atmel_29c010_device : public intelfsh8_device
 
198
{
 
199
public:
 
200
        atmel_29c010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
 
201
};
 
202
 
 
203
class amd_29f040_device : public intelfsh8_device
 
204
{
 
205
public:
 
206
        amd_29f040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
 
207
};
 
208
 
185
209
class amd_29f080_device : public intelfsh8_device
186
210
{
187
211
public:
244
268
        sharp_unk128mbit_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
245
269
};
246
270
 
 
271
class intel_28f320j3d_device : public intelfsh16_device
 
272
{
 
273
public:
 
274
        intel_28f320j3d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
 
275
};
247
276
 
248
277
 
249
278
// device type definition
250
279
extern const device_type INTEL_28F016S5;
251
280
extern const device_type SHARP_LH28F016S;
 
281
extern const device_type ATMEL_29C010;
 
282
extern const device_type AMD_29F040;
252
283
extern const device_type AMD_29F080;
253
284
extern const device_type FUJITSU_29F016A;
254
285
extern const device_type FUJITSU_29DL16X;
261
292
extern const device_type INTEL_E28F008SA;
262
293
extern const device_type INTEL_TE28F160;
263
294
extern const device_type SHARP_UNK128MBIT;
264
 
 
 
295
extern const device_type INTEL_28F320J3D;
265
296
 
266
297
#endif