From 65267903c1401578a9e3c1dc6f43fe2c87be6354 Mon Sep 17 00:00:00 2001 From: Russell-S-Harper Date: Wed, 19 Sep 2018 22:24:23 -0400 Subject: [PATCH] Added comment regarding context switching. --- common/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/common.h b/common/common.h index c3661e0..16eec7f 100644 --- a/common/common.h +++ b/common/common.h @@ -97,6 +97,8 @@ _PS = _IDY + 1 ; saved processor status to restore _RS = $200 ; register stack _RSS = (FN_FX - _RS) ; register stack size +; for context switching, at least _R0 to FN_FX-1 plus one byte for the stack pointer need to be saved and restored + ; last 32 bytes of page two FN_FX = $2e0 ; list of system and user functions