[NTLK] Dictionary transplant
Matej Horvat
matej.horvat at guest.arnes.si
Mon May 9 11:35:02 PDT 2022
Dictionaries are NewtonScript objects. There's a global variable called
"dictionaries" which is an array of all available dictionaries. Each is a
frame with some flags that describe the situations where the dictionary is
used (does it have common words, given names, month names, etc.) and a
binary object with the actual data. You probably only need to transplant
the latter; if you print out the whole array in the NTK Inspector, you
will see the relevant ROM addresses.
If you don't succeed in transplanting (for example because you can't fit
the German dictionaries into the space occupied by their English
counterparts), you can still extract the binary objects and put them into
a package - either as a "dict" part (which the OS will install
automatically; officially undocumented but reverse engineered by Paul
Guyot) or as an "auto" part where you'll need to write the installation
code yourself, but in the end it'll work the same. I describe the latter
method on my site (it should be the same for OS 2.x):
http://matejhorvat.si/en/newton/dict1x.htm
More information about the NewtonTalk
mailing list