Annotation of gforth/arch/4stack/README, revision 1.4
1.1 pazsan 1: This directory contains assembler and primitives for the 4stack
1.4 ! crook 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:
1.1 pazsan 10:
11: make kernl-4stack.fi
12:
1.3 pazsan 13: This also creates the file gforth.4o for the simulator in the directory
1.4 ! crook 14: arch/4stack.
1.1 pazsan 15:
1.4 ! crook 16: Load this image into the simulator and run the simulator with:
1.1 pazsan 17:
1.4 ! crook 18: cd arch/4stack; 4stack gforth.4o
1.1 pazsan 19:
1.4 ! crook 20: Additionally, there are two more complex examples (two terminal games,
! 21: Sokoban and Tetris). To create the image, add:
1.1 pazsan 22:
23: include arch/misc/sokoban.fs
24: include arch/misc/tt.fs
25:
1.4 ! crook 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
1.3 pazsan 28: gforth-games.4o, and start the simulator:
1.1 pazsan 29:
1.4 ! crook 30: cd arch/4stack
1.3 pazsan 31: mv gforth.4o gforth-games.4o
32: 4stack gforth-games.4o
1.1 pazsan 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>