OpenBoot 2.x Command Reference Manual

Using dl to Load Forth Over a Serial Port

Forth programs loaded with dl must be ASCII files.

To load the file over the serial line, connect the system-under-test's serial port to a machine that is able to transfer a file on request, and start a terminal emulator on that system. The terminal emulator is then used to download the file using dl.

The following example assumes the use of the Unix terminal emulator tip. (See Appendix A, Testing with a Terminal Emulator", for information on this procedure.)

  1. At the ok prompt, type:


     ok dl 
    

  2. In the tip window of the other system, send the file, and follow it with a Control-D to signal the end of the file.


    ~C (local command) cat filename
    (Away two seconds)
    ^-D 
    

The file is automatically interpreted after it is loaded, and the ok prompt re-appears on the screen of the system to which the file was loaded.