File:  [gforth] / gforth / arch / 4stack / README
Revision 1.3: download - view: text, annotated - select for diffs
Sun Aug 13 19:03:43 2000 UTC (21 years, 9 months ago) by pazsan
Branches: MAIN
CVS tags: v0-5-0, HEAD
Added undocumented SALC instruction ot x86 assembler
Fixed instructions in 4stack port README
Fixed newline (cr/lf) in 8086 prims

    1: This directory contains assembler and primitives for the 4stack
    2: processor. Create an gforth image for the misc simulator with
    3: 
    4: make kernl-4stack.fi
    5: 
    6: This also creates the file gforth.4o for the simulator in the directory
    7: ../4stack.
    8: 
    9: Load this image into the simulator and run the simulator with
   10: 
   11: cd ../4stack; 4stack gforth.4o
   12: 
   13: Additonally, there are two more complex examples (two terminal games,
   14: Sokoban and Tetris). To create the image, do the following:
   15: 
   16: Add
   17: 
   18: include arch/misc/sokoban.fs
   19: include arch/misc/tt.fs
   20: 
   21: in main.fs just before "include special.fs". Perform a make
   22: kernl-4stack.fi like above. Move the resulting gforth.4o to
   23: gforth-games.4o, and start the simulator:
   24: 
   25: cd ../4stack
   26: mv gforth.4o gforth-games.4o
   27: 4stack gforth-games.4o
   28: 
   29: Now type in "sokoban" <return> or "tt" <return> to play sokoban or
   30: tetris (both run at reasonable speed on a Pentium 133). To stop either
   31: game, type "q".
   32: 
   33: More informations about the 4stack processor, including a description
   34: of the architecture, a user manual, a simulator, and a description of
   35: a sample implementation in Verilog can be found in
   36: http://www.jwdt.com/~paysan/4stack.html

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>