GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — forth-atari/variables/LOCALS-MINI.4TH at main · BartGo/forth-atari Expand file tree/ Copy pathLOCALS-MINI.4THMore file actions 27 lines (23 loc) · 639 Bytes / Copy pathLOCALS-MINI.4THFile metadata and controls27 lines (23 loc) · 639 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ( Simple Local Variables ) ( Tested on Atari 8-bit, ) ( APX Forth; by BartGo, ) ( similar to FD-V03N6/185) ( Will NOT work in loops ) ( or with R-stack change ) : 'L ( n -- a ) 1 - 2 * ( n ) R> R> R ( n R1 R2 r3 ) ROT ROT ( n r3 R1 R2 ) >R >R + ; ( a=r3+n ) ( test similar to the one from FD-V03N6 ) : BOX ( x y z m -- a b ) R> HERE >R >R ( store HERE below RS top ) 0 DO , LOOP ( create M locals ) 1 'L @ 2 'L @ 3 'L @ * * ( vol ) 1 'L @ 4 * 2 'L @ 4 * + 3 'L @ 4 * + ( vol edge ) R> R> DP ! >R ; ( old DP ) ( vol edge ) 21 4 8 3 BOX 132 ?PAIRS 672 ?PAIRS |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |