Reenabling the CPU debugger

This commit is contained in:
Zoe Roux
2021-07-06 12:45:27 +02:00
parent 6693c30df2
commit f189821764
34 changed files with 681 additions and 572 deletions
+6
View File
@@ -135,6 +135,12 @@ namespace ComSquare::Debugger
//! @return The value that the component returned for this address. If the address was mapped to ram, it simply returned the value. If the address was mapped to a register the component returned the register.
std::optional<uint8_t> peek(uint24_t addr) override;
//! @brief This as the same purpose as a read but it does not change the open bus and won't throw an exception.
//! @param addr The address to read from.
//! @return The value that the component returned for this address. If the address was mapped to ram, it simply returned the value. If the address was mapped to a register the component returned the register.
//! @note If the value address is not mapped, 0 is returned instead of nullopt.
uint8_t peek_v(uint24_t addr) override;
//! @brief Write a data to a global address.
//! @param addr The address to write to.
//! @param data The data to write.