Path: blob/a-new-beginning/Cherry/Core/include/IOPorts.h
2 views
/*1* Gearcoleco - ColecoVision Emulator2* Copyright (C) 2021 Ignacio Sanchez34* This program is free software: you can redistribute it and/or modify5* it under the terms of the GNU General Public License as published by6* the Free Software Foundation, either version 3 of the License, or7* any later version.89* This program is distributed in the hope that it will be useful,10* but WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12* GNU General Public License for more details.1314* You should have received a copy of the GNU General Public License15* along with this program. If not, see http://www.gnu.org/licenses/16*17*/1819#ifndef IOPORTS_H20#define IOPORTS_H2122#include "definitions.h"2324class IOPorts25{26public:27IOPorts() { };28virtual ~IOPorts() { };29virtual void Reset() = 0;30virtual u8 In(u8 port) = 0;31virtual void Out(u8 port, u8 value) = 0;32};3334#endif /* IOPORTS_H */353637