blob: 9198afd150394be278215a5ad3064a5c06d2e7fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// license:BSD-3-Clause
// copyright-holders:David Haywood, ElSemi
/* IGS 028 */
#ifndef MAME_MACHINE_IGS028_H
#define MAME_MACHINE_IGS028_H
#pragma once
class igs028_device : public device_t
{
public:
igs028_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
uint16_t* m_sharedprotram = nullptr;
void IGS028_handle(void);
protected:
virtual void device_start() override;
virtual void device_reset() override;
uint32_t olds_prot_addr(uint16_t addr);
uint32_t olds_read_reg(uint16_t addr);
void olds_write_reg( uint16_t addr, uint32_t val );
void IGS028_do_dma(uint16_t src, uint16_t dst, uint16_t size, uint16_t mode);
};
DECLARE_DEVICE_TYPE(IGS028, igs028_device)
#endif // MAME_MACHINE_IGS028_H
|