//1// Copyright (c) 2004 K. Wilkins2//3// This software is provided 'as-is', without any express or implied warranty.4// In no event will the authors be held liable for any damages arising from5// the use of this software.6//7// Permission is granted to anyone to use this software for any purpose,8// including commercial applications, and to alter it and redistribute it9// freely, subject to the following restrictions:10//11// 1. The origin of this software must not be misrepresented; you must not12// claim that you wrote the original software. If you use this software13// in a product, an acknowledgment in the product documentation would be14// appreciated but is not required.15//16// 2. Altered source versions must be plainly marked as such, and must not17// be misrepresented as being the original software.18//19// 3. This notice may not be removed or altered from any source distribution.20//2122//////////////////////////////////////////////////////////////////////////////23// Handy - An Atari Lynx Emulator //24// Copyright (c) 1996,1997 //25// K. Wilkins //26//////////////////////////////////////////////////////////////////////////////27// Systembase object class definition //28//////////////////////////////////////////////////////////////////////////////29// //30// This header file provides the interface definition for the systembase //31// class that is required to get around cross dependencies between //32// cpu/mikie/system classes //33// //34// K. Wilkins //35// August 1997 //36// //37//////////////////////////////////////////////////////////////////////////////38// Revision History: //39// ----------------- //40// //41// 01Aug1997 KW Document header added & class documented. //42// //43//////////////////////////////////////////////////////////////////////////////4445#ifndef SYSBASE_H46#define SYSBASE_H474849class CSystemBase50{51// Function members5253public:54virtual ~CSystemBase() {};5556public:57virtual void Reset()=0;58virtual void Poke_CPU(uint32 addr,uint8 data)=0;59virtual uint8 Peek_CPU(uint32 addr)=0;60virtual void PokeW_CPU(uint32 addr,uint16 data)=0;61virtual uint16 PeekW_CPU(uint32 addr)=0;6263virtual void Poke_RAM(uint32 addr,uint8 data)=0;64virtual uint8 Peek_RAM(uint32 addr)=0;65virtual void PokeW_RAM(uint32 addr,uint16 data)=0;66virtual uint16 PeekW_RAM(uint32 addr)=0;6768virtual uint8* GetRamPointer()=0;6970};7172#endif737475