//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// Core machine definitions header file //28//////////////////////////////////////////////////////////////////////////////29// //30// This header file provides the interface definition and code for the core //31// definitions used throughout the Handy code. Additionally it provides //32// a generic memory object definition. //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 MACHINE_H46#define MACHINE_H4748#include "mednafen.h"4950// Read/Write Cycle definitions51#define CPU_RDWR_CYC 552#define DMA_RDWR_CYC 453#define SPR_RDWR_CYC 354// Ammended to 2 on 28/04/00, 16Mhz = 62.5nS cycle55//56// 2 cycles is 125ns - PAGE MODE CYCLE57// 4 cycles is 250ns - NORMAL MODE CYCLE58//5960#include "lynxbase.h"61#include "newstate.h"6263#endif6465666768