-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.TXT
More file actions
52 lines (29 loc) · 1.18 KB
/
Copy pathREADME.TXT
File metadata and controls
52 lines (29 loc) · 1.18 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
..............................................
... ...
... : DOS FORTH ; ...
... ...
..............................................
This is my attempt at a FORTH implementation in 8086 Assembler for
Microsoft DOS.
HOW TO COMPILE
Run `make' on a UNIX host system with NASM installed.
HOW TO RUN
Run `make run' to start DOSBox automatically, or run FORTH.COM on a
real MS DOS machine or emulator.
DOCUMENTATION
Please consult <WORDS.TXT> for a list of words and their use.
IMPLEMENTATION DETAILS
The structure of a dictionary entry is shown in Fig. 1.
+--------+-------------------------+
|Byte |Field name |
+--------+-------------------------+
|0-1 |Link pointer |
+--------+-------------------------+
|2 |Length |
+--------+-------------------------+
|3..N |Name |
+--------+-------------------------+
|N+1.. |Body (aligned to 2 bytes)|
+--------+-------------------------+
Fig. 1: Dictionary entry
Copyright (C) 2021 swissChili -- http://swisschili.sh