syscalls.1
A syscall is IsForths interface to the Linux kernel. It is in fact thus far, the only interface as I do not use any external C libraries. I may in the future add this but its not high on my priority list. IsForth treats the Linux kernel as if it were the BIOS and IsForth is the operating system :)
Although handlers for all possible syscalls have not been implemented the words within this file have been devised to handle any syscall. Those calls that have not been implemented in the kernel can easilly be added by the user.
Within this file, each syscall is graded by the number of parameters that it takes. So, for each possible parameter count there is an associated handler...
This function serves double duty. It is the main handler for all syscalls that take zero parameters and is also a sub handler for all other syscalls. In the latter case, all the parameters to the syscall have already been collected into their respecive registers.