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. Code: 10 ! 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: A$[J,J]=CHR$(255-NUM(A$[J,J]) But COMP$ is much faster. J-F |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)