"create-named-in" cosmetix
[urforth.git] / level0 / syssrc / brk-buffer.f
blob1fb0e880f2cff021bf26fc33e4966cd3ee9d584c
1 ;; Native x86 GNU/Linux Forth System, Direct Threaded Code
2 ;; BRK-BUFFER:
3 ;;
4 ;; Copyright (C) 2020 Ketmar Dark // Invisible Vector
5 ;;
6 ;; This program is free software: you can redistribute it and/or modify
7 ;; it under the terms of the GNU General Public License as published by
8 ;; the Free Software Foundation, version 3 of the License ONLY.
9 ;;
10 ;; This program is distributed in the hope that it will be useful,
11 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ;; GNU General Public License for more details.
15 ;; You should have received a copy of the GNU General Public License
16 ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
18 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
19 : BUFFER: ( size -- )
20 create allot
21 create;
24 ;; this allocates memory with BRK
25 : BRK-BUFFER: ( size -- )
26 brk-alloc constant