~ubuntu-branches/ubuntu/precise/mame/precise-proposed

« back to all changes in this revision

Viewing changes to src/emu/machine/am8530h.c

  • Committer: Package Import Robot
  • Author(s): Cesare Falco
  • Date: 2011-11-30 18:50:10 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111130185010-02hcxybht1mn082w
Tags: 0.144-0ubuntu1
* New upstream release (LP: #913550)
* mame.install:
  - Added artwork/ images to be used with -effect switch
  - Be more selective with hash/ contents
* contrib/mame.ini: added /usr/share/games/mame/artwork/ to artpath

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "am8530h.h"
 
2
 
 
3
const device_type AM8530H = &device_creator<am8530h_device>;
 
4
 
 
5
am8530h_device::am8530h_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, AM8530H, "AM8530H", tag, owner, clock)
 
6
{
 
7
}
 
8
 
 
9
void am8530h_device::set_int_change_cb(int_cb_t _int_change_cb)
 
10
{
 
11
        int_change_cb = _int_change_cb;
 
12
}
 
13
 
 
14
 
 
15
void am8530h_device::device_start()
 
16
{
 
17
}
 
18
 
 
19
READ8_MEMBER( am8530h_device::ca_r )
 
20
{
 
21
        return 0xff;
 
22
}
 
23
 
 
24
READ8_MEMBER( am8530h_device::cb_r )
 
25
{
 
26
        return 0xff;
 
27
}
 
28
 
 
29
READ8_MEMBER( am8530h_device::da_r )
 
30
{
 
31
        return 0x40;
 
32
}
 
33
 
 
34
READ8_MEMBER( am8530h_device::db_r )
 
35
{
 
36
        return 0x40;
 
37
}
 
38
 
 
39
WRITE8_MEMBER( am8530h_device::ca_w )
 
40
{
 
41
        fprintf(stderr, "ca_w %x, %02x\n", offset, data);
 
42
}
 
43
 
 
44
WRITE8_MEMBER( am8530h_device::cb_w )
 
45
{
 
46
        fprintf(stderr, "cb_w %x, %02x\n", offset, data);
 
47
}
 
48
 
 
49
WRITE8_MEMBER( am8530h_device::da_w )
 
50
{
 
51
        fprintf(stderr, "da_w %x, %02x\n", offset, data);
 
52
}
 
53
 
 
54
WRITE8_MEMBER( am8530h_device::db_w )
 
55
{
 
56
        fprintf(stderr, "db_w %x, %02x\n", offset, data);
 
57
}