2017-12-25 23:34:56 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-08-18 22:56:16 +00:00
|
|
|
#include <cstdint>
|
2017-12-25 23:34:56 +00:00
|
|
|
#include <mos6502.h>
|
|
|
|
#include <Bus.h>
|
|
|
|
|
|
|
|
namespace EightBit {
|
|
|
|
class Ricoh2A03 final : public MOS6502 {
|
|
|
|
public:
|
|
|
|
Ricoh2A03(Bus& bus);
|
2017-12-26 22:46:16 +00:00
|
|
|
virtual ~Ricoh2A03() = default;
|
2017-12-25 23:34:56 +00:00
|
|
|
|
|
|
|
protected:
|
2018-01-01 21:05:42 +00:00
|
|
|
virtual uint8_t SUB(uint8_t operand, uint8_t data, int borrow) final;
|
2018-01-02 21:20:47 +00:00
|
|
|
virtual uint8_t ADD(uint8_t operand, uint8_t data, int carry) final;
|
2017-12-25 23:34:56 +00:00
|
|
|
};
|
|
|
|
}
|