NitrOS-9 System Calls

I have been mucking about with NitrOS-9, the current version of OS-9, rebuilt for the 6309 CPU. I became curious about the system calls it used, and specifically how often those system calls get called. I ran a shell script to check that. Here’s the script:

ag "os9 " | sed -n 's/.*\([I|F]\$\w*\).*/\1/p' | sort | uniq -c | sort -nr

This resulted in the following histogram:

Count Syscall
789 I$Write
582 I$WritLn
350 I$Read
337 I$GetStt
316 I$Close
314 I$Open
256 F$Exit
228 I$SetStt
201 I$Seek
169 I$ReadLn
106 F$Sleep
100 F$Link
90 I$Create
66 F$Send
66 F$Move
64 F$ID
62 I$Dup
59 F$Time
56 F$Wait
56 F$PrsNam
56 F$PErr
56 F$Fork
52 F$UnLink
52 F$SRqMem
49 F$SRtMem
49 F$CpyMem
45 I$ChgDir
41 F$IRQ
40 I$Delete
40 F$Icpt
36 F$SUser
32 F$Mem
30 F$RegDmp
28 F$Find64
25 F$Load
21 F$VIRQ
21 F$GPrDsc
20 F$LDABX
20 F$Chain
18 F$CRC
17 F$UnLoad
16 F$SSvc
15 I$SETSTT
14 I$CLOSE
14 F$STABX
14 F$Ret64
13 I$GETSTT
13 I$Detach
13 F$GProcP
13 F$CmpNam
12 I$Attach
12 F$Unlink
12 F$SPrior
12 F$IOQu
11 I$MakDir
11 F$SLEEP
11 F$AProc
11 F$AllBit
10 F$EXIT
10 F$DelRAM
10 F$DelBit
10 F$Debug
9 I$Writln
9 I$WRITE
9 I$DUP
9 F$STime
8 F$MapBlk
8 F$All64
7 I$OPEN
7 F$VModul
7 F$NMLoad
6 I$WRITLN
6 I$CREATE
6 F$NProc
6 F$NMLink
6 F$LDDDXY
5 F$WAIT
5 F$SchBit
5 F$FORK
5 F$DelTsk
5 F$Cpymem
5 F$BtMem
5 F$AllRAM
4 F$ICPT
4 F$GBlkMp
4 F$ClrBlk
4 F$AllTsk
3 I$READLN
3 I$READ
3 I$MAKDIR
3 I$Getstt
3 I$DeletX
3 I$DELETE
3 I$CHGDIR
3 F$SetTsk
3 F$SEND
3 F$IODel
3 F$FModul
3 F$CHAIN
3 F$Boot
3 F$AlHRAM
2 I$SEEK
2 I$GSTT
2 F$UNLINK
2 F$TIME
2 F$SUSER
2 F$STIME
2 F$StABX
2 F$SRTMem
2 F$SPRIOR
2 F$SLink
2 F$SAYHI
2 F$PERR
2 F$MEM
2 F$LOAD
2 F$LINK
2 F$DelImg
1 I$writln
1 I$SLEEP
1 I$read
1 F$UNLOAD
1 F$SSWi
1 F$SRQMEM
1 F$SrqMem
1 F$SETSTT
1 F$SetImg
1 F$ResTsk
1 F$RelTsk
1 F$NMLOAD
1 F$NMLINK
1 F$LDAXY
1 F$LdABX
1 F$IOQU
1 F$GTIME
1 F$GPRDSC
1 F$GModDr
1 F$GCMDir
1 F$FreeHB
1 F$exit
1 F$ELink
1 F$DelPrc
1 F$DatMod
1 F$Crc
1 F$AllPrc
1 F$AllImg
1 F$ALL64

Related Posts:

  • No Related Posts
This entry was posted in Computing History, Retrocomputing, The Hardest Hardware and tagged , , , . Bookmark the permalink.

Comments are closed.