Post Reply 
loading FORTH via HP-IL to 71B
09-26-2022, 11:24 PM (This post was last modified: 09-27-2022 12:10 AM by Sylvain Cote.)
Post: #4
RE: loading FORTH via HP-IL to 71B
I am using the following: 71B, FORTH/Assembler module, IL module, IL cables, PILbox, pyILPER and LIF utilities.

From the command line:
  1. create an ASCII text file and save it as scr00001.txt (I use vi on Linux/macOS/BSD)
    Code:
    : hw  ." Hello, World!" ;
    .
  2. Convert the ASCII text file into a LIF text file
    Code:
    textlif SCR00001 <scr00001.txt >scr00001.lif
    .
  3. Create a LIF volume file (disk = HP9114B double sided disk, 128 file entries)
    Code:
    lifinit -m disk fth71scr.dat 128
    .
  4. Add screen LIF file (scr00001.lif) to the LIF volume (fth71scr.dat)
    Code:
    lifput fth71scr.dat scr00001.lif
    .
  5. Show LIF volume content
    Code:
    lifdir fth71scr.dat
    Code:
    Volume : , formatted : 26/09/22 19:00:00
    Tracks: 77 Surfaces: 2 Blocks/Track: 16 Total size: 2464 Blocks, 630784 Bytes
    SCR00001    TEXT          256/256      26/09/22 18:53:57
    1 files (128 max), last block used: 18 of 2464
    .
  6. Start pyILPER and set a virtual drive with the LIF volume: fth71scr.dat
    .
  7. In the HP-71B, start FORTH
    Code:
    FORTH
    .
  8. Load the screen file from mass storage into the FORTH environment
    Code:
    " SCR00001:MASSMEM" LOADF
    .
  9. Execute the new hw FORTH word
    Code:
    hw
    Code:
    Hello, World! OK {0}
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
loading FORTH via HP-IL to 71B - dmh - 09-26-2022, 03:23 PM
RE: loading FORTH via HP-IL to 71B - dmh - 09-26-2022, 10:18 PM
RE: loading FORTH via HP-IL to 71B - Sylvain Cote - 09-26-2022 11:24 PM
RE: loading FORTH via HP-IL to 71B - dmh - 09-27-2022, 11:05 AM



User(s) browsing this thread: 1 Guest(s)