File:  [gforth] / gforth / arch / misc / README
Revision 1.2: download - view: text, annotated - select for diffs
Tue Jul 10 20:43:00 2001 UTC (21 years, 4 months ago) by crook
Branches: MAIN
CVS tags: v0-7-0, v0-6-2, v0-6-1, v0-6-0, HEAD
fixed up comments to reflect current file organisation.

    1: This directory contains simulator, assembler and primitives for the
    2: MISC-chip.
    3: 
    4: Information about the MISC processor can be found at: www.mixed-mode.de
    5: 
    6: Create a gforth image for the misc simulator with:
    7: 
    8: make kernl-misc.fi
    9: 
   10: Load this image into the simulator and run the simulator with:
   11: 
   12: gforth arch/misc/sim.fs -e "load kernl-misc.fi g"
   13: 
   14: Additionally, there are two more complex examples (two terminal games,
   15: Sokoban and Tetris). To create the image, add:
   16: 
   17: include arch/misc/sokoban.fs
   18: include arch/misc/tt.fs
   19: 
   20: in kernel/main.fs (they are commented out by default) then perform a make
   21: kernl-misc.fi as above. Move the result to games-misc.fi, and start
   22: the simulator:
   23: 
   24: mv kernl-misc.fi games-misc.fi
   25: gforth arch/misc/sim.fs -e "load games-misc.fi g"
   26: 
   27: Now type in "sokoban" <return> or "tt" <return> to play sokoban or
   28: tetris (be aware: both are very slow!). To stop either game, type "q".

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