Open jferreir opened 1 year ago
Another solution is to initialize s_nxt to 0 in https://github.com/cavnex/mc6809/blob/17e94a6ef163be8b79a9b15b2e814847b6062f0f/mc6809i.v#L1724 and check the status of NMIMask (should be zero to accept the NMI input) in https://github.com/cavnex/mc6809/blob/17e94a6ef163be8b79a9b15b2e814847b6062f0f/mc6809i.v#L1792 as
if ((NMIMask == 0) && (NMILatched == 0))
https://github.com/cavnex/mc6809/blob/17e94a6ef163be8b79a9b15b2e814847b6062f0f/mc6809i.v#LL195C13-L195C13