(71B) FORTH questions
|
10-19-2023, 05:01 PM
(This post was last modified: 10-19-2023 08:06 PM by floppy.)
Post: #81
|
|||
|
|||
RE: (71B) FORTH questions
(06-22-2023 06:51 PM)rprosperi Wrote: FTHUTILA is a TEXT file, with source code for the assembler portion After uploading the files, LIST show following words which are not documented in the Forth utilities manual. Where is the doc? Any advice where to search is welcome. Code: FINDW HP71 4TH/ASM & Multimod, HP41CV/X & Nov64d, PILBOX, HP-IL 821.62A & 64A & 66A, Deb11 64b-PC & PI2 3 4 w/ ILPER, VIDEO80, V41 & EMU71, DM41X, HP75D |
|||
10-20-2023, 02:11 AM
Post: #82
|
|||
|
|||
RE: (71B) FORTH questions
These words are simply components of the larger words which are documented in the manual, e.g. UN:C is a component of UN:, DOSST a component of SST, etc.
Limited docs for each word are included in the FTHUTILF source file, including the stack in/out lists and a brief summary of what the word does, for example for UN:C ( UN:C Decompile a word, omitting header [ cfa -> ] ) : UN:C ." CFA: " DUP 'END DUP DUP @ - -5 = IF H. 5SP ." Primitive" PAUSE CR ELSE WORD@ BEGIN 5SP WORD@ DUP ENDA @ = UNTIL DROP THEN ; ( ) --Bob Prosperi |
|||
10-20-2023, 07:45 AM
(This post was last modified: 10-20-2023 07:46 AM by floppy.)
Post: #83
|
|||
|
|||
RE: (71B) FORTH questions
(10-20-2023 02:11 AM)rprosperi Wrote: These words are simply components of the larger words which are documented in the manual, e.g. UN:C is a component of UN:, DOSST a component of SST, etc. Thanks. Good to see few comments in the TXT file. Try in EMU71. first try.. (WEIRD) PLIST FTHUTILF:HDRIVE1 ERR:Invalid Filespec second try.. COPY FTHUTILF:HDRIVE1 TO :MAIN PLIST FTHUTILF (DISPLAY IS PRINTER defined for ILPER) Code: ( FTHUTILF ) HP71 4TH/ASM & Multimod, HP41CV/X & Nov64d, PILBOX, HP-IL 821.62A & 64A & 66A, Deb11 64b-PC & PI2 3 4 w/ ILPER, VIDEO80, V41 & EMU71, DM41X, HP75D |
|||
10-20-2023, 11:56 AM
Post: #84
|
|||
|
|||
RE: (71B) FORTH questions
(10-20-2023 07:45 AM)floppy Wrote: first try.. (WEIRD)For some unknown reasons the HP-IL module do not extend the LIST and PLIST keywords to work with files on mass media. Like you did, you have to copy the file into the HP-71B memory and then LIST/PLIST the file. Sylvain Côté |
|||
10-20-2023, 12:32 PM
Post: #85
|
|||
|
|||
RE: (71B) FORTH questions
(10-20-2023 11:56 AM)Sylvain Cote Wrote:(10-20-2023 07:45 AM)floppy Wrote: first try.. (WEIRD)For some unknown reasons the HP-IL module do not extend the LIST and PLIST keywords to work with files on mass media. I've wondered why this limitation exists, and concluded that since the LIST & PLIST output is often directed to an output device (monitor, printer, virtual printer), traffic on the IL loop for simultaneously reading portions of the file INTO the 71B while also sending OUT of the 71B would be quite slow, if indeed not confused. Also, AFAIK, all loop-based file transfers are for the complete file at once, possibly for the same reason(s), but I'm just speculating. --Bob Prosperi |
|||
10-20-2023, 03:46 PM
(This post was last modified: 10-20-2023 03:52 PM by Sylvain Cote.)
Post: #86
|
|||
|
|||
RE: (71B) FORTH questions
(10-20-2023 12:32 PM)rprosperi Wrote:In theory it should be easy to do for a text file, the limitation is probably how list/plist is implemented.(10-20-2023 11:56 AM)Sylvain Cote Wrote: For some unknown reasons the HP-IL module do not extend the LIST and PLIST keywords to work with files on mass media.I've wondered why this limitation exists, and concluded that since the LIST & PLIST output is often directed to an output device (monitor, printer, virtual printer), traffic on the IL loop for simultaneously reading portions of the file INTO the 71B while also sending OUT of the 71B would be quite slow, if indeed not confused. For sure, the way file transfer is currently implemented, it is a lot more efficient to transfer the file into the 71B memory and then list/plist it. When you factor in the other files types, which in some cases include decoding logic, they probably took a step back and decided to leave it as it was. Sylvain Côté |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)