mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-02 18:29:41 +00:00
Correct build issues with latest thirdparty
This commit is contained in:
parent
a25528e11a
commit
33a0889fe1
@ -76,7 +76,7 @@ void EightBit::mc6809::handleNMI() {
|
|||||||
eat();
|
eat();
|
||||||
CC() = setBit(CC(), IF); // Disable IRQ
|
CC() = setBit(CC(), IF); // Disable IRQ
|
||||||
CC() = setBit(CC(), FF); // Disable FIRQ
|
CC() = setBit(CC(), FF); // Disable FIRQ
|
||||||
jump(getWordPaged(0xff, NMIvector));
|
jump(Processor::getWordPaged(0xff, NMIvector));
|
||||||
eat();
|
eat();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ void EightBit::mc6809::handleINT() noexcept {
|
|||||||
saveEntireRegisterState();
|
saveEntireRegisterState();
|
||||||
eat();
|
eat();
|
||||||
CC() = setBit(CC(), IF); // Disable IRQ
|
CC() = setBit(CC(), IF); // Disable IRQ
|
||||||
jump(getWordPaged(0xff, IRQvector));
|
jump(Processor::getWordPaged(0xff, IRQvector));
|
||||||
eat();
|
eat();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ void EightBit::mc6809::handleFIRQ() {
|
|||||||
eat();
|
eat();
|
||||||
CC() = setBit(CC(), IF); // Disable IRQ
|
CC() = setBit(CC(), IF); // Disable IRQ
|
||||||
CC() = setBit(CC(), FF); // Disable FIRQ
|
CC() = setBit(CC(), FF); // Disable FIRQ
|
||||||
jump(getWordPaged(0xff, FIRQvector));
|
jump(Processor::getWordPaged(0xff, FIRQvector));
|
||||||
eat();
|
eat();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1088,21 +1088,21 @@ void EightBit::mc6809::swi() {
|
|||||||
saveEntireRegisterState();
|
saveEntireRegisterState();
|
||||||
CC() = setBit(CC(), IF); // Disable IRQ
|
CC() = setBit(CC(), IF); // Disable IRQ
|
||||||
CC() = setBit(CC(), FF); // Disable FIRQ
|
CC() = setBit(CC(), FF); // Disable FIRQ
|
||||||
jump(getWordPaged(0xff, SWIvector));
|
jump(Processor::getWordPaged(0xff, SWIvector));
|
||||||
eat();
|
eat();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EightBit::mc6809::swi2() {
|
void EightBit::mc6809::swi2() {
|
||||||
eat();
|
eat();
|
||||||
saveEntireRegisterState();
|
saveEntireRegisterState();
|
||||||
jump(getWordPaged(0xff, SWI2vector));
|
jump(Processor::getWordPaged(0xff, SWI2vector));
|
||||||
eat();
|
eat();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EightBit::mc6809::swi3() {
|
void EightBit::mc6809::swi3() {
|
||||||
eat();
|
eat();
|
||||||
saveEntireRegisterState();
|
saveEntireRegisterState();
|
||||||
jump(getWordPaged(0xff, SWI3vector));
|
jump(Processor::getWordPaged(0xff, SWI3vector));
|
||||||
eat();
|
eat();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user