home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Page i
-
- Table of Contents
-
-
- 1 QUICK REFERENCE. . . . . . . . . . . . . . . . . . . 2
- 1.1 System Requirements . . . . . . . . . . . . . . . 2
- 1.2 Invocation. . . . . . . . . . . . . . . . . . . . 2
- 1.3 Provided Documentation. . . . . . . . . . . . . . 3
- 2 INTRODUCTION . . . . . . . . . . . . . . . . . . . . 4
- 3 USER'S GUIDE . . . . . . . . . . . . . . . . . . . . 6
- 3.1 System Requirements . . . . . . . . . . . . . . . 6
- 3.2 FORTH, Calculator Style . . . . . . . . . . . . . 7
- 3.2.1 Getting Started. . . . . . . . . . . . . . . . 7
- 3.2.2 Communicating With FORTH . . . . . . . . . . . 7
- 3.2.3 Special Functions. . . . . . . . . . . . . . . 8
- 3.2.4 New Definitions. . . . . . . . . . . . . . . . 8
- 3.2.5 Exiting FORTH. . . . . . . . . . . . . . . . . 9
- 3.3 Using the Disk. . . . . . . . . . . . . . . . . . 10
- 3.3.1 Creating and editing Definitions . . . . . . . 10
- 3.3.2 FORTH Disk Access. . . . . . . . . . . . . . . 10
- 3.3.3 Screen File Access . . . . . . . . . . . . . . 11
- 3.3.4 Compiling Definitions. . . . . . . . . . . . . 13
- 3.3.5 Other Functions. . . . . . . . . . . . . . . . 14
- 3.3.5.1 changing the default drive. . . . . . . . . 14
- 3.3.5.2 directory information . . . . . . . . . . . 14
- 3.3.5.3 erasing files . . . . . . . . . . . . . . . 14
- 3.3.5.4 screen transfer . . . . . . . . . . . . . . 15
- 3.3.5.5 screen file status. . . . . . . . . . . . . 15
- 3.3.6 Notes. . . . . . . . . . . . . . . . . . . . . 17
- 3.4 Modifying FORTH . . . . . . . . . . . . . . . . . 17
- 3.4.1 FORTH Extensions . . . . . . . . . . . . . . . 18
- 3.4.2 Patching . . . . . . . . . . . . . . . . . . . 18
- 3.4.3 Assembly Source Modifications. . . . . . . . . 19
- 4 TECHNICAL REFERENCE. . . . . . . . . . . . . . . . . 20
- 4.1 Assembly Source . . . . . . . . . . . . . . . . . 20
- 4.1.1 Source File Organization . . . . . . . . . . . 20
- 4.1.2 Macros . . . . . . . . . . . . . . . . . . . . 21
- 4.1.3 Comments . . . . . . . . . . . . . . . . . . . 21
- 4.2 Modifications . . . . . . . . . . . . . . . . . . 22
- 4.2.1 Boot Parameters. . . . . . . . . . . . . . . . 22
- 4.2.2 Machine Code Definitions . . . . . . . . . . . 22
- 4.2.3 High-level Utility Definitions . . . . . . . . 22
- 4.2.4 Installation Dependent Code. . . . . . . . . . 23
- 4.2.4.1 console i/o . . . . . . . . . . . . . . . . 23
- 4.2.4.2 printer i/o . . . . . . . . . . . . . . . . 23
- 4.2.4.3 disk i/o. . . . . . . . . . . . . . . . . . 23
- 4.2.5 High-level Definitions . . . . . . . . . . . . 24
- 4.2.6 System Tools . . . . . . . . . . . . . . . . . 24
- 4.2.7 RAM Workspace. . . . . . . . . . . . . . . . . 24
- 4.2.8 Memory Map . . . . . . . . . . . . . . . . . . 24
- 4.2.9 Other. . . . . . . . . . . . . . . . . . . . . 24
- 4.3 Additions . . . . . . . . . . . . . . . . . . . . 25
- 4.3.1 Command Line Interpretation. . . . . . . . . . 25
- 4.3.2 File Interface . . . . . . . . . . . . . . . . 25
- 5 GLOSSARY . . . . . . . . . . . . . . . . . . . . . . 27
- 5.1 Assembly Listing Definitions. . . . . . . . . . . 28
-
-
-
- Page ii
-
- Table of Contents
-
-
- 5.2 Deleted Definitions . . . . . . . . . . . . . . . 35
- 5.3 High-level Extensions . . . . . . . . . . . . . . 36
- 6 Future Extensions. . . . . . . . . . . . . . . . . . 38
- 7 FORTH sources. . . . . . . . . . . . . . . . . . . . 39
-
- Appendix A - Using execution vectors . . . . . . . . . . 40
-
- A.1 Concepts. . . . . . . . . . . . . . . . . . . . . 40
- A.2 An example. . . . . . . . . . . . . . . . . . . . 41
-
- Appendix B - Building FORTH.COM. . . . . . . . . . . . . 42
-