General question about versions and ROM...

  • Thread starter Thread starter mfilos
  • Start date Start date
  • Replies Replies 8
  • Views Views 1546

mfilos

Extr3m3ly l33t
Joined
Mar 17, 2008
Posts
2,424
Country
Greece
Region
Glyfada/Athens
Hey guys I had a question for some time now that I can't answer with my little knowledge on the OS :)

First of all, you all know I have a custom ROM with lotsa shit in in.
In the ROM I've also included datatypes.library version 44.48 (while the old one was 44.47). I also renamed the old datatypes.library from Libs: just to be sure that the correct library is being loaded from the ROM.

- When I boot with the custom ROM, I check from CLI the version and correctly the version outputs 44.48 (which is the one I inserted to the ROM).
So far so good.
- As I said under Libs: there's no datatypes.library (as I renamed it) but typing version libs:datatypes.library ouputs me a 44.47!!! OK... WTF? where did that came from?

Check the following screenshots including version outputs and the output from SysInfo...
All other libraries and stuff in the ROM output just fine but had question about that (althougt it shows the correct version in CLI).
 

Attachments

  • DatatypesLibWTF1.png
    DatatypesLibWTF1.png
    39.9 KB · Views: 3
  • DatatypesLibWTF2.png
    DatatypesLibWTF2.png
    10.8 KB · Views: 4
That's a hard one. Can you rename the library to something totally unrelated, power down the Amiga and then reboot from cold boot to see if the behaviour occurs again?
 
It has nothing to do with it (my initial rename was "!datatypes.library").
On a simililar question yesterday to PeterK (the creator of the new Icon.library) here: http://eab.abime.net/showpost.php?p=747337&postcount=48 I got the following response from him:

The version command has a different behaviour concerning the version of libraries which are installed in memory and running in the system and those which are stored in the filesystem. And there are also different version commands, of course. Type 'Version ?' into a shell for the syntax. If you type just 'Version xy.library' then you get the internal version of the installed library. If you type 'Version Libs:xy.library' you should get the version of the stored library. You cand also add FILE or FULL as arguments. With FULL the complete $VER: versionID string should be displayed, with copyright, date, build revision or whatever info is available.

Well at least, that, explained me some stuff :)

Anyway thanks mate. I guess Amiga has a logic of it's own in some matters. At least I'm not feeling utter n00b for not understanding it - lol
 
In fact, what happens if you remove the library from the LIBS: drawer entirely?
 
@AndyLandy
No difference my friend. It would be too weird if it did actually.

Just take another (more informative screenshot to understand better lol)
 

Attachments

  • WeirdVersioning.png
    WeirdVersioning.png
    19.6 KB · Views: 5
on that last example you did`t flush the libs out of memory

have you still the add datatypes in your startup-sequence ??
 
on that last example you did`t flush the libs out of memory
I don't understand what you mean :)
Tbh, in last example I forgot to issue also a Version icon.library just to see the same output (since icon.library resides in the ROM).
I only gave the second example just to see that in the ROM files it shows just 46.4 while in the original files is shows fully 46.4.198

have you still the add datatypes in your startup-sequence ??
I never had any ADD datatypes command in my S-S.
 
once you open a libary or device it stays in memory unless you flush it with avail commad or something similar

though this still dosn`t explain the strange behaviour

might be worth askin peterk if he uses any function from the datatypes.libary in his icon.libary

edit just rereading your kickstart burn your own rom thread, is Datatypes.library 44.48 still in your rom ??
https://www.amibay.com/showpost.php?p=154100&postcount=26
 
Yep 44.48 is still on the ROM (as you can see from my screenshot above - the first blue rectangle once I give "version FULL datatypes.library").
I just couldn't understand why despite the above command gives the correct version, version libs:datatypes.library along with SysInfo gives the 44.47 one :S
 
Back
Top Bottom