Imported existing sources

This commit is contained in:
Daniel Brunner committed 2018-12-16 22:19:06 +01:00
1 parent b848581174
commit 619ec483e7
69 files changed
+7961 -36

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#include "mapper002.h"
QString Mapper002::name() const
{
return QStringLiteral("UxROM");
}
quint8 Mapper002::mapper() const
{
return 2;
}
void Mapper002::hardReset()
{
Board::hardReset();
switch16kPrg(prgRom16KbMask(), PRGArea::AreaC000);
}
void Mapper002::writePrg(quint16 address, quint8 value)
{
Q_UNUSED(address)
switch16kPrg(value, PRGArea::Area8000);
}