Post Reply 
HP-71 Compu-LS module
03-26-2017, 02:08 PM
Post: #121
RE: HP-71 Compu-LS module
(03-26-2017 11:51 AM)twa14 Wrote:  I see that you are using a COMPU.TXT file and not a COMPU.DAT File.

What is COMPU.DAT?

It's important to keep track of and to define the various file types. .DAT is the file type found is the LIF disc archives. The SWAP archive contains LIF files that have been extracted from the disc archives. The tool that extracted the files leaves the 32-byte LIF file header prepended to the data and file extensions have been defined for those file types:
http://ftp.ftp.hpmuseum.org/lif/swap/0readme
However, the tool converted the LIF1 text files to DOS text files and removed the file header, so the *.t71 files are really DOS text, as if it wasn't confusing enough.

Is COMPU.DAT the LIF disc image you created using HPDir? That's how I started. Notice I copied the file into the 71 from :2, the first emulated mass storage device.

Dave
Find all posts by this user
Quote this message in a reply
03-26-2017, 04:02 PM
Post: #122
RE: HP-71 Compu-LS module
(03-26-2017 11:51 AM)twa14 Wrote:  Its working !!!, I followed Bob's advice in his email to me. I did get an "error syntax" following the transform but the basic program is in EMU71\win memory. I have no idea what I did wrong the first and second times. Anyway thanks again to both of you for all your help. The text file is 46848 bytes and the Basic file 32670 bytes

Great news, glad it's working.

Did you make some changes to the program? I ask because your resulting program size is slightly different than what Dave and I both got, and I'd expect the BASIC file to be the exact same if there were no changes, even though the '71 Text file size could vary as explained earlier.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
03-26-2017, 07:07 PM
Post: #123
RE: HP-71 Compu-LS module
Dave\Bob

I made no changes so its still a bit of a mystery, I am going to go back over the whole process from the beginning to put together a NOOBS method for using the PIL-BOX. I still have to make the COMPU_LS examples scan, you will get it next week

Dave asked what COMPU.DAT file was, that was the file produced by the alihdr32 program
Find all posts by this user
Quote this message in a reply
10-16-2023, 01:50 PM (This post was last modified: 10-16-2023 04:27 PM by floppy.)
Post: #124
RE: HP-71 Compu-LS module
(03-23-2017 12:32 AM)Christoph Giesselink Wrote:  Execute "ALIFHDR FOO.TXT FOO.DAT /T". This converts the ASCII file FOO.TXT into a LIF1 file FOO.DAT.
Is there any linux command for this?

For any reason I cannot reproduce the use of alifhdr with wine.

The file I want to transfer to the HP71B has 43 lines. Perhaps there is a limitation in the number of lines?

in a terminal

env WINEPREFIX="/home/user/.wine" wine-stable C:\\\\windows\\\\command\\\\start.exe /Unix "/home/user/.wine/drive_c/Program Files (x86)/HP-Emulators/alifhdr32/alifhdr.exe" "H:\\programming\hp71b\SNAKE\SNAKE.SRC" "H:\\programming\hp71b\SNAKE\SNAKE.DAT /T"
00a2:err:seh:setup_exception_record stack overflow 816 bytes in thread 00a2 eip 7bc5731e esp 00221000 stack 0x220000-0x221000-0x320000

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
Find all posts by this user
Quote this message in a reply
10-16-2023, 07:23 PM
Post: #125
RE: HP-71 Compu-LS module
(10-16-2023 01:50 PM)floppy Wrote:  
(03-23-2017 12:32 AM)Christoph Giesselink Wrote:  Execute "ALIFHDR FOO.TXT FOO.DAT /T". This converts the ASCII file FOO.TXT into a LIF1 file FOO.DAT.
Is there any linux command for this?

Joachim's LIFUTILS run under linux.
https://github.com/bug400/lifutils

pyILPER can be used as a "front end" for LIFTUILS which I find very convenient.
Find all posts by this user
Quote this message in a reply
10-17-2023, 07:59 AM (This post was last modified: 10-17-2023 08:18 AM by floppy.)
Post: #126
RE: HP-71 Compu-LS module
+1

Code:
unix2dos -v SNAKE.SRC
unix2dos -v H71B1.SRC

Code:
textlif SNAKE <SNAKE.SRC > SNAKE.lif
Code:
lifput /media/user/ILPERSTO/HDRIVE16.DAT SNAKE.lif
Code:
lifdir /media/user/ILPERSTO/HDRIVE16.DAT

Volume : , formatted : 19/04/23 17:00:00
Tracks: 125 Surfaces: 8 Blocks/Track: 64 Total size: 64000 Blocks, 16384000 Bytes
PERE12 TEXT 768/768 31/05/23 12:58:35
SNAKE TEXT 1792/1792 16/10/23 19:39:54
H71B1 TEXT 768/768 16/10/23 19:40:45
3 files (160 max), last block used: 34 of 64000


looks better. In EMU71 connected with ILPER i see :

>(Basic prompt)
Code:
CAT :HDRIVE1

NAME S TYPE LEN DATE TIME
PERE12 TEXT 768 05/31/23 12:58
SNAKE TEXT 1792 10/16/23 19:39
H71B1 TEXT 768 10/16/23 19:40

(when scrolling with the down key).

Probably it worked: H71B1 is there and was uploaded with
Code:
cat H71B1.SRC | textlif H71B1 | lifput /media/user/ILPERSTO/HDRIVE16.DAT
but I did not scroll with the down key therefore all files were not showned.

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
Find all posts by this user
Quote this message in a reply
Post Reply 




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