[NTLK] (no subject)
Matthias Melcher
m.melcher at robowerk.de
Tue Feb 22 10:47:11 PST 2022
Thank, got it. Very helpful.
> On 22. Feb 2022, at 18:29, NewtonTalk <newtontalk at pda-soft.de> wrote:
>
>> Before I dive aimlessly into the DCL source code: can anyone explain to me
> how the Package
>> file is modified to run on the Watson? newt/0 can create read-to-run
> package files for
>> NewtonOS 2.x. Maybe I can add the option to make the Watson compatible
> right into newt/0.
>
> Quoting Paul:
>
> "To make sure your package can be loaded by Watson units, you need to add
> the signature, typically with the WatsonEnabler command line tool I built."
>
> Amazingly, the file with the added signature is smaller than the original
> file. The original file is 129490 bytes, the Watson-enabled file is 124308
> bytes.
>
> Using my newly acquired Linux skills by invoking Ubuntu's built-in hexdump
> program, I can see that the end of the Watson-enabled package is the \0
> terminated string "xxxxSLB0Schlumberger Industries".
>
> This string can be found in WatsonEnabler.cpp. Not being a C++ programmer, I
> can only guess that this string is used to create an instance of
> TDCLPkgPart.cpp, which then by some magic is added to the package. There'll
> probably be some checksum lurking somewhere that needs to be adjusted,
> too...
>
> For what it's worth...
>
> Frank
More information about the NewtonTalk
mailing list