//RDNMI //7 = NMI acknowledge //6-4 = MDR //3-0 = CPU (5a22) version uint8 CPU::mmio_r4210() { uint8 r = (regs.mdr & 0x70); r |= (uint8)(rdnmi()) << 7; r |= (cpu_version & 0x0f); return r; }
//RDNMI //7 = NMI acknowledge //6-4 = MDR //3-0 = CPU (5a22) version uint8 CPU::mmio_r4210() { uint8 r = (regs.mdr & 0x70); r |= (uint8)(Memory::debugger_access() ? status.nmi_line : rdnmi()) << 7; r |= (cpu_version & 0x0f); return r; }