loading FORTH via HP-IL to 71B
|
09-27-2022, 10:37 AM
(This post was last modified: 09-27-2022 11:32 AM by Stefan_Titan2944A.)
Post: #6
|
|||
|
|||
RE: loading FORTH via HP-IL to 71B
So,
the FORTH code TEXT file is in a LIF volume on a mass storage. It should already be an HP ASCII text, in LlF Type 1 format. (Is it possible to write a non-HP ASCII TEXT file to a LIF volume, without adding EXTFILES first?. Hm ...) 1. RESTORE IO in BASIC 2. " [text_file_name]:MASSMEM" LOADF in FORTH N.B. The file is not "loaded into the 71B Forth module", but COMPILED into the CURRENT VOCABULARY of the FORTHRAM file. CORRECTION: The TEXT file is streamed as an input (like keyboard inputs) and parsed - WORD definitions ( : ; ) are COMPILED, all other stuff is executed as IMMEDIATE. Given the way FORTH works (in general), even ( : ; ) is executed IMMEDIATE, with a COMPILED result. :-) |
|||
« Next Oldest | Next Newest »
|
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 - Dave Frederickson - 09-26-2022, 07:11 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 - rprosperi - 09-27-2022, 03:45 AM
RE: loading FORTH via HP-IL to 71B - Stefan_Titan2944A - 09-27-2022 10:37 AM
RE: loading FORTH via HP-IL to 71B - dmh - 09-27-2022, 11:05 AM
RE: loading FORTH via HP-IL to 71B - Stefan_Titan2944A - 09-27-2022, 11:21 AM
|
User(s) browsing this thread: 1 Guest(s)