diff --git a/README.md b/README.md index b79bb4ea..c57392f3 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,6 @@ In Progress : moving TCPIP to socket API | PAUSE | Working | | | READ | | | | TIME | Working | | -| TYPE | Working | | | SET | Working | | | STARTPROC | Working | Used in A2osX.startup | @@ -109,7 +108,7 @@ note : '$VAR' does NOT expand Variable | MV | In Progress | -C : Continue On Error | 0.8 | | | | -R : Recurse subdirectories | | | | | -Y : Dont't Prompt For Override | | -| CAT | In Progress | -A : Show All non printable caracters | 0.8 | +| CAT | Working | -A : Show All non printable caracters | 0.8 | | | | -N : Number all output lines | | | | | -S : Suppress repeated empty output lines | | | ARP | Working | dump ARP cache, setup a static ARP entry | 0.8 | diff --git a/SYS/KERNEL.S.FIO.txt b/SYS/KERNEL.S.FIO.txt index 15287510..13a136af 100644 --- a/SYS/KERNEL.S.FIO.txt +++ b/SYS/KERNEL.S.FIO.txt @@ -6,12 +6,16 @@ AUTO 6 .LIST OFF */-------------------------------------- * #FileSearch +* Search a file in the provided PATH list +* And return, if found, the full path to it. * ##In: * PUSHW = Ptr to Search Path (PSTR) %LIB%;/SYS/SLIB * PUSHW = Ptr to File Name (PSTR) -* #Out: -* Y,A = PSTR to FilePath (PSTR) -* X = hMem to FilePath +* ##Out: +* CC : success +* Y,A = PSTR to FilePath (PSTR) +* X = hMem to FilePath +* CS : not found *\-------------------------------------- K.FileSearch >PULLW ZPQuickPtr4 ZPQuickPtr1 trashed by ExpandPStrYA >PULLYA Get Search list @@ -78,9 +82,11 @@ K.FileSearch.Index .BS 1 * #GetFullPathYA * ##In : * Y,A = Filename (PSTR) -* #Out : -* Y,A = FullPath (PSTR) -* X = hMem of FullPath +* ##Out : +* CC : success +* Y,A = FullPath (PSTR) +* X = hMem of FullPath +* CS : A = Error Code *\-------------------------------------- K.GetFullPathYA >STYA ZPQuickPtr3 Ptr1 & 2 used by StrCpy lda (ZPQuickPtr3) diff --git a/_Docs/KERNEL.md b/_Docs/KERNEL.md index 8bdbf049..a2b21a02 100644 --- a/_Docs/KERNEL.md +++ b/_Docs/KERNEL.md @@ -290,16 +290,18 @@ And return, if found, the full path to it. + CC : success + Y,A = PSTR to FilePath (PSTR) + X = hMem to FilePath -+ CS : A = Error Code ++ CS : not found #GetFullPathYA ##In : + Y,A = Filename (PSTR) -#Out : -+ Y,A = FullPath (PSTR) -+ X = hMem of FullPath +##Out : ++ CC : success + + Y,A = FullPath (PSTR) + + X = hMem of FullPath ++ CS : A = Error Code #LoadFile