File: README

package info (click to toggle)
gforth 0.7.0%2Bds2-0.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,808 kB
  • sloc: ansic: 8,506; sh: 3,660; lisp: 1,783; makefile: 993; yacc: 186; sed: 141; lex: 102; awk: 21
file content (28 lines) | stat: -rw-r--r-- 891 bytes parent folder | download | duplicates (8)
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
This directory contains simulator, assembler and primitives for the
MISC-chip.

Information about the MISC processor can be found at: www.mixed-mode.de

Create a gforth image for the misc simulator with:

make kernl-misc.fi

Load this image into the simulator and run the simulator with:

gforth arch/misc/sim.fs -e "load kernl-misc.fi g"

Additionally, there are two more complex examples (two terminal games,
Sokoban and Tetris). To create the image, add:

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

in kernel/main.fs (they are commented out by default) then perform a make
kernl-misc.fi as above. Move the result to games-misc.fi, and start
the simulator:

mv kernl-misc.fi games-misc.fi
gforth arch/misc/sim.fs -e "load games-misc.fi g"

Now type in "sokoban" <return> or "tt" <return> to play sokoban or
tetris (be aware: both are very slow!). To stop either game, type "q".