Previous 199869 Revisions Next

r32566 Monday 6th October, 2014 at 16:02:37 UTC by hap
upon reading datasheet further, it became obvious that uPD71054 == 82C54
[src/emu/machine]machine.mak pit8253.h upd71054.c upd71054.h
[src/mame]mame.mak
[src/mess]mess.mak

trunk/src/mame/mame.mak
r32565r32566
537537MACHINES += UPD4992
538538MACHINES += UPD4701
539539MACHINES += UPD7002
540MACHINES += UPD71054
541540#MACHINES += UPD71071
542541MACHINES += UPD765
543542MACHINES += V3021
trunk/src/emu/machine/upd71054.c
r32565r32566
1// license:BSD-3-Clause
2// copyright-holders:hap
3/**********************************************************************
4
5    NEC uPD71054 programmable timer/counter
6
7    TODO:
8    - x
9
10**********************************************************************/
11
12#include "machine/upd71054.h"
13
14
15const device_type UPD71054 = &device_creator<upd71054_device>;
16
17//-------------------------------------------------
18//  upd71054_device - constructor
19//-------------------------------------------------
20
21upd71054_device::upd71054_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
22   : device_t(mconfig, UPD71054, "NEC uPD71054", tag, owner, clock, "upd71054", __FILE__)
23{
24}
25
26//-------------------------------------------------
27//  device_start - device-specific startup
28//-------------------------------------------------
29
30void upd71054_device::device_start()
31{
32}
33
34//-------------------------------------------------
35//  device_reset - device-specific reset
36//-------------------------------------------------
37
38void upd71054_device::device_reset()
39{
40}
trunk/src/emu/machine/upd71054.h
r32565r32566
1// license:BSD-3-Clause
2// copyright-holders:hap
3/**********************************************************************
4
5    NEC uPD71054 programmable timer/counter
6
7    Copyright MAME Team.
8    Visit http://mamedev.org for licensing and usage restrictions.
9
10**********************************************************************
11                            _____   _____
12                 D7 <->  1 |*    \_/     | 24 --- Vdd
13                 D6 <->  2 |             | 23 <-- _WR
14                 D5 <->  3 |             | 22 <-- _RD
15                 D4 <->  4 |             | 21 <-- _CS
16                 D3 <->  5 |             | 20 <-- A1
17                 D2 <->  6 |  uPD71054C  | 19 <-- A0
18                 D1 <->  7 |             | 18 <-- CLK2
19                 D0 <->  8 |             | 17 --> OUT2
20               CLK0 -->  9 |             | 16 <-- GATE2
21               OUT0 <-- 10 |             | 15 <-- CLK1
22              GATE0 --> 11 |             | 14 <-- GATE1
23                GND --- 12 |_____________| 13 --> OUT1
24
25    uPD71054C (8MHz), uPD71054C-10 (10MHz)
26    also available in 28-pin QFP and 44-pin PLCC (many pins NC)
27
28**********************************************************************/
29
30#pragma once
31
32#ifndef _UPD71054_H
33#define _UPD71054_H
34
35#include "emu.h"
36
37
38//**************************************************************************
39//  INTERFACE CONFIGURATION MACROS
40//**************************************************************************
41
42//..
43
44
45
46//**************************************************************************
47//  TYPE DEFINITIONS
48//**************************************************************************
49
50// ======================> upd71054_device
51
52class upd71054_device : public device_t
53{
54public:
55   upd71054_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
56
57protected:
58   // device-level overrides
59   virtual void device_start();
60   virtual void device_reset();
61
62private:
63
64};
65
66// device type definition
67extern const device_type UPD71054;
68
69
70#endif /* _UPD71054_H */
trunk/src/emu/machine/pit8253.h
r32565r32566
1111                    D4   4 |             | 21  _CS
1212                    D3   5 |             | 20  A1
1313                    D2   6 |    8253     | 19  A0
14                    D1   7 |             | 18  CLK2
14                    D1   7 |    8254     | 18  CLK2
1515                    D0   8 |             | 17  OUT2
1616                  CLK0   9 |             | 16  GATE2
1717                  OUT0  10 |             | 15  CLK1
1818                 GATE0  11 |             | 14  GATE1
1919                   GND  12 |_____________| 13  OUT1
2020
21
22**********************************************************************
23                            _____   _____
24                 D7 <->  1 |*    \_/     | 24 --- Vdd
25                 D6 <->  2 |             | 23 <-- _WR
26                 D5 <->  3 |             | 22 <-- _RD
27                 D4 <->  4 |             | 21 <-- _CS
28                 D3 <->  5 |             | 20 <-- A1
29                 D2 <->  6 |  uPD71054C  | 19 <-- A0
30                 D1 <->  7 |             | 18 <-- CLK2
31                 D0 <->  8 |             | 17 --> OUT2
32               CLK0 -->  9 |             | 16 <-- GATE2
33               OUT0 <-- 10 |             | 15 <-- CLK1
34              GATE0 --> 11 |             | 14 <-- GATE1
35                GND --- 12 |_____________| 13 --> OUT1
36
37    uPD71054C (8MHz), uPD71054C-10 (10MHz) - it is a clone of Intel 82C54
38    also available in 28-pin QFP and 44-pin PLCC (many pins NC)
39
40
2141***************************************************************************/
2242
2343#ifndef __PIT8253_H__
trunk/src/emu/machine/machine.mak
r32565r32566
15621562
15631563#-------------------------------------------------
15641564#
1565#@src/emu/machine/upd71054.h,MACHINES += UPD71054
1566#-------------------------------------------------
1567
1568ifneq ($(filter UPD71054,$(MACHINES)),)
1569MACHINEOBJS += $(MACHINEOBJ)/upd71054.o
1570endif
1571
1572#-------------------------------------------------
1573#
15741565#@src/emu/machine/upd71071.h,MACHINES += UPD71071
15751566#-------------------------------------------------
15761567
trunk/src/mess/mess.mak
r32565r32566
527527#MACHINES += UPD4992
528528MACHINES += UPD4701
529529MACHINES += UPD7002
530#MACHINES += UPD71054
531530MACHINES += UPD71071
532531MACHINES += UPD765
533532MACHINES += V3021

Previous 199869 Revisions Next


© 1997-2024 The MAME Team