From d7b98dbe868fa81fefc949f5207999d5960ea30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyle=20J=C2=A0Cardoza?= Date: Mon, 8 Jul 2024 23:25:34 -0400 Subject: [PATCH] Documentation of kernel API --- doc/syscalls.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/syscalls.md b/doc/syscalls.md index aaf092c..d3434de 100644 --- a/doc/syscalls.md +++ b/doc/syscalls.md @@ -11,6 +11,10 @@ register arguments they take, and what if any values they return. The system API is based loosely on, but not compatible with, that of CP/M-3 and MSX-DOS 2. +Most calls return a status code in C. This code has one value, STATUS_OK, +which applies to all such calls; this value indicates that the call was +successful. Any other value will indicate some specific error. + ## 0x00: Terminate with Error Code Arguments: