home *** CD-ROM | disk | FTP | other *** search
- Pygmy - a cmFORTH-like Forth by Frank Sergeant - 28 Aug 89
-
- Welcome to Pygmy. The documentation is in block files that will be
- opened automatically when you bring up Pygmy.
-
- Pygmy includes
- 1. a fast screen oriented block editor
- 2. an 8088/8086 assembler
- 3. full source code
- 4. full meta-compiler
- 5. up to 15 files open & accessible at one time
- 6. default set of files opened automatically
- 7. FOR/NEXT, PUSH, POP, \, COMPILER vocabulary and
- other cmFORTH improvements
- 8. Direct screen writes for speed for monochrome (tested)
- & color & Compaq (not tested).
- 9. vectored I/O ( EMIT, KEY, KEY?, CR )
- 10. documentation and help files
- 11. a *Starting Forth* compatibility file for people new
- to Forth
-
- WHAT IS PYGMY?
-
- Pygmy is a lean fast Forth for the IBM PC/XT. It is based on
- Charles Moore's cmFORTH for the NOVIX Forth chip. I have made many
- changes to allow it to run on a PC and other changes as well.
-
- cmFORTH was designed to run on a NOVIX connected by a serial line to
- a host terminal or computer that would supply editing and file storage
- services. Therefore, cmFORTH does not include an editor. Also, no
- assembler is needed because the NOVIX's assembly language is Forth
- (more or less).
-
- Pygmy does include an editor & assembler. Still it only takes up
- about 12K bytes with the assembler and about 9K bytes without the
- assembler. It comes with its complete source code, including a
- meta-compiler, so that it can recompile itself. The meta-compiler can
- also be used for target compiling custom applications. In this case
- you can eliminate the parts (such as the editor & assembler & various
- utilities, etc.) that the final application will not need.
-
- Pygmy is direct threaded with top of stack kept in a register. It
- has (in my opinion) quite a comfortable screen oriented block editor.
- You can move quickly from screen to screen with the PgDn & PgUp keys.
-
- Pygmy allows you to have 15 files open at one time. These are all
- accessible "simultaneously" at different screen numbers (none of the
- OPEN/FROM as used in F83). Your default files are opened automatically
- and the defaults can be changed, of course, and additional files can be
- opened. .FILES shows you the defaults and the documentation shows
- examples of how to reset them.
-
-
- HOW TO RUN THE PROGRAM
-
- If Pygmy is distributed in an ARC file, unarc it. Assuming the files are now
- on a floppy in drive A, if you are going to run from a floppy, make a backup
- copy first. If you are going to run from a hard disk, set up a directory and
- copy all of the files to that directory as in the following example.
- C:\>md pyg
- C:\>cd pyg
- C:\PYG\>copy a:*.*
-
- Then bring up Pygmy by typing
- C:\PYG\>pygmy ( if you have a monochrome monitor)
- or
- C:\PYG\>pygmyc ( if you have a color monitor)
-
-
- Once you see Pygmy's greeting you can browse through the
- documentation by typing 601 EDIT (end all commands or lines
- by pressing <Enter>). Then just start browsing with the
- PgDn & PgUp keys. To get out of the editor press Esc and to get back
- in where you left off, type ED
-
- To browse other files, press Esc to get out of the editor and then
- type n EDIT where n is the screen you want to start looking
- at. To see what files have been opened automatically, get out
- of the editor and type .FILES
-
-
- IF YOU HAVE TROUBLE USING PYGMY WITH YOUR MONITOR:
-
- If you do not have the complete set of files, ignore the open errors
- and do the best you can. If you only have PYGMY.COM or PYGMYC.COM and
- it is not the right one for your monitor, you can modify it "in the
- dark," so to speak. First make sure Pygmy is running, even though no
- output is getting to the screen. Do this by typing BYE followed by
- pressing Enter ('BYE' must be in upper case). If Pygmy returns you to
- DOS, then it is working fine. Bring Pygmy up again and type
-
- HEX B000 VID ! <Enter>
- 03B4 CRTC ! <Enter> to work with a monochrome monitor
- or
- HEX B800 VID !
- 03D4 CRTC ! <Enter> to work with a color monitor or a
- Compaq
-
- COMPLAINTS & ERROR REPORTS
-
- I can be reached as F.SERGEANT on GEnie or via the postal service
- as Frank Sergeant
- 809 W. San Antonio St.
- San Marcos, Texas 78666.
-
-