File:  [gforth] / gforth / arch / 4stack / README
Revision 1.4: download - view: text, annotated - select for diffs
Tue Jul 10 20:41:32 2001 UTC (20 years, 10 months ago) by crook
Branches: MAIN
CVS tags: v0-7-0, v0-6-2, v0-6-1, v0-6-0, HEAD
kernl-4stack.fi now builds. Fixed paths in mach.sh, and changed reference
therein from gforth to ./gforth to ensure that the engine is consistent
with the source tree in which the .fi file is being built. Revised README
to reflect the current file organisation.

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

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