summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/c65.h
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2013-06-05 14:28:10 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2013-06-05 14:28:10 +0000
commit0c11377dde967122f2b3e8a415a4abdbc62fe04b (patch)
treef7d297ce94cec3898900867be68ce9aab5231b66 /src/mess/includes/c65.h
parent636876c2d726c1ee15e1a3227fb093218e35f581 (diff)
converted c65 and sbc6510 to use modern CIA implementation. nw.
sbc6510 seems to work as before, and c65 is as broken as before. OTOH amiga family of drivers resisted fiercely to my attempts of conversion, so I guess that someone else will have to look at the drivers in order to kill the old 6526cia.c code in favor of the modern mos6526.c code (even if the latter is slower)
Diffstat (limited to 'src/mess/includes/c65.h')
-rw-r--r--src/mess/includes/c65.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mess/includes/c65.h b/src/mess/includes/c65.h
index f003c0432fb..dda96cf0bf5 100644
--- a/src/mess/includes/c65.h
+++ b/src/mess/includes/c65.h
@@ -7,7 +7,7 @@
#ifndef C65_H_
#define C65_H_
-#include "machine/6526cia.h"
+#include "machine/mos6526.h"
#include "machine/cbmiec.h"
#include "imagedev/cartslot.h"
#include "imagedev/snapquik.h"
@@ -117,6 +117,7 @@ public:
expansion_ram_t m_expansion_ram;
int m_io_on;
int m_io_dc00_on;
+ int m_cia0_irq, m_cia1_irq;
DECLARE_DRIVER_INIT(c65);
DECLARE_DRIVER_INIT(c65pal);
@@ -181,10 +182,6 @@ public:
required_device<ram_device> m_ram;
};
-/*----------- defined in machine/c65.c -----------*/
-extern const legacy_mos6526_interface c65_cia0;
-extern const legacy_mos6526_interface c65_cia1;
-
MACHINE_CONFIG_EXTERN( c64_cartslot );
#endif /* C65_H_ */