File: README

package info (click to toggle)
gforth 0.4.9.19990617-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,040 kB
  • ctags: 868
  • sloc: ansic: 3,794; sh: 1,928; lisp: 1,335; makefile: 649; sed: 129
file content (36 lines) | stat: -rw-r--r-- 1,153 bytes parent folder | download
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
27
28
29
30
31
32
33
34
35
36
This directory contains assembler and primitives for the 4stack
processor. Create an gforth image for the misc simulator with

make kernl-4stack.fi

This also creates a file for the simulator in the directory ../4stack.

Load this image into the simulator and run the simulator with

cd ../4stack; 4stack kernl-4stack.4o

Additonally, there are two more complex examples (two terminal games,
Sokoban and Tetris). To create the image games-misc.fi, do the
following:

Add

include arch/misc/sokoban.fs
include arch/misc/tt.fs

in main.fs just before "include special.fs". Perform a make
kernl-4stack.fi like above. Move the resulting kernl-4stack.4o to
games-4stack.4o, and start the simulator:

cd ../4stack
mv kernl-4stack.4o games-4stack.4o
4stack games-4stack.4o

Now type in "sokoban" <return> or "tt" <return> to play sokoban or
tetris (both run at reasonable speed on a Pentium 133). To stop either
game, type "q".

More informations about the 4stack processor, including a description
of the architecture, a user manual, a simulator, and a description of
a sample implementation in Verilog can be found in
http://www.jwdt.com/~paysan/4stack.html