--- /dev/null
+<!DOCTYPE RCC><RCC version="1.0">
+<qresource>
+ <file alias="default.ico">../../../res/cefucom21.ico</file>
+ <file alias="bios_and_keys.txt">../../../../../doc/VMs/00_still_not_written.txt</file>
+</qresource>
+</RCC>
--- /dev/null
+message("* qt/cefucom21")
+
+set(s_qt_cefucom21_headers
+ menuclasses.h
+)
+if(USE_QT_5)
+ QT5_WRAP_CPP(s_qt_cefucom21_headers_MOC ${s_qt_cefucom21_headers})
+else()
+ QT4_WRAP_CPP(s_qt_cefucom21_headers_MOC ${s_qt_cefucom21_headers})
+endif()
+add_library(qt_cefucom21
+ MainWindow.cpp
+ ${s_qt_cefucom21_headers_MOC}
+)
+
+
--- /dev/null
+/*
+ * Common Source code Project:
+ * Ui->Qt->MainWindow for CEFUCOM-21 .
+ * (C) 2015 K.Ohta <whatisthis.sowhat _at_ gmail.com>
+ * License : GPLv2
+ * History :
+ * May 18, 2019 : Initial, copy from coleco vision.
+ */
+
+#include <QVariant>
+#include <QtGui>
+#include "commonclasses.h"
+#include "menuclasses.h"
+#include "emu.h"
+#include "qt_main.h"
+
+//QT_BEGIN_NAMESPACE
+
+
+void META_MainWindow::setupUI_Emu(void)
+{
+ int i;
+}
+
+void META_MainWindow::retranslateUi(void)
+{
+ Ui_MainWindowBase::retranslateUi();
+ retranslateControlMenu("", false);
+
+#ifdef USE_DEBUGGER
+ actionDebugger[0]->setVisible(true);
+ actionDebugger[1]->setVisible(true);
+ actionDebugger[2]->setVisible(false);
+ actionDebugger[3]->setVisible(false);
+#endif
+} // retranslateUi
+
+
+
+META_MainWindow::META_MainWindow(USING_FLAGS *p, CSP_Logger *logger, QWidget *parent) : Ui_MainWindow(p, logger, parent)
+{
+ setupUI_Emu();
+ retranslateUi();
+}
+
+
+META_MainWindow::~META_MainWindow()
+{
+}
+
+//QT_END_NAMESPACE
+
+
+
--- /dev/null
+
+#ifndef _CSP_QT_MENUCLASSES_H
+#define _CSP_QT_MENUCLASSES_H
+
+//#include "commonclasses.h"
+#include "mainwidget.h"
+// This extends class CSP_MainWindow as Ui_MainWindow.
+// You may use this as
+QT_BEGIN_NAMESPACE
+
+
+class Ui_MainWindow;
+class USING_FLAGS;
+class CSP_Logger;
+
+class META_MainWindow : public Ui_MainWindow {
+ Q_OBJECT
+protected:
+ void setupUI_Emu(void);
+ void retranslateUi(void);
+public:
+ META_MainWindow(USING_FLAGS *p, CSP_Logger *logger, QWidget *parent = 0);
+ ~META_MainWindow();
+public slots:
+
+};
+
+QT_END_NAMESPACE
+
+#endif // END
--- /dev/null
+cmake_minimum_required (VERSION 2.6)
+
+message("* vm/cefucom21")
+
+add_library(vm_cefucom21
+ cefucom21.cpp
+
+ mcu.cpp
+ pcu.cpp
+)
// mcu_io->set_iomap_alias_r (0xc0, mcu_psg, 1);
mcu_io->set_iomap_alias_r (0xc1, mcu_psg, 1); // PSG data
mcu_io->set_iomap_range_rw (0xe0, 0xe3, mcu_pio);
-
+#ifdef _IO_DEBUG_LOG
pcu_io->cpu_index = 1;
+#endif
pcu_io->set_iomap_range_rw (0x00, 0x03, pcu_ctc1);
pcu_io->set_iomap_range_rw (0x08, 0x0b, pcu_ctc2);
pcu_io->set_iomap_alias_rw (0x10, pcu_pio, 0);