mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-22 12:30:44 +00:00
Remove some unused signals.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
63f7216341
commit
10913bf1b8
@ -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) {
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user