ATADEMO

COMMAND SUMMARY

Version 12A2

Copyright 1996-2015 Hale Landis. All rights reserved.

Note: Also see files ATADEMO.HTM and SCRIPTS.HTM.

If the Command Type column is blank, the command is available in all versions of the program and can be entered from the keyboard or used in a script file. Values in the Command Type column indicate the following:


   D - A device I/O command.
   F - Command is available only in the full/commercial version.
   R - Command can be used with the REPeat command.
   S - Command is valid only in a script file.


Command Command
Type    Syntax
------- ---------------------------------------------------------

        ?

        AFTERERror
        AFTERERror NONE
        AFTERERror OFf
        AFTERERror ON
        AFTERERror (n)
        AFTERERror [+]command [-]command ...

           command: SHOWPC, Dump, SHOWCH, SHOWLL,
                    SHOWCB, Clear, RS and RESet.

        AFTERNOerror
        AFTERNOerror NONE
        AFTERNOerror OFf
        AFTERNOerror ON
        AFTERNOerror (n)
        AFTERNOerror [+]command [-]command ...

           command:  SHOWPC, COMPx, Dump, SHOWCH, SHOWLL,
                     SHOWCB, Clear, RS and RESet.

        ALTER sectorOffset byteOffset andMask orMask

F       ASK varName [text]
F       ASKSTR strVarName [text]
F       ASKYN varName [text]

        ATAPIDelay
        ATAPIDelay OFf
        ATAPIDelay ON
        ATAPIDelay (n)

        ATAPIRegs fr sc sn dh

        BEFORE
        BEFORE NONE
        BEFORE OFf
        BEFORE ON
        BEFORE (n)
        BEFORE [+]command [-]command ...

           command: SHOWPC, Dump, SHOWCH, SHOWLL,
                    SHOWCB, Clear, RS, RESet and FILLx.

FS      BEGINSub subName [type]

        BLOCKSIZE [n]

FS      BReak

F       CAll subName [ n1 n2 n3 n4 n5 n6 n7 n8 n9 ]
F       subName [ n1 n2 n3 n4 n5 n6 n7 n8 n9 ]

F       CHKBUF sectorOffset byteOffset andMask op n ...

F       CHKREG reg andMask op n

        CHS

F       CHSIncr
F       CHSIncr chsIncr [numCyl numHead numSect]
F       CHSIncr Random [numCyl numHead numSect]
F       CHSIncr TL [numCyl numHead numSect]

        Clear

F       CMDTime
F       CMDTime CONFIG
F       CMDTime OFf
F       CMDTime ON
F       CMDTime (n)

        COMPare numBytes frSectorOffset frByteOffset toSectorOffset toByteOffset

        COMPIncr [n]
        COMPOne [n]
        COMPPat [n]
        COMPRand [n]
        COMPStart [n]
        COMPTag [n]
        COMPWord [n]
        COMPZero [n]

FS      COntinue

        COPY numBytes frSectorOffset frByteOffset toSectorOffset toByteOffset

F       COPYBYtes n1 n2 n3 n4 frVarName toVarName

        COPYCIs
        COPYCIs EVEN
        COPYCIs ODD

DR      DAR command feature sectorCount lba
DR      DAR command feature sectorCount cyl head sect

DFR     DAW command feature sectorCount lba
DFR     DAW command feature sectorCount cyl head sect

F       DECR varName

        DELAY
        DELAY n
        DELAY MS n
        DELAY US n

        DEVice [n]
        DEVice ATA
        DEVice ATAPI
        DEVice DEFault

DR      DEVRESet

        DMA
        DMA OFf
        DMA ON
        DMA (n)

DR      DPR dmabc cdb0 cdb1 ... cdbn [etl]

DFR     DPW dmabc cdb0 cdb1 ... cdbn [etl]

DR      DR feature sectorCount lba
DR      DR feature sectorCount cyl head sect

        DRQIN sectorOffset byteOffset numBytes

        DRQOUT sectorOffset byteOffset numBytes

        DTO [n]

        Dump [DEC]
        Dump [HEX]
        Dump [ sectorOffset [ byteOffset [ numBytes ] ] ]

        DUMPCt
        DUMPId
F       DUMPSub
        DUMPTag
F       DUMPVar [varName ...]

DFR     DW feature sectorCount lba
DFR     DW feature sectorCount cyl head sect

        DWFUA feature sectorCount lba

        ECHO
        ECHO OFf
        ECHO ON
        ECHO (n)

F       EDIT   [fileName]
F       EDITCH [fileName]
F       EDITKB [fileName]
F       EDITLL [fileName]
F       EDITSF [fileName]

        EE n

FS      ELSE

FS      ENDIF

FS      ENDSub [subName]

FS      ENDWHile

        EXit [n]

        EXPEcterror

F       FETCHBUF varName sectorOffset byteOffset size

F       FETCHCDB varName offset size

        FILLIncr
        FILLNUM [n]
        FILLOne
        FILLPat
        FILLPat n ...
        FILLPat + n ...
        FILLRand
        FILLStart
        FILLTag
        FILLWord
        FILLZero

        HELP [x]
        HELPC [x]
        HELPP [x]

DR      ID [NOSHOW] [NOCHECK] [NOSET]

FS      IF n

F       INCCR offset [varName]

F       INCR varName

F       INPCIByte offset
F       INPCIByte offset varName [pciBus pciDev pciFun]
F       INPCIWord offset
F       INPCIWord offset varName [pciBus pciDev pciFun]

F       INPORTByte ioAddr [varName]
F       INPORTWord ioAddr [varName]

DR      INQ

        INTerrupt

        LBA
        LBA SET n
        LBA28
        LBA28 SET n
        LBA32
        LBA32 SET n
        LBA48
        LBA48 SET n n

F       LBAIncr
F       LBAIncr lbaIncr [numLba]
F       LBAIncr Random [numLba]
F       LBAIncr TL [numLba]

F       LOCAL varName [=] n

        LOG
        LOG KML normal repeat
        LOG MAXimum
        LOG MINimum
        LOG NEW fileName
        LOG OFf
        LOG ON
        LOG SML normal repeat
        LOG (n)

DR      ND command feature sectorCount lba
DR      ND command feature sectorCount cyl head sect

DF      NDX fr sc sn cl ch dh cmd

        Next

FS      ONERRor
FS      ONERRor CAll subName [n]
FS      ONERRor COntinue
FS      ONERRor EXit
FS      ONERRor NExt
FS      ONERRor QUit

FS      ONESCkey
FS      ONESCkey CAll subName [n]
FS      ONESCkey COntinue
FS      ONESCkey EXit
FS      ONESCkey NExt
FS      ONESCkey QUit

F       OUTCCR offset n

F       OUTPCIByte offset n [pciBus pciDev pciFun]
F       OUTPCIWord offset n [pciBus pciDev pciFun]

F       OUTPORTByte ioAddr n
F       OUTPORTWord ioAddr n

        PCCMODE OFf [DEBUG]
        PCCMODE ON [DEBUG]
        PCCMODE (n) [DEBUG]

DR      PDI command feature sectorCount lba [multiCount]
DR      PDI command feature sectorCount cyl head sect [multiCount]

DF      PDIX fr sc sn cl ch dh cmd numSect [multiCnt]

DFR     PDO command feature sectorCount lba [multiCount]
DFR     PDO command feature sectorCount cyl head sect [multiCount]

DF      PDOX fr sc sn cl ch dh cmd numSect [multiCnt]

        PIO
        PIO BYTE
        PIO DWORD
        PIO WORD
        PIO ODR0
        PIO ODR8
        PIO ODR400
        PIO ODRRAND

DR      PN bcl cdb0 cdb1 ... cdbn [etl]

        POLL

DR      PR bcl cdb0 cdb1 ... cdbn [etl]

        PS
        PS 12
        PS 16
        PS n

DFR     PW bcl cdb0 cdb1 ... cdbn [etl]

        QUit

DR      R sectorCount lba [multiCount]
DR      R sectorCount cyl head sect [multiCount]

DR      R10 tl lba [etl]

DR      R12 tl lba [etl]

        RANDSEED n

DR      RCAp

        RCD tl lba [etl]

        READ numBytes fileName [offset]

        READOnly
        READOnly OFf
        READOnly ON
        READOnly (n)

F       REPeat count command

DR      RESet [SATA]

FS      RETurn [n]

DR      RS

DFR     RSVW sequence lba minSC maxSC [multiCount]

DR      RTOc [format]

DR      S10 lba

F       SAY text

F       SAYFail
F       SAYPass

F       SCRipt fileName

DR      Seek lba
DR      Seek cyl head sect

F       SET varName [=] n

DR      SF PIo n
DR      SF SW n
DR      SF MW n
DR      SF ULtra n
DR      SF DRC
DR      SF ERC
DR      SF DWC
DR      SF EWC

        SHOWBM
        SHOWCB
        SHOWCCr
        SHOWCH
        SHOWCIs
        SHOWCS
        SHOWID
        SHOWINq
        SHOWLL
        SHOWPC
        SHOWRS
        SHOWTOc

DR      SM multiCount

DR      SMART ENable
DR      SMART DIsable
DR      SMART STatus

F       SSS [option]

DR      SSU [option]

        STORE sectorOffset byteOffset n ...

F       STOREBUF sectorOffset byteOffset size value

F       STORECDB offset size value

F       STRCMP   strVar1 strVar2
F       STRCONV  varName strVar
F       STRFBUF  strVar sectorOffset byteOffset
F       STRFIND  strVar1 strVar2
F       STRLEN   strVar
F       STRLWR   strVar
F       STRPARSE strVar1 strVar2 strVar3
F       STRSBUF  sectorOffset byteOffset strVar
F       STRSET   strVar [text]
F       STRSUB   strVar1 strVar2 offset length
F       STRUPR   strVar

        TAG
        TAG OFf
        TAG ON
        TAG (n)

DR      TUR

DR      V sectorCount lba
DR      V sectorCount cyl head sect

DFR     W sectorCount lba [multiCount]
DFR     W sectorCount cyl head sect [multiCount]

DFR     W10 tl lba [etl]

DFR     W12 tl lba [etl]

FS      WHILE n

FS      WINdow ASK varName
FS      WINdow CLEAR
FS      WINdow CLOSE
FS      WINdow COLOR fb
FS      WINdow GOTO n
FS      WINdow OPEN

F       WL text

        WRITE numBytes fileName [Append]

F       WRITEText fileName text

        =
        ==

        /
        //

-end-