Exemple #1
0
        private void Send_SCSI_Package()
        {
            // Tell Controller that we are sending package
            PortIO.Out8(CommandReg, (byte)Cmd.ATA_CMD_PACKET);

            // Wait till device get ready
            Poll(true);

            // Send SCSI-Packet command to controller
            PortIO.Write16(DataReg, mATAPI_Packet);

            // IRQ
            WaitIRQ();

            // Poll and check for error
            Poll(false);
        }