Post Reply 
Hand Held Products 71M/M eprom carrier question
09-08-2020, 06:54 PM
Post: #22
RE: Hand Held Products 71M/M eprom carrier question
(09-08-2020 01:20 PM)coitboy2000 Wrote:  I thought there may have been an easier way on the PC and one that does not require the forth rom. Can the procedure be done using emu71 ?

Of course there is a simple way, using Emu71. And it's more fun and in the spirit of the HP-71B system :-)

The Intel hex format was commonly used at the time when the EPROM programmers were linked by RS232. Now, most modern programmers accept raw binary files (mine does), I guess this is what you are using too since you spoke about a .bin file coming from Emu71.

In that case, the nibbles are already in the right order in the .bin file, it is just needed to complement the bytes.

The following HP-71B/Emu71 program does it using the DOSLINK device (use ILPer with the HP-71B or Emu71/Win), it reads the input file bytes, complement them and write them back to the output file.
In Emu71/DOS, the DOSLINK input and output files are hardcoded as emu_in.dat and emu_out.dat so copy your source .bin file to emu_in.dat; in ILper you can choose the files.

10 ! 
20 ! uses COMP$ from STRBOOL or ULIB52 LEXs
30 DIM A$[256]
60 FOR I=1 TO 128
80 ENTER :D USING "#,256A";A$
90 OUTPUT :D USING "#,256A";COMP$(A$)
100 NEXT I
110 CLEAR :D

If you don't have or don't want to load the STRBOOL or ULIB52 LEX, you can replace the COMP$ keyword with a loop to complement each byte of A$ with something like:
But COMP$ is much faster.

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Hand Held Products 71M/M eprom carrier question - J-F Garnier - 09-08-2020 06:54 PM

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