mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-03-12 10:41:58 +00:00
Refactor the processor class to give us a "Chip" class that gives up pin levels and power.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -6,10 +6,10 @@ EightBit::Processor::Processor(Bus& bus)
|
||||
}
|
||||
|
||||
void EightBit::Processor::powerOn() {
|
||||
Chip::powerOn();
|
||||
raise(RESET());
|
||||
raise(HALT());
|
||||
raise(INT());
|
||||
raise(POWER());
|
||||
}
|
||||
|
||||
void EightBit::Processor::handleRESET() {
|
||||
|
||||
Reference in New Issue
Block a user