Skip to content

dos.library

dos.library is the disk operating system of AmigaOS: files and drawers, locks, the current directory, processes, the parsing of command lines and file name patterns. A program that uses these calls opens it when it starts and closes it at its end. The calls at its highest offsets, from ReadItem_ on, are declared by a second library, doslib2, which uses the same library base; they are listed here as well.

Delay_ 50  ; wait one second (50 ticks)

Declared by deflibs libraries 252 and 249.

Calls

CallArgumentsRegistersOffset
AbortPkt_(port,pkt)d1, d2-264
AddBuffers_(name,number)d1, d2-732
AddDosEntry_(dlist)d1-678
AddPart_(dirname,filename,size)d1, d2, d3-882
AddSegment_(name,seg,system)d1, d2, d3-774
AllocDosObject_(type,tags)d1, d2-228
AssignAdd_(name,lock)d1, d2-630
AssignLate_(name,path)d1, d2-618
AssignLock_(name,lock)d1, d2-612
AssignPath_(name,path)d1, d2-624
AttemptLockDosList_(flags)d1-666
ChangeMode_(type,fh,newmode)d1, d2, d3-450
CheckSignal_(mask)d1-792
Cli_-492
CliInitNewcli_(dp)a0-930
CliInitRun_(dp)a0-936
Close_(file)d1-36
CompareDates_(date1,date2)d1, d2-738
CreateDir_(name)d1-120
CreateNewProc_(tags)d1-498
CreateProc_(name,pri,segList,stackSize)d1, d2, d3, d4-138
CurrentDir_(lock)d1-126
DateStamp_(date)d1-192
DateToStr_(datetime)d1-744
Delay_(timeout)d1-198
DeleteFile_(name)d1-72
DeleteVar_(name,flags)d1, d2-912
DeviceProc_(name)d1-174
DoPkt_(port,action,arg1,arg2,arg3,arg4,arg5)d1, d2, d3, d4, d5, d6, d7-240
DupLock_(lock)d1-96
DupLockFromFH_(fh)d1-372
EndNotify_(notify)d1-894
ErrorReport_(code,type,arg1,device)d1, d2, d3, d4-480
ExAll_(lock,buffer,size,data,control)d1, d2, d3, d4, d5-432
ExAllEnd_(lock,buffer,size,data,control)d1, d2, d3, d4, d5-990
Examine_(lock,fileInfoBlock)d1, d2-102
ExamineFH_(fh,fib)d1, d2-390
Execute_(string,file,file2)d1, d2, d3-222
Exit_(returnCode)d1-144
ExNext_(lock,fileInfoBlock)d1, d2-108
Fault_(code,header,buffer,len)d1, d2, d3, d4-468
FGetC_(fh)d1-306
FGets_(fh,buf,buflen)d1, d2, d3-336
FilePart_(path)d1-870
FindArg_(keyword,template)d1, d2-804
FindCliProc_(num)d1-546
FindDosEntry_(dlist,name,flags)d1, d2, d3-684
FindSegment_(name,seg,system)d1, d2, d3-780
FindVar_(name,type)d1, d2-918
Flush_(fh)d1-360
Format_(filesystem,volumename,dostype)d1, d2, d3-714
FPutC_(fh,ch)d1, d2-312
FPuts_(fh,str)d1, d2-342
FRead_(fh,block,blocklen,number)d1, d2, d3, d4-324
FreeArgs_(args)d1-858
FreeDeviceProc_(dp)d1-648
FreeDosEntry_(dlist)d1-702
FreeDosObject_(type,ptr)d1, d2-234
FWrite_(fh,block,blocklen,number)d1, d2, d3, d4-330
GetArgStr_-534
GetConsoleTask_-510
GetCurrentDirName_(buf,len)d1, d2-564
GetDeviceProc_(name,dp)d1, d2-642
GetFileSysTask_-522
GetProgramDir_-600
GetProgramName_(buf,len)d1, d2-576
GetPrompt_(buf,len)d1, d2-588
GetVar_(name,buffer,size,flags)d1, d2, d3, d4-906
Info_(lock,parameterBlock)d1, d2-114
Inhibit_(name,onoff)d1, d2-726
Input_-54
InternalLoadSeg_(fh,table,funcarray,stack)d0, a0, a1, a2-756
InternalUnLoadSeg_(seglist,freefunc)d1, a1-762
IoErr_-132
IsFileSystem_(name)d1-708
IsInteractive_(file)d1-216
LoadSeg_(name)d1-150
Lock_(name,type)d1, d2-84
LockDosList_(flags)d1-654
LockRecord_(fh,offset,length,mode,timeout)d1, d2, d3, d4, d5-270
LockRecords_(recArray,timeout)d1, d2-276
MakeDosEntry_(name,type)d1, d2-696
MakeLink_(name,dest,soft)d1, d2, d3-444
MatchEnd_(anchor)d1-834
MatchFirst_(pat,anchor)d1, d2-822
MatchNext_(anchor)d1-828
MatchPattern_(pat,str)d1, d2-846
MatchPatternNoCase_(pat,str)d1, d2-972
MaxCli_-552
NameFromFH_(fh,buffer,len)d1, d2, d3-408
NameFromLock_(lock,buffer,len)d1, d2, d3-402
NewLoadSeg_(file,tags)d1, d2-768
NextDosEntry_(dlist,flags)d1, d2-690
Open_(name,accessMode)d1, d2-30
OpenFromLock_(lock)d1-378
Output_-60
ParentDir_(lock)d1-210
ParentOfFH_(fh)d1-384
ParsePattern_(pat,buf,buflen)d1, d2, d3-840
ParsePatternNoCase_(pat,buf,buflen)d1, d2, d3-966
PathPart_(path)d1-876
PrintFault_(code,header)d1, d2-474
PutStr_(str)d1-948
Read_(file,buffer,length)d1, d2, d3-42
ReadArgs_(template,array,args)d1, d2, d3-798
ReadItem_(name,maxchars,cSource)d1, d2, d3-810
ReadLink_(port,lock,path,buffer,size)d1, d2, d3, d4, d5-438
Relabel_(drive,newname)d1, d2-720
RemAssignList_(name,lock)d1, d2-636
RemDosEntry_(dlist)d1-672
RemSegment_(seg)d1-786
Rename_(oldName,newName)d1, d2-78
ReplyPkt_(dp,res1,res2)d1, d2, d3-258
RunCommand_(seg,stack,paramptr,paramlen)d1, d2, d3, d4-504
SameDevice_(lock1,lock2)d1, d2-984
SameLock_(lock1,lock2)d1, d2-420
Seek_(file,position,offset)d1, d2, d3-66
SelectInput_(fh)d1-294
SelectOutput_(fh)d1-300
SendPkt_(dp,port,replyport)d1, d2, d3-246
SetArgStr_(string)d1-540
SetComment_(name,comment)d1, d2-180
SetConsoleTask_(task)d1-516
SetCurrentDirName_(name)d1-558
SetFileDate_(name,date)d1, d2-396
SetFileSize_(fh,pos,mode)d1, d2, d3-456
SetFileSysTask_(task)d1-528
SetIoErr_(result)d1-462
SetMode_(fh,mode)d1, d2-426
SetOwner_(name,owner_info)d1, d2-996
SetProgramDir_(lock)d1-594
SetProgramName_(name)d1-570
SetPrompt_(name)d1-582
SetProtection_(name,protect)d1, d2-186
SetVar_(name,buffer,size,flags)d1, d2, d3, d4-900
SetVBuf_(fh,buff,type,size)d1, d2, d3, d4-366
SplitName_(name,seperator,buf,oldpos,size)d1, d2, d3, d4, d5-414
StartNotify_(notify)d1-888
StrToDate_(datetime)d1-750
StrToLong_(string,value)d1, d2-816
SystemTagList_(command,tags)d1, d2-606
UnGetC_(fh,character)d1, d2-318
UnLoadSeg_(seglist)d1-156
UnLock_(lock)d1-90
UnLockDosList_(flags)d1-660
UnLockRecord_(fh,offset,length)d1, d2, d3-282
UnLockRecords_(recArray)d1-288
VFPrintf_(fh,format,argarray)d1, d2, d3-354
VFWritef_(fh,format,argarray)d1, d2, d3-348
VPrintf_(format,argarray)d1, d2-954
WaitForChar_(file,timeout)d1, d2-204
WaitPkt_-252
Write_(file,buffer,length)d1, d2, d3-48
WriteChars_(buf,buflen)d1, d2-942