1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-10 12:29:01 +00:00

Correct typos in Z80.hpp

This commit is contained in:
Raphaël Zumer 2019-04-19 17:44:52 -04:00
parent 5e65ee79b1
commit 71ac26944d

View File

@ -98,7 +98,7 @@ struct PartialMachineCycle {
const HalfCycles length; const HalfCycles length;
/// The current value of the address bus. /// The current value of the address bus.
const uint16_t *const address; const uint16_t *const address;
/// If the Z80 is outputting to the data bus, a pointer to that value. Otherwise, a pointer to the lcoation where the current data bus value should be placed. /// If the Z80 is outputting to the data bus, a pointer to that value. Otherwise, a pointer to the location where the current data bus value should be placed.
uint8_t *const value; uint8_t *const value;
/// @c true if this operation is occurring only because of an external request; @c false otherwise. /// @c true if this operation is occurring only because of an external request; @c false otherwise.
const bool was_requested; const bool was_requested;
@ -131,7 +131,7 @@ struct PartialMachineCycle {
/*! /*!
A class providing empty implementations of the methods a Z80 uses to access the bus. To wire the Z80 to a bus, A class providing empty implementations of the methods a Z80 uses to access the bus. To wire the Z80 to a bus,
machines should subclass BusHandler and then declare a realisation of the Z80 template, suplying their bus machines should subclass BusHandler and then declare a realisation of the Z80 template, supplying their bus
handler. handler.
*/ */
class BusHandler { class BusHandler {
@ -149,7 +149,7 @@ class BusHandler {
} }
/*! /*!
Announces completion of all the cycles supplied to a .run_for request on the 6502. Intended to allow Announces completion of all the cycles supplied to a .run_for request on the Z80. Intended to allow
bus handlers to perform any deferred output work. bus handlers to perform any deferred output work.
*/ */
void flush() {} void flush() {}