The other night, I figured out what execPrivate17() does, and to be honest, I`m left scratching my head over it`s use in OS3.5 and 3.9.
For those that don`t know, that function tries to initialise a rom resident library from an array of library names in exec.
eg, you tell it to init #2, and it`ll scan the array for the second name, and try and run that libraries init code if it isn`t already running. (It also has a 2nd function, it`ll return a line from the copyright statement if you pass it the complement of the #line you want)
Anyhow.. in 3.1, there were 8 names, and in the 3.9 exec(dunno about 3.5 havent looked yet)that has grown to 10 (added graphics and layers)..BUT, the new names are added to the front of the list.
I found this out the hard way, trying to figure out why some roms I built combining 3.1 parts mixed with 3.9 parts wouldn`t boot.. turns out, some 3.1 parts were calling this private function and getting the wrong library base
eg, it wanted intuitionbase, but actually got graphicsbase and thinking it was a success, tried calling intuition functions with graphicsbase in a6 :pissed:
So what I`m really asking, is does anyone know why they added them to the front instead of the end of the list?
Edit..
And while I`m here, does anyone know what debugger uses a port called "LLOG"?