Previous 15994 Revisions Next

r12121 Wednesday 29th June, 2011 at 20:01:16 UTC by Curt Coder
[ABC800] Refactored UNI-800 and Slutprov to ABC bus slot devices. [Curt Coder]
[src/mess]mess.mak
[src/mess/drivers]abc80x.c
[src/mess/includes]abc80x.h
[src/mess/machine]abc_slutprov.c* abc_slutprov.h* abc_uni800.c* abc_uni800.h*

src/mess/machine/abc_uni800.c
r0r12121
1/*
2UNI-800
3
4PCB Layout
5----------
6
78120 821025 REV.3
8
9|-------------------------------------------|
10|                                           |
11|                   4164        PROM0   CN3 |
12|                   4164                    |
13|                   4164                    |
14|                   4164                    |
15|                   4164                    |
16|                   4164                    |
17|CN1                4164                CN2 |
18|                   4164                    |
19|-------------------------------------------|
20
21Notes:
22    Relevant IC's shown.
23
24    4164    - Hitachi HM4864P-2 64Kx1 RAM
25    PROM0   - Philips 82S129 256x4 Bipolar PROM ".800 1.2"
26    CN1     - 2x6 pin PCB header
27    CN2     - 2x10 pin PCB header
28    CN3     - 2x10 pin PCB header
29
30*/
31
32#include "abc_uni800.h"
33
34
35
36//**************************************************************************
37//  DEVICE DEFINITIONS
38//**************************************************************************
39
40const device_type ABC_UNI800 = &device_creator<abc_uni800_device>;
41
42
43//-------------------------------------------------
44//  ROM( abc_uni800 )
45//-------------------------------------------------
46
47ROM_START( abc_uni800 )
48   ROM_REGION( 0x100, "uni800", 0 )
49   ROM_LOAD( ".800 1.2.bin", 0x0000, 0x0100, CRC(df4897f8) SHA1(0c641f4cf321f0003da3fbd435edb138a9b949b4) )
50ROM_END
51
52
53//-------------------------------------------------
54//  rom_region - device-specific ROM region
55//-------------------------------------------------
56
57const rom_entry *abc_uni800_device::device_rom_region() const
58{
59   return ROM_NAME( abc_uni800 );
60}
61
62
63
64//**************************************************************************
65//  LIVE DEVICE
66//**************************************************************************
67
68//-------------------------------------------------
69//  abc_uni800_device - constructor
70//-------------------------------------------------
71
72abc_uni800_device::abc_uni800_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
73    : device_t(mconfig, ABC_UNI800, "UNI-800", tag, owner, clock),
74     device_abcbus_card_interface(mconfig, *this),
75     device_slot_card_interface(mconfig, *this)
76{
77}
78
79
80//-------------------------------------------------
81//  device_start - device-specific startup
82//-------------------------------------------------
83
84void abc_uni800_device::device_start()
85{
86}
87
88
89//-------------------------------------------------
90//  device_reset - device-specific reset
91//-------------------------------------------------
92
93void abc_uni800_device::device_reset()
94{
95}
96
97
98
99//**************************************************************************
100//  ABC BUS INTERFACE
101//**************************************************************************
102
103//-------------------------------------------------
104//  abcbus_cs -
105//-------------------------------------------------
106
107void abc_uni800_device::abcbus_cs(UINT8 data)
108{
109}
src/mess/machine/abc_uni800.h
r0r12121
1#pragma once
2
3#ifndef __ABC_UNI800__
4#define __ABC_UNI800__
5
6#define ADDRESS_MAP_MODERN
7
8#include "emu.h"
9#include "abcbus.h"
10
11
12
13//**************************************************************************
14//  TYPE DEFINITIONS
15//**************************************************************************
16
17// ======================> abc_uni800_device
18
19class abc_uni800_device :  public device_t,
20                     public device_abcbus_card_interface,
21                     public device_slot_card_interface
22{
23public:
24    // construction/destruction
25    abc_uni800_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
26
27   // optional information overrides
28   virtual const rom_entry *device_rom_region() const;
29
30protected:
31    // device-level overrides
32    virtual void device_start();
33   virtual void device_reset();
34    virtual void device_config_complete() { m_shortname = "uni800"; }
35
36   // device_abcbus_interface overrides
37   virtual void abcbus_cs(UINT8 data);
38};
39
40
41// device type definition
42extern const device_type ABC_UNI800;
43
44
45
46#endif
src/mess/machine/abc_slutprov.c
r0r12121
1#include "abc_slutprov.h"
2
3
4
5//**************************************************************************
6//  DEVICE DEFINITIONS
7//**************************************************************************
8
9const device_type ABC_SLUTPROV = &device_creator<abc_slutprov_device>;
10
11
12//-------------------------------------------------
13//  ROM( abc_slutprov )
14//-------------------------------------------------
15
16ROM_START( abc_slutprov )
17   ROM_REGION( 0x800, "slutprov", 0 )
18   ROM_LOAD( "slutprov.bin",   0x0000, 0x0800, CRC(a5bb56f4) SHA1(f97cb6526a1d10b189164f26157522e382ca6bc6) )
19ROM_END
20
21
22//-------------------------------------------------
23//  rom_region - device-specific ROM region
24//-------------------------------------------------
25
26const rom_entry *abc_slutprov_device::device_rom_region() const
27{
28   return ROM_NAME( abc_slutprov );
29}
30
31
32
33//**************************************************************************
34//  LIVE DEVICE
35//**************************************************************************
36
37//-------------------------------------------------
38//  abc_slutprov_device - constructor
39//-------------------------------------------------
40
41abc_slutprov_device::abc_slutprov_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
42    : device_t(mconfig, ABC_SLUTPROV, "Slutprov", tag, owner, clock),
43     device_abcbus_card_interface(mconfig, *this),
44     device_slot_card_interface(mconfig, *this)
45{
46}
47
48
49//-------------------------------------------------
50//  device_start - device-specific startup
51//-------------------------------------------------
52
53void abc_slutprov_device::device_start()
54{
55}
56
57
58//-------------------------------------------------
59//  device_reset - device-specific reset
60//-------------------------------------------------
61
62void abc_slutprov_device::device_reset()
63{
64}
65
66
67
68//**************************************************************************
69//  ABC BUS INTERFACE
70//**************************************************************************
71
72//-------------------------------------------------
73//  abcbus_cs -
74//-------------------------------------------------
75
76void abc_slutprov_device::abcbus_cs(UINT8 data)
77{
78}
src/mess/machine/abc_slutprov.h
r0r12121
1#pragma once
2
3#ifndef __ABC_SLUTPROV__
4#define __ABC_SLUTPROV__
5
6#define ADDRESS_MAP_MODERN
7
8#include "emu.h"
9#include "abcbus.h"
10
11
12
13//**************************************************************************
14//  TYPE DEFINITIONS
15//**************************************************************************
16
17// ======================> abc_slutprov_device
18
19class abc_slutprov_device :  public device_t,
20                      public device_abcbus_card_interface,
21                      public device_slot_card_interface
22{
23public:
24    // construction/destruction
25    abc_slutprov_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
26
27   // optional information overrides
28   virtual const rom_entry *device_rom_region() const;
29
30protected:
31    // device-level overrides
32    virtual void device_start();
33   virtual void device_reset();
34    virtual void device_config_complete() { m_shortname = "slutprov"; }
35
36   // device_abcbus_interface overrides
37   virtual void abcbus_cs(UINT8 data);
38};
39
40
41// device type definition
42extern const device_type ABC_SLUTPROV;
43
44
45
46#endif
src/mess/includes/abc80x.h
r12120r12121
1414#include "machine/abc77.h"
1515#include "machine/abc830.h"
1616#include "machine/abcbus.h"
17#include "machine/abc_uni800.h"
18#include "machine/abc_slutprov.h"
1719#include "machine/e0516.h"
1820#include "machine/lux21046.h"
1921#include "machine/z80ctc.h"
src/mess/drivers/abc80x.c
r12120r12121
134134    PROM1   - Philips 82S131 512x4 Bipolar PROM "HRU II"
135135
136136
137UNI-800 PCB Layout
138------------------
139
1408120 821025 REV.3
141
142|-------------------------------------------|
143|                                           |
144|                   4164        PROM0   CN3 |
145|                   4164                    |
146|                   4164                    |
147|                   4164                    |
148|                   4164                    |
149|                   4164                    |
150|CN1                4164                CN2 |
151|                   4164                    |
152|-------------------------------------------|
153
154Notes:
155    Relevant IC's shown.
156
157    4164    - Hitachi HM4864P-2 64Kx1 RAM
158    PROM0   - Philips 82S129 256x4 Bipolar PROM ".800 1.2"
159    CN1     - 2x6 pin PCB header
160    CN2     - 2x10 pin PCB header
161    CN3     - 2x10 pin PCB header
162
163
164137Keyboard PCB Layout
165138-------------------
166139
r12120r12121
12401213
12411214static SLOT_INTERFACE_START( abc800_abcbus_cards )
12421215   SLOT_INTERFACE("fast", LUXOR_55_21046)
1216   SLOT_INTERFACE("uni800", ABC_UNI800)
1217   SLOT_INTERFACE("slutprov", ABC_SLUTPROV)
12431218SLOT_INTERFACE_END
12441219
12451220
r12120r12121
16891664   ROM_REGION( 0x200, "hru2", 0 )
16901665   ROM_LOAD( "hru ii.3a", 0x0000, 0x0200, CRC(8e9d7cdc) SHA1(4ad16dc0992e31cdb2e644c7be81d334a56f7ad6) )
16911666
1692   ROM_REGION( 0x100, "uni800", 0 )
1693   ROM_LOAD( ".800 1.2.bin", 0x0000, 0x0100, CRC(df4897f8) SHA1(0c641f4cf321f0003da3fbd435edb138a9b949b4) )
1694
16951667   ROM_REGION( 0x800, "abc850", 0 )
16961668   ROM_LOAD_OPTIONAL( "rodi202.bin",  0x0000, 0x0800, CRC(337b4dcf) SHA1(791ebeb4521ddc11fb9742114018e161e1849bdf) ) // Rodime RO202 (http://stason.org/TULARC/pc/hard-drives-hdd/rodime/RO202-11MB-5-25-FH-MFM-ST506.html)
16971669   ROM_LOAD_OPTIONAL( "basf6185.bin", 0x0000, 0x0800, CRC(06f8fe2e) SHA1(e81f2a47c854e0dbb096bee3428d79e63591059d) ) // BASF 6185 (http://stason.org/TULARC/pc/hard-drives-hdd/basf-magnetics/6185-22MB-5-25-FH-MFM-ST412.html)
r12120r12121
17101682   ROM_REGION( 0x800, "xebec", 0 )
17111683   ROM_LOAD_OPTIONAL( "st4038.bin",   0x0000, 0x0800, CRC(4c803b87) SHA1(1141bb51ad9200fc32d92a749460843dc6af8953) ) // Seagate ST4038 (http://stason.org/TULARC/pc/hard-drives-hdd/seagate/ST4038-1987-31MB-5-25-FH-MFM-ST412.html)
17121684   ROM_LOAD_OPTIONAL( "st225.bin",    0x0000, 0x0800, CRC(c9f68f81) SHA1(7ff8b2a19f71fe0279ab3e5a0a5fffcb6030360c) ) // Seagate ST225 (http://stason.org/TULARC/pc/hard-drives-hdd/seagate/ST225-21MB-5-25-HH-MFM-ST412.html)
1713
1714   ROM_REGION( 0x800, "slutprov", 0 )
1715   ROM_LOAD_OPTIONAL( "slutprov.bin",   0x0000, 0x0800, CRC(a5bb56f4) SHA1(f97cb6526a1d10b189164f26157522e382ca6bc6) )
17161685ROM_END
17171686
17181687
src/mess/mess.mak
r12120r12121
10781078   $(MESS_VIDEO)/abc802.o      \
10791079   $(MESS_VIDEO)/abc806.o      \
10801080   $(MESS_MACHINE)/abcbus.o   \
1081   $(MESS_MACHINE)/abc_uni800.o   \
1082   $(MESS_MACHINE)/abc_slutprov.o   \
10811083   $(MESS_MACHINE)/abc77.o      \
10821084   $(MESS_MACHINE)/abc99.o      \
10831085   $(MESS_MACHINE)/lux10828.o   \

Previous 15994 Revisions Next


© 1998-2018 The MESS Team