mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-03-15 16:16:36 +00:00
Synch with .net version of emulator (work-in-progress)
This commit is contained in:
@@ -36,7 +36,14 @@ DEFINE_PIN_LEVEL_CHANGERS(HALT, IntelProcessor);
|
||||
|
||||
void EightBit::IntelProcessor::handleRESET() {
|
||||
Processor::handleRESET();
|
||||
PC() = 0;
|
||||
disableInterrupts();
|
||||
jump(0);
|
||||
}
|
||||
|
||||
void EightBit::IntelProcessor::handleINT() {
|
||||
Processor::handleINT();
|
||||
disableInterrupts();
|
||||
raiseHALT();
|
||||
}
|
||||
|
||||
void EightBit::IntelProcessor::push(const uint8_t value) {
|
||||
|
||||
Reference in New Issue
Block a user