I just did a small test and it is working!
- download and install HP82240B v1.16 printer simulation
- download and install LIF Utilities
- plug the serial cable between the 41CL and your computer
- 41CL basic configuration (adjust for your setup)
Code:
MMUDIS // disable MMU
MMUCLR // clear MMU configuration
"YFNX" // 41CL Extreme Functions (1 page, 1 bank)
PLUG1L // map ROM image to page 8
"YPRT" // 41CL Serial Printer (1 page, 2 banks)
PLUGP // map ROM images to page 6
Code:
MMUEN // MMU enable
SERINI // init serial port
48 // communication speed
PBAUD // set baud rate to 4800
- computer side
- run: HP82240B.exe
- menu: File / Settings / Interface Setup ...
- set the COM port to COM_, baud rate to 4800 , parity to none
- set Active to COM
- set Printer Type to HP-82143A
- select EOL Suppress
- 41CL side
Code:
// power cycle → OFF then ON
FS? 55 // should display YES , if NO then power cycle until it become YES or review your configuration
"HELLO WORLD"
PRA // should display HELLO WORLD in the HP-82143A simulator output window
PRP "MYPROG" // should display the program listing in the HP-82143A simulator output window
- Computer side
- copy & paste the program listing into a plain text editor
- for all lines: remove line prefix → (line number and space) or (line number and label special character)
- save text file (ex.: myprog.txt)
- create raw file with lifutils FOCAL compiler
Code:
comp41 <myprog.txt >myprog.raw
edit: typos and added details