mirror of
https://github.com/prirun/p50em.git
synced 2026-01-21 09:53:11 +00:00
interrupts are enabled. This fixes the 30-second lag problem, but also causes PNCDIM to get notified too many times. After an xmit, devpnc causes an immediate interrupt. This is handled by the SEG4 phantom interrupt code by disabling PNC interrupts, then notifying PNCDIM. (Remember, PNCDIM is still in the xmit OTA, or shortly following). PNCDIM finishes its loop, enables interrupts, and does a WAIT. When it enables interrupts before the WAIT, devpnc doesn't remember that it has already interrupted, and interrupts again. I think this is a bug - the other emulator controllers have a state variable to remember whether they have already interrupted. But, if I fix this "bug", we'll probably have 30-second delays again. Hmmm...
Description
Prime 50-Series Emulator
Languages
C
97.8%
Roff
1.7%
Python
0.3%
Makefile
0.2%