summaryrefslogtreecommitdiff
path: root/sid/sidplay-libs-2.1.0/libsidplay/src/c64/c64cia.h
diff options
context:
space:
mode:
Diffstat (limited to 'sid/sidplay-libs-2.1.0/libsidplay/src/c64/c64cia.h')
-rw-r--r--sid/sidplay-libs-2.1.0/libsidplay/src/c64/c64cia.h70
1 files changed, 0 insertions, 70 deletions
diff --git a/sid/sidplay-libs-2.1.0/libsidplay/src/c64/c64cia.h b/sid/sidplay-libs-2.1.0/libsidplay/src/c64/c64cia.h
deleted file mode 100644
index b9626405..00000000
--- a/sid/sidplay-libs-2.1.0/libsidplay/src/c64/c64cia.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/***************************************************************************
- c64cia.h - C64 CIAs
- -------------------
- begin : Fri Apr 4 2001
- copyright : (C) 2001 by Simon White
- email : s_a_white@email.com
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/
-
-#ifndef _c64cia_h_
-#define _c64cia_h_
-
-// The CIA emulations are very generic and here we need to effectively
-// wire them into the computer (like adding a chip to a PCB).
-
-#include "c64env.h"
-#include "../mos6526/mos6526.h"
-
-/* CIA 1 specifics:
- Generates IRQs
-*/
-class c64cia1: public MOS6526
-{
-private:
- c64env &m_env;
-
-protected:
- void interrupt (bool state)
- {
- m_env.interruptIRQ (state);
- }
-
-public:
- c64cia1 (c64env *env)
- :MOS6526(&(env->context ())),
- m_env(*env) {}
- const char *error (void) {return "";}
-};
-
-/* CIA 2 specifics:
- Generates NMIs
-*/
-class c64cia2: public MOS6526
-{
-private:
- c64env &m_env;
-
-protected:
- void interrupt (bool state)
- {
- if (state)
- m_env.interruptNMI ();
- }
-
-public:
- c64cia2 (c64env *env)
- :MOS6526(&(env->context ())),
- m_env(*env) {}
- const char *error (void) {return "";}
-};
-
-#endif // _c64cia_h_