From 72b426f0a7b2befc024155c132302cad0e13e43f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyle=20J=C2=A0Cardoza?= Date: Mon, 8 Jul 2024 23:46:14 -0400 Subject: [PATCH] Documentation of kernel API --- doc/syscalls.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/syscalls.md b/doc/syscalls.md index 8e3b80b..079d79c 100644 --- a/doc/syscalls.md +++ b/doc/syscalls.md @@ -11,9 +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. +Most calls return a status code in C. This code has one value, `STATUS_OK`, +(equal to `0x0000`) 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