Post Reply 
[FRAM71] Pre-Production Batch
05-08-2015, 01:44 AM (This post was last modified: 05-08-2015 02:23 AM by Dave Frederickson.)
Post: #107
RE: [FRAM71] Pre-Production Batch
(05-08-2015 12:03 AM)Christoph Giesselink Wrote:  
(05-07-2015 11:30 PM)Dave Frederickson Wrote:  I think we agree that the MEM format files need to be converted to HP71 TEXT (LIF1) when they're copied to LIF media.

I personally use a modified version of JFG's alifhdr to convert a DOS or UNIX style text file into a LIF1 text file with a 32byte LIF text file header ("alifhdr input_file LIF_file /T").

The resulting LIF_file then can be directly transferred with the ILDoslink device to a HP71 ("COPY :DOSLINK").

I prefer to not deal with files one at a time so I've updated the batch file from Post #2. It works as follows:
  • Binary ROM and EPROM images have the extension .bin. These files can be ROMCOPY'd from a LIF image into a 71 or mounted in Emu71.
  • Binary HC ROM files have the extension .rom. These may be mounted in Emu71 with their accompanying SC .bin file, but they will not be copied to the LIF image.
  • ASCII HC ROM files which need to be converted to LIF1 have the extension .mem
  • An empty 16Mb LIF image needs to be created. In this case it's named 16mb.lif
  • Put everything in an empty directory and execute the batch file. It requires a single arguement which is the name of the LIF image, i.e., HP71ROMS.lif.

Code:
@echo off
copy 16mb.lif %1 > nul
if exist *.bin copy *.bin *.#E21C > nul
echo.
FOR %%f IN (*.#E21C) DO (
    echo %%~nf :
    HPDir -add %1 %%f
    echo.
    IF %%~zf == 16384 HPDir -attrib -aux 800100800000 %1 %%~nf
    IF %%~zf == 32768 HPDir -attrib -aux 800100000100 %1 %%~nf
    IF %%~zf == 49152 HPDir -attrib -aux 800100800100 %1 %%~nf
    IF %%~zf == 65536 HPDir -attrib -aux 800100000200 %1 %%~nf
)
DEL *.#E21C
FOR %%f IN (*.mem) DO (
    echo %%~nf :
    copy %%f %%~nf.txt> nul
    HPDir -add -c %1 %%~nf.txt
    del %%~nf.txt
)

This creates a LIF image with all the binary ROM images, which can be loaded with ROMCOPY, and all the HC ROM images in 71B TEXT format.

Then all that's needed is to mount the one LIF image in ILPer. Like this: HP71ROMS.lif Here's the contents:
Code:
>CAT :2
   NAME    S TYPE   LEN    DATE    TIME 
JPCF01       ROM   32768 01/00/00 00:00 
SFTFORTH     ROM   65536 01/00/00 00:00 
JPCE01       ROM   49152 01/00/00 00:00 
JPCF03       ROM   32768 01/00/00 00:00 
JPCX         ROM   32768 01/00/00 00:00 
JPCD         ROM   32768 01/00/00 00:00 
JPCE1        ROM   32768 01/00/00 00:00 
FORTHROM     ROM   16384 01/00/00 00:00 
TRANS41      ROM   16384 01/00/00 00:00 
MATHROM      ROM   32768 01/00/00 00:00 
AMP04        ROM   65536 01/00/00 00:00 
AMP01        ROM   32768 01/00/00 00:00 
AMP02        ROM   65536 01/00/00 00:00 
AMP02A       ROM   65536 01/00/00 00:00 
AMP03        ROM   65536 01/00/00 00:00 
FIREB        ROM   49152 01/00/00 00:00 
CMT32KE      ROM   32768 01/00/00 00:00 
SUPRSURV     ROM   65536 01/00/00 00:00 
DATACOMM     ROM   16384 01/00/00 00:00 
SURVEY       ROM   16384 01/00/00 00:00 
DATAMGMT     ROM   32768 01/00/00 00:00 
HP71DEMO     ROM   16384 01/00/00 00:00 
ZENWAND      ROM   16384 01/00/00 00:00 
WB71         ROM   32768 01/00/00 00:00 
AMPISTAT     ROM   32768 01/00/00 00:00 
DATACQ       ROM   65536 01/00/00 00:00 
HPIL1B       ROM   16384 01/00/00 00:00 
CURVEFIT     ROM   32768 01/00/00 00:00 
TEXTEDIT     ROM   16384 01/00/00 00:00 
FINANCE      ROM   16384 01/00/00 00:00 
CIRCUIT      ROM   16384 01/00/00 00:00 
HPIL1A       ROM   16384 01/00/00 00:00 
HRDFTH41     TEXT  67840 01/00/00 00:00 
HRDFORTH     TEXT  67840 01/00/00 00:00 
SYS1BBBB     TEXT   135K 01/00/00 00:00 
DIAG71       TEXT   135K 01/00/00 00:00 
SYS2CDCC     TEXT   135K 01/00/00 00:00

Here are the file descriptions:

[Image: ROM%2BDescriptions%2B.jpg]

Thanks go to Sylvain and Bob for the ROM images. Special thanks to J-F Garnier for the Diag ROM image and many of the EPROM images.

Dave
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ROM Images - Dave Frederickson - 12-10-2014, 03:51 AM
IRAM vs ROM - Dave Frederickson - 12-13-2014, 06:36 PM
ROMCOPY - Dave Frederickson - 12-20-2014, 08:59 PM
[FRAM71] Bankswitching? - Hans Brueggemann - 02-07-2015, 06:55 PM
v430 beta - Dave Frederickson - 02-16-2015, 06:09 AM
RE: [FRAM71] Pre-Production Batch - cruff - 02-11-2015, 11:45 PM
v430 beta - Dave Frederickson - 02-17-2015, 05:14 AM
v430 beta - Dave Frederickson - 02-27-2015, 05:20 AM
1MByte FRAM71 - Dave Frederickson - 03-14-2015, 09:18 PM
RE: [FRAM71] Pre-Production Batch - Gene - 03-15-2015, 02:04 AM
V501 Firmware woes - Hans Brueggemann - 04-23-2015, 07:12 PM
Eagerly awaiting mine - cruff - 04-24-2015, 12:40 AM
RE: [FRAM71] Pre-Production Batch - cruff - 04-24-2015, 12:53 PM
Received my FRAM71 today! - cruff - 04-25-2015, 07:03 PM
RE: [FRAM71] Pre-Production Batch - cruff - 04-26-2015, 12:27 PM
RE: [FRAM71] Pre-Production Batch - Dave Frederickson - 05-08-2015 01:44 AM
RE: [FRAM71] Pre-Production Batch - Erwin - 10-04-2016, 08:28 PM
MEMBUF - Dave Frederickson - 05-13-2015, 02:50 AM
FRAM71 V502 - Hans Brueggemann - 05-16-2015, 04:02 PM
RE: [FRAM71] Pre-Production Batch - Erwin - 01-02-2016, 08:13 AM
RE: [FRAM71] Pre-Production Batch - Oulan - 06-03-2015, 02:10 PM
RE: [FRAM71] Pre-Production Batch - Oulan - 06-03-2015, 03:47 PM
RE: [FRAM71] Pre-Production Batch - Oulan - 06-05-2015, 09:44 AM
RE: [FRAM71] Pre-Production Batch - Oulan - 06-08-2015, 07:13 AM
FlashPRO - Dave Frederickson - 06-11-2015, 03:42 PM
RE: [FRAM71] Pre-Production Batch - cruff - 06-13-2015, 12:04 PM
RE: [FRAM71] Pre-Production Batch - cruff - 06-15-2015, 11:22 PM
Blinkin' Lights - Dave Frederickson - 07-15-2015, 03:07 AM
FRAM71 LED - Hans Brueggemann - 07-16-2015, 11:47 AM
RE: [FRAM71] Pre-Production Batch - Andres - 01-25-2016, 10:40 PM
RE: [FRAM71] Pre-Production Batch - Erwin - 10-04-2016, 08:46 PM
RE: [FRAM71] Pre-Production Batch - Erwin - 10-04-2016, 09:04 PM



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