version 1.3, 1996/10/13 19:56:22
|
version 1.4, 1996/11/18 21:28:18
|
Line 241 Create chunks here 16 cells dup allot er
|
Line 241 Create chunks here 16 cells dup allot er
|
>r drop r@ @ rot ! r@ swap erase r> ; |
>r drop r@ @ rot ! r@ swap erase r> ; |
|
|
: >chunk ( n -- root n' ) |
: >chunk ( n -- root n' ) |
8aligned dup 3 rshift cells chunks + swap ; |
1- -8 and dup 3 rshift cells chunks + swap 8 + ; |
|
|
: Dalloc ( size -- addr ) |
: Dalloc ( size -- addr ) |
dup 128 > IF allocate throw EXIT THEN |
dup 128 > IF allocate throw EXIT THEN |
Line 515 Vocabulary interfaces interfaces defini
|
Line 515 Vocabulary interfaces interfaces defini
|
|
|
: how: ( -- ) align |
: how: ( -- ) align |
here lastif @ ! 0 decl ! |
here lastif @ ! 0 decl ! |
last-interface @ , inter-list @ , methods @ , inter# @ , |
here last-interface @ , last-interface ! |
|
inter-list @ , methods @ , inter# @ , |
methods @ :inum cell+ ?DO ['] crash , LOOP ; |
methods @ :inum cell+ ?DO ['] crash , LOOP ; |
|
|
: interface; ( -- ) old-current @ set-current |
: interface; ( -- ) old-current @ set-current |