1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-08-12 20:25:06 +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 import longjmp
const t_except = $0180 const t_except = $0160
predef except(env), throw(env, retval) predef except(env), throw(env, retval)
end end

View File

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