C64Lib.Core.IEC.Out C# (CSharp) Method

Out() public method

public Out ( byte abyte, bool eoi ) : byte
abyte byte
eoi bool
return byte
        public byte Out(byte abyte, bool eoi)
        {
            if (listener_active)
            {
                if (received_cmd == IECCommandCode.CMD_OPEN)
                    return open_out(abyte, eoi);
                if (received_cmd == IECCommandCode.CMD_DATA)
                    return data_out(abyte, eoi);
                return (byte)C64StatusCode.ST_TIMEOUT;
            }
            else
                return (byte)C64StatusCode.ST_TIMEOUT;
        }