home *** CD-ROM | disk | FTP | other *** search
- II. F83 COMPATIBILITY
-
-
-
- 1. WHAT'S THE SAME AS F83
-
-
-
- From a low-level Forth standpoint, F-PC is very similar to F83. 90%
- of the words in F83 are retained in F-PC. However, F-PC is more
- than twice bigger than F83, with about 2000 words comparing to
- 1000 words in F83. The following is a partial list of words which
- are the same in both systems:
-
- . 16 bit address. Data default to 16 bit integer.
-
- . Most of the low level kernel words are the same.
-
- . Multi-tasking is unchanged.
-
- . The assembler in POSTFIX mode is fully compatible with the F83
- assembler.
-
- . VIEW, FIX, L, N, B, ED, LISTING, and OK work as they did in
- F83.
-
- . LOAD and LIST need a line number rather than a screen number.
-
- . \S is available, and stops compilation of the remaining portion
- of the current file.
-
- . DEBUG works as it did in F83, with more functionality
- added. A decompiled source of the current definition being
- debugged is displayed at the top of the screen.
-
- . SEE is available, but has been enhanced to display the
- conditional structures in nested source form, for much
- increased readability.
-
- . WORDS works as it did in F83, with the enhancement that you can
- specify a text string following it to display a subset of words
- in the dictionary that contain the substring. WORDS *.* will
- display all words in all vocabularies.
-
-
-
- 2. WHAT IS DIFFERENT FROM F83
-
-
-
- . The system is now Direct Threaded CODE. This results in the
- CODE fields of Colon definitions being 3 bytes instead of 2.
- Approximately a 15% increase in performance results.
-
- . The LIST portion of all ":" definitions has been moved to
- another segment. This resulted in at least a doubling of the
- program space available. A small loss of performance resulted.
- (about 10%)
-
- . System based time and date functions have been added, for
- measurement as well as display of the time and date. The word
- TIMER will allow measuring the performance of various
- operations in F-PC.
-
- . Full screen editor SED for sequential text file is integrated
- into F-PC for ease of creating and modifying source code.
-
- . FPRINT and LISTING produce formatted source listings.
-
- . Assembler is enhanced to handle prefix assembly syntax
- similar to Intel MASM syntax.
-
- . Very fast screen I/O is provided for editor and normal text
- display. The words FAST and SLOW switch between direct screen
- I/O and BDOS function I/O.
-
- . Screen hi-lighting for a monochrome display is supported for
- underline, bold, reverse, bold blink, and reverse blink.
-
- . Paths are fully supported, as entered from the command line, or
- applied to a file automatically if not specified.
-
- . Many DOS command line functions are built-in, like DIR, COPY,
- FORMAT, DEL, REN, MD, RD, CHDIR, PATH, and more may be added at
- a cost of about 40 bytes each.
-
- . Cursor shape control is provided, in the form CURSOR-ON,
- CURSOR-OFF, NORM-CURSOR, MED-CURSOR, BIG-CURSOR, GET-CURSOR,
- and SET-CURSOR.
-
- . BLOCK, BUFFER, B/BUF, C/L, L/SCR, BLK, FCB, and other block
- related words no longer exists.
-
- . The word COPY, is now a DOS function to copy files.
-
- . Vocabularies are hashed into 32 threads, greatly improving the
- speed in dictionary search and souce code compilation.
-
- . Environment access is supported, see the ENVIRON.SEQ file.
-
- . A large set of words are added to address extended memory.
-
- . LDUMP, XDUMP, and YDUMP complements the regular DUMP.
-
- . CASE is added and optimized.
-
- . Function keys and control/alt/shift key sequences are
- supported to facilitate user interface in applications.
-
- . BLKTOSEQ and SEQTOBLK allows files to be converted between
- F83 block format to F-PC sequentil format.
-
- . A large collection of utility, application, and demonstration
- programs are included with F-PC system.
-