mirror of
https://github.com/TomHarte/CLK.git
synced 2026-01-26 06:16:22 +00:00
18 lines
610 B
C++
18 lines
610 B
C++
//
|
|
// PartialMachineCycle.cpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 04/09/2017.
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#include "Processors/Z80/Z80.hpp"
|
|
|
|
using namespace CPU::Z80;
|
|
|
|
PartialMachineCycle::PartialMachineCycle(Operation operation, HalfCycles length, uint16_t *address, uint8_t *value, bool was_requested) noexcept :
|
|
operation(operation), length(length), address(address), value(value), was_requested(was_requested) {}
|
|
|
|
PartialMachineCycle::PartialMachineCycle() noexcept :
|
|
operation(Internal), length(0), address(nullptr), value(nullptr), was_requested(false) {}
|