This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Description
There are two versions of the HiSoft C compiler here:
Anyway both require some missing syscalls to be implemented, and getting those added and tested properly, will close this bug.
We need to add, at least:
- PUNCH
- Add READER too for symmetry, I guess.
- F_TIMEDATE
More generally it would be nice if we could add support for arbitrary "fake" syscalls. Perhaps something like:
- If syscall exists use it.
- If os.Getenv("SYSCALL_124_FAIL" ) exists return a fail code
- If os.Getenv("SYSCALL_124_OKAY" ) exists return a pass code
- Otherwise abort with "unimplemented", as we do now.
Might be a bit messy, but it would save recompilation for users if there's just one syscall that is missing.