Rewrite i8080 interrupts to be more closely related to the hardware.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2017-12-02 23:50:59 +00:00
parent 55b989fe13
commit 7e3957d4db
4 changed files with 16 additions and 27 deletions

View File

@@ -33,9 +33,3 @@ void EightBit::Processor::fetchWord(register16_t& output) {
output.low = fetchByte();
output.high = fetchByte();
}
int EightBit::Processor::fetchExecute() {
if (LIKELY(powered()))
return execute(fetchByte());
return 0;
}