1
//============================================================================
3
// MM MM 6666 555555 0000 2222
4
// MMMM MMMM 66 66 55 00 00 22 22
5
// MM MMM MM 66 55 00 00 22
6
// MM M MM 66666 55555 00 00 22222 -- "A 6502 Microprocessor Emulator"
7
// MM MM 66 66 55 00 00 22
8
// MM MM 66 66 55 55 00 00 22
9
// MM MM 6666 5555 0000 222222
11
// Copyright (c) 1995-1998 by Bradford W. Mott
13
// See the file "license" for information on usage and redistribution of
14
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
16
// $Id: NullDev.cxx,v 1.3 1998/08/29 15:30:02 bwmott Exp $
17
//============================================================================
19
#include "NullDev.hxx"
21
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
22
NullDevice::NullDevice()
26
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
27
NullDevice::~NullDevice()
31
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
32
const char* NullDevice::name() const
37
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
38
void NullDevice::reset()
42
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
43
void NullDevice::install(System& system)
48
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
49
uInt8 NullDevice::peek(uInt16 address)
51
cerr << hex << "NullDevice: peek(" << address << ")" << endl;
55
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
56
void NullDevice::poke(uInt16 address, uInt8 value)
58
cerr << hex << "NullDevice: poke(" << address << "," << value << ")" << endl;