Connect HP41 to Apple
|
12-15-2023, 05:09 AM
(This post was last modified: 12-15-2023 04:18 PM by Sylvain Cote.)
Post: #2
|
|||
|
|||
RE: Connect HP41 to Apple
Hello Peter,
To transfer files between the HP-41 and my MacBook Pro intel, I use the following:
Create a LIF volume file of 128KB that can hold a maximum of 64 files Code: lifinit -z -m cass tape01.dat 64 Set LIF volume name to TAPE01 Code: liflabel tape01.dat TAPE01 Show lif volume catalog Code: lifdir tape01.dat Code: Volume : TAPE01 , formatted : 14/12/23 23:00:00 In pyILPER,
Transfer HP-41 program(s) from the computer to the HP-41 Computer side Write your program in a text file Ex.: cat hello.txt Code: LBL "HELLO" Compile the HP-41 program from a text file to a raw file Code: comp41 <hello.txt >hello.raw Add a lif header with a name Code: raw41lif HELLO <hello.raw >hello.lif Add lif file to the lif volume Code: lifput tape01.dat hello.lif Show lif volume catalog Code: lifdir tape01.dat Code: Volume : TAPE01 , formatted : 14/12/23 23:00:00 HP-41 side Read HELLO program from tape to main memory Code: "HELLO" Transfer HP-41 program(s) from the HP-41 to the computer HP-41 side save WORLD program from main memory to tape Code: "WORLD" Computer side Catalog lif volume Code: lifdir tape01.dat Code: Volume : TAPE01 , formatted : 14/12/23 23:00:00 Save WORLD program to a raw file Code: lifget -r tape01.dat WORLD world.raw Decompile the HP-41 program from a raw file to a text file Code: decomp41 <world.raw >world.txt cat world.txt Code: LBL "WORLD" Transfer HP-41 ROM from the computer to the HP-41 Computer side Show ROM content Code: rom41cat <math.rom Code: XROM 01,00 Entry = 0068 (Mcode) -MATH_1D Convert ROM file to ERAMCO Code: rom41er MATH1D <math.rom >math.lif Add ROM lif file to the lif volume Code: lifput tape01.dat math.lif Catalog lif volume Code: lifdir tape01.dat Code: Volume : TAPE01 , formatted : 14/12/23 23:00:00 HP-41 side load MATH1D ROM from tape to rambox page Code: "MATH1D" // ROM filename Transfer HP-41 ROM from the HP-41 to the computer HP-41 side Save a ROM page from rambox page to the tape Code: "MYROM" // ROM filename Computer side Catalog lif volume Code: lifdir tape01.dat Code: Volume : TAPE01 , formatted : 14/12/23 23:00:00 Get MYROM ROM from lif volume to a ROM file in ERAMCO format Code: lifget -r tape01.dat MYROM myrom.er Convert the ERAMCO file to a ROM file format Code: er41rom <myrom.er >myrom.rom Show ROM content Code: rom41cat <myrom.rom Code: ... edit: add more information for pyILPER Sylvain Côté |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Connect HP41 to Apple - PeterP - 12-14-2023, 06:37 PM
RE: Connect HP41 to Apple - Sylvain Cote - 12-15-2023 05:09 AM
RE: Connect HP41 to Apple - Bill Duncan - 12-16-2023, 12:52 AM
RE: Connect HP41 to Apple - Sylvain Cote - 12-16-2023, 12:57 AM
RE: Connect HP41 to Apple - PeterP - 12-15-2023, 02:31 PM
RE: Connect HP41 to Apple - hesc - 01-20-2024, 12:29 PM
RE: Connect HP41 to Apple - Sylvain Cote - 01-24-2024, 01:59 AM
RE: Connect HP41 to Apple - hesc - 01-22-2024, 06:57 PM
RE: Connect HP41 to Apple - floppy - 01-24-2024, 10:33 AM
RE: Connect HP41 to Apple - Sylvain Cote - 01-23-2024, 01:24 PM
RE: Connect HP41 to Apple - hesc - 01-23-2024, 05:45 PM
RE: Connect HP41 to Apple - hesc - 01-24-2024, 02:55 PM
|
User(s) browsing this thread: 2 Guest(s)