Closed Torinde closed 7 months ago
SBEMU should not have that problem, rmtrap.asm is an modified code for VSBHDA. SBEMU doesn't have it. I didn't read the code but VSBHDA does rm trap in a different way I guess.
SBEMU traps rm ports and goes to PM, I guess VSBHDA optimized out the mode switches by handling the trap in rm? That's why it permanently traps rm PIC ports while SBEMU only temporarily trap PIC for rm programs when raising the virtual SB IRQ to avoid unnecessary mode switches and thus improve performance.
The following issue was resolved at VSBHDA:
I don't know if SBEMU already handles that.