Move load +load thru +thru --> from vf-cbm-core to vf-cbm-bufs

This commit is contained in:
Philip Zembrod 2021-04-02 00:33:57 +02:00
parent 798fcb3620
commit c7ced3bb60
2 changed files with 20 additions and 29 deletions

View File

@ -1,6 +1,24 @@
\ *** Block No. 102, Hexblock 66
66 fthpage
( load +load thru +thru --> )
: load ( blk --)
?dup 0= ?exit blk push blk !
>in push >in off
.status interpret ;
: +load ( offset --) blk @ + load ;
: thru ( from to --)
1+ swap DO I load LOOP ;
: +thru ( off0 off1 --)
1+ swap DO I +load LOOP ;
: -->
1 blk +! >in off .status ; immediate
( buffer mechanism 15dec83ks)
User file 0 file !

View File

@ -2122,7 +2122,7 @@ Code ?stack
\ *** Block No. 92, Hexblock 5c
5c fthpage
( .status push load 08sep84ks)
( .status push 08sep84ks)
Defer .status ' noop Is .status
@ -2132,37 +2132,10 @@ Defer .status ' noop Is .status
r> swap dup >r @ >r pull >r >r ;
restrict
: load ( blk --)
?dup 0= ?exit blk push blk !
>in push >in off
.status interpret ;
\ *** Block No. 93, Hexblock 5d
5d fthpage
( +load thru +thru --> rdepth depth ks)
: +load ( offset --) blk @ + load ;
: thru ( from to --)
1+ swap DO I load LOOP ;
: +thru ( off0 off1 --)
1+ swap DO I +load LOOP ;
: -->
1 blk +! >in off .status ; immediate
( rdepth depth ks)
: rdepth ( -- +n) r0 @ rp@ 2+ - 2/ ;