mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-20 03:31:42 +00:00
Kernel version 0.8 : Docs...
This commit is contained in:
parent
5989aa2d9d
commit
48c88ff956
@ -386,6 +386,26 @@ Create a new copy of PSTR
|
||||
+ CS : error
|
||||
+ A = SYS error code
|
||||
|
||||
#PStrCpy
|
||||
Copy string
|
||||
|
||||
##In:
|
||||
+ PUSHW = Ptr to SRC (PSTR)
|
||||
+ PUSHW = Ptr to DST (PSTR)
|
||||
|
||||
##Out:
|
||||
+ DST = SRC (PSTR)
|
||||
|
||||
#PStrCat
|
||||
Append SRC to DST
|
||||
|
||||
##In:
|
||||
+ PUSHW = Ptr to SRC (PSTR)
|
||||
+ PUSHW = Ptr to DST (PSTR)
|
||||
|
||||
##Out:
|
||||
+ DST = DST+SRC (PSTR)
|
||||
|
||||
#PStrMatch
|
||||
Compare a String against pattern
|
||||
|
||||
|
@ -3,6 +3,9 @@ title Kernel DOC generator
|
||||
COLOR 2A
|
||||
prompt ]
|
||||
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
|
||||
|
||||
for /f %%a in ('copy /Z "%~f0" nul') do set "CR=%%a"
|
||||
|
||||
mode con:cols=40 lines=24
|
||||
|
||||
cls
|
||||
@ -17,10 +20,12 @@ echo.
|
||||
echo Scanning KERNEL Src Files...
|
||||
echo.
|
||||
|
||||
set /a c=0
|
||||
|
||||
for /f %%F in ('dir /b /ogn %~dp0..\SYS\KERNEL.S*.txt') do (
|
||||
set FN=%%F
|
||||
set /p "=!FN!, " <NUL
|
||||
set /a c+=1
|
||||
set /p "=!c! - !FN! !CR!" <NUL
|
||||
set bInDoc=0
|
||||
for /F "tokens=*" %%L in (%~dp0..\SYS\!FN!) do (
|
||||
set LINE=%%L
|
||||
@ -48,7 +53,8 @@ for /f %%F in ('dir /b /ogn %~dp0..\SYS\KERNEL.S*.txt') do (
|
||||
)
|
||||
echo.
|
||||
echo.
|
||||
echo All done.
|
||||
echo All done : !c! Files scanned.
|
||||
echo.
|
||||
echo (I know, this batch is stupid ;-)
|
||||
echo.
|
||||
pause
|
Loading…
Reference in New Issue
Block a user