aboutsummaryrefslogtreecommitdiffstats
path: root/include/gbos.inc
diff options
context:
space:
mode:
Diffstat (limited to 'include/gbos.inc')
-rw-r--r--include/gbos.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gbos.inc b/include/gbos.inc
index c22344a..0727b02 100644
--- a/include/gbos.inc
+++ b/include/gbos.inc
@@ -46,6 +46,8 @@ DEF KSTACK_TOP EQU $D000 ; kernel stack top (grows down into WRAM0)
; Process table
; -----------------------------------------------------------------------------
DEF MAX_PROCS EQU 8
+DEF NUM_RAM_BANKS EQU 4 ; MBC5 cart RAM banks available (-r 3 = 32 KiB)
+DEF KSTACK_TOP2 EQU $D000 ; kernel stack top reused for syscalls (fork)
; process states
DEF PS_FREE EQU 0