2015-07-16 23:56:02 +00:00
|
|
|
//
|
2017-05-15 02:08:15 +00:00
|
|
|
// 6502AllRAM.hpp
|
2015-07-26 19:25:11 +00:00
|
|
|
// CLK
|
2015-07-16 23:56:02 +00:00
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 13/07/2015.
|
|
|
|
// Copyright © 2015 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2017-05-15 02:08:15 +00:00
|
|
|
#ifndef MOS6502AllRAM_cpp
|
|
|
|
#define MOS6502AllRAM_cpp
|
2015-07-16 23:56:02 +00:00
|
|
|
|
2017-05-15 02:08:15 +00:00
|
|
|
#include "6502.hpp"
|
2017-05-17 01:28:17 +00:00
|
|
|
#include "../AllRAMProcessor.hpp"
|
2015-07-16 23:56:02 +00:00
|
|
|
|
2017-05-15 02:08:15 +00:00
|
|
|
namespace CPU {
|
|
|
|
namespace MOS6502 {
|
2015-07-16 23:56:02 +00:00
|
|
|
|
2017-05-17 01:28:17 +00:00
|
|
|
class AllRAMProcessor:
|
|
|
|
public ::CPU::AllRAMProcessor,
|
|
|
|
public Processor<AllRAMProcessor> {
|
|
|
|
|
2015-07-16 23:56:02 +00:00
|
|
|
public:
|
|
|
|
AllRAMProcessor();
|
|
|
|
|
2017-05-15 02:08:15 +00:00
|
|
|
int perform_bus_operation(MOS6502::BusOperation operation, uint16_t address, uint8_t *value);
|
2015-07-16 23:56:02 +00:00
|
|
|
};
|
|
|
|
|
2017-05-15 02:08:15 +00:00
|
|
|
}
|
2015-07-16 23:56:02 +00:00
|
|
|
}
|
|
|
|
|
2017-05-15 02:08:15 +00:00
|
|
|
#endif /* MOS6502AllRAM_cpp */
|