1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-01-17 22:30:41 +00:00

Update ZP stack size

This commit is contained in:
David Schmenk 2024-12-29 10:40:58 -08:00
parent ad03eff0eb
commit 692cf84712
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
import longjmp
const t_except = $0180
const t_except = $0160
predef except(env), throw(env, retval)
end

View File

@ -194,11 +194,11 @@ export def fbrStart(defaddr, param)
//
// Set fiber parameters to fiber ID and passed-in value
//
vmstate->esp = $0E
vmstate->estklo.$0F = i
vmstate->estkhi.$0F = 0
vmstate->estklo.$0E = param.0 // param lo byte
vmstate->estkhi.$0E = param.1 // param hi byte
vmstate->esp = $1E
vmstate->estklo.$1F = i
vmstate->estkhi.$1F = 0
vmstate->estklo.$1E = param.0 // param lo byte
vmstate->estkhi.$1E = param.1 // param hi byte
//
// Initialize stack to point to fiber def and fbrExit
// This allows a fiber to return and it will fall into fbrExit