version 1.32, 2003/01/20 19:17:59
|
version 1.35, 2003/05/11 17:17:14
|
Line 1
|
Line 1
|
\ VARS.FS Kernal variables |
\ VARS.FS Kernal variables |
|
|
\ Copyright (C) 1995,1996,1997,1998,2000 Free Software Foundation, Inc. |
\ Copyright (C) 1995,1996,1997,1998,2000,2003 Free Software Foundation, Inc. |
|
|
\ This file is part of Gforth. |
\ This file is part of Gforth. |
|
|
Line 69 $400 Value def#tib
|
Line 69 $400 Value def#tib
|
|
|
\ initialized by COLD |
\ initialized by COLD |
|
|
Create main-task has? OS [IF] 100 [ELSE] 40 [THEN] cells allot |
Create main-task has? OS [IF] 100 [ELSE] 40 [THEN] cells dup allot |
|
|
\ set user-pointer from cross-compiler right |
\ set user-pointer from cross-compiler right |
main-task |
main-task |
UNLOCK tup ! LOCK |
UNLOCK swap region user-region user-region setup-region LOCK |
|
|
Variable udp ( -- a-addr ) \ gforth |
Variable udp ( -- a-addr ) \ gforth |
\G user area size |
\G user area size |
Line 197 AUser last-compiled \ last compile,d xt
|
Line 197 AUser last-compiled \ last compile,d xt
|
0 last-compiled ! |
0 last-compiled ! |
AUser last-compiled-here \ where LAST-COMPILED should be stored |
AUser last-compiled-here \ where LAST-COMPILED should be stored |
|
|
has? peephole [IF] |
User max-name-length \ maximum length of all names defined yet |
0 value peeptable \ initialized in boot |
32 max-name-length ! |
[THEN] |
|
|
\ has? peephole [IF] |
|
\ 0 value peeptable \ initialized in boot |
|
\ [THEN] |
|
|
has? glocals [IF] |
has? glocals [IF] |
User locals-size \ this is the current size of the locals stack |
User locals-size \ this is the current size of the locals stack |