Remove some unused signals.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2017-10-01 22:22:25 +01:00
parent 63f7216341
commit 10913bf1b8
2 changed files with 0 additions and 7 deletions

View File

@ -122,14 +122,12 @@ namespace EightBit {
Bus();
Signal<int> InterruptGenerated;
Signal<int> DisplayStatusModeUpdated;
void reset();
void triggerInterrupt(int cause) {
pokeRegister(IF, peekRegister(IF) | cause);
InterruptGenerated.fire(cause);
}
void writeRegister(int offset, uint8_t content) {

View File

@ -13,11 +13,8 @@ namespace EightBit {
m_address.word = 0xffff;
}
Signal<uint16_t> WritingByte;
Signal<uint16_t> WrittenByte;
Signal<uint16_t> ReadingByte;
Signal<uint16_t> ReadByte;
register16_t& ADDRESS() { return m_address; }
uint8_t& DATA() { return *m_data; }
@ -53,7 +50,6 @@ namespace EightBit {
uint8_t read() {
ReadingByte.fire(ADDRESS().word);
auto content = reference();
ReadByte.fire(ADDRESS().word);
return content;
}
@ -68,7 +64,6 @@ namespace EightBit {
}
void write(uint8_t value) {
WritingByte.fire(ADDRESS().word);
reference() = value;
WrittenByte.fire(ADDRESS().word);
}