aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdata.asm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/kdata.asm11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/kdata.asm b/src/kdata.asm
index efc780a..ba395f1 100644
--- a/src/kdata.asm
+++ b/src/kdata.asm
@@ -20,3 +20,14 @@ wTmpWramB:: DS 1
wTmpSlot:: DS 1
wTmpPid:: DS 1
wTmpSP:: DS 2
+
+; cart-RAM bank allocator (bump; bank 0 taken by the init task)
+wNextRamBank:: DS 1
+
+; scratch used by sys_fork
+wForkUserSP:: DS 2 ; parent user SP at fork entry (= Uafter)
+wForkChildSlot:: DS 1
+wForkChildPid:: DS 1
+wForkParentBank::DS 1
+wForkChildBank:: DS 1
+wCopyBuf:: DS 256 ; bank-copy bounce buffer (WRAM0, always mapped)