by jeffcalc » Mon Nov 18, 2019 9:29 am
Thanks for your work and sharing it.
It's a long time since I played with the ERAMCO RSU (in emu41, cause I don't have the real hardware).
The RSU is quite specific and I'm not sure there are still many RSU user here (are there?).
Some coments:
- It seems to me that it is perfectly possible to print records longer than 24 characters, with the native XMEM GETREC and the HP-IL OUTA. These functions work with the flag 17 to indicate if a end of record (cr-lf) is found/needed. This is what was done in the link I indicated above, with the PRFLAS proposed by dayd, that uses the printer ACA/PRBUF to send to a printing device but OUTA can be used instead (and would be simpler).
And my INFLAS (needs the X-IO module) is a solution for importing a text file with records (==lines) possibly longer than 24 characters.
- about DOSLINK (since I'm the original creator of DOSLINK, first in Emu41/71 then in ILPer):
DOSLINK basically manages the data in binary mode, that is it never adds or removes cr-lf by its own, so you have full control of the cr-lf.
DOSLINK is a sequential character interface, you can't position a 'pointer' to go back or forth in the data stream (think to RS232). But you can 'rewind' it to beginning of file by sending a HP-IL CLEAR command (HP41 X-IO CLRDEV or CLRLOOP), in this way you can read again an input file, or re-write an output file with new data.
J-F