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

We're missing some functions for HiSoft C #234

@skx

Description

@skx

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.

Metadata

Metadata

Assignees

Labels

applicationThis shows up in a specific applicationhelp wantedExtra attention is neededsyscallA BIOS/BDOS syscall is involved

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions