private int Cpu_ReadPort() { var data = 0x1F; if (!Cassette.ReadSenseBuffer()) { data &= 0xEF; } return(data); }