HP Forums
Library 4 update on 10/2/2012 ? - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Library 4 update on 10/2/2012 ? (/thread-232440.html)



Library 4 update on 10/2/2012 ? - Gene Wright - 10-04-2012

What changed in the rom and the documentation?

Edited: 4 Oct 2012, 10:08 p.m.


Re: Library 4 update on 10/2/2012 ? - Ángel Martin - 10-05-2012

Hi Gene, no changes but additions - as it now also supports the SandMath_44 and the PowerCL_4B (four banks).

Besides adding some new math routines the library now also has the Sub-function catalog and execution code, used by both the SandMath and the PowerCL to access the functions in the "hidden" FAT's. There's a writeup in the articles section, and I should prepare an attachment to the manuals in a few days.

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=1195

For the other modules you can continue to use the previous version. It is of course 100% backwards compatible so as a rule, "the latest the best" will work.

Cheers,
'AM

Edited: 5 Oct 2012, 3:19 a.m.


Re: Library 4 update on 10/2/2012 ? - John Abbott (S. Africa) - 10-09-2012

Hi Angel, once again thanks for all your efforts in providing the community with these great updates :-)
I have downloaded Library4 from TOS, but cannot seem to convert the MOD file to ROM. Is it possible to include the ROM file as well?
Best regards
John


Re: Library 4 update on 10/2/2012 ? - Ángel Martin - 10-09-2012

Hi John, so we're back at this issue - obviously the MOD2ROM progam isn't prepared to deal with "strange" ones like the Library#4 (with XROM id#=35, for starters...).

I'll send the ROM file for posting, and if I still have your email adr will CC: you as well.

Cheers,
ÁM

Edited: 9 Oct 2012, 8:17 a.m. after one or more responses were posted


Re: Library 4 update on 10/2/2012 ? - John Abbott (S. Africa) - 10-09-2012

Thanks Angel, much appreciated. Really keen to install Library4 and the revised SandMath module.
Best Regards
John


Re: Library 4 update on 10/2/2012 ? - Michael Fehlhammer - 10-09-2012

I studied the source code of MODFileWin.
The reason why it can't handle the LIBRARY4.mod file is quite simple:
When creating the .rom file, the extract_roms routine builds the file name from the given file name in the description in the MOD header ("ROM NAME"). Angel put the string "n/a" there, and that of course isn't a valid file name. The routine doesn't check for correct file names, instead it doesn't write any file.
So you can simply edit LIBRARY4.mod using a hex editor and change the name at offset 02D9. For example, change "n/a" to "LIB4", run MODFileWin.exe on the modified file, and you will receive your LIB4.rom output file.
Of course I also can send the .rom file to anyone who provides his email address.


Re: Library 4 update on 10/2/2012 ? - John Abbott (S. Africa) - 10-10-2012

Thank you Michael. I have had this problem with other MOD files, and now have the solution thanks to you.
Best Regards
John


Re: Library 4 update on 10/2/2012 ? - Ángel Martin - 10-10-2012

Hi guys, I sent you the ROM file in separate emails anyway.

Well thanks Michael - I thought the issue had to do with the "#" character but it appears it's as simple as giving it a proper internal name. BTW I always use the MLDL2k_Manager to edit the MOD and ROM files, you can change the data very easily with it (no, it doesn't need the MLDL hardware at all).

Cheers,
'AM


Re: Library 4 update on 10/2/2012 ? - John Abbott (S. Africa) - 10-10-2012

Thanks Angel, I have received the files. Much appreciated.
Cheers, John


Re: Library 4 update on 10/2/2012 ? - Michael Fehlhammer - 10-10-2012

Thank you for the hint about MLDL2k-Manager, Angel!
Seems to be a really useful tool, even providing a disassembler, among many other benefits.


Re: Library 4 update on 10/2/2012 ? - Ángel Martin - 10-11-2012

Yes I use its disassembler all the time, it´s peerless to compile ROM modules. BTW the System DEMO ROM is making progres... to be continued.