English Amiga Board


Go Back   English Amiga Board > Requests > request.Other

 
 
Thread Tools
Old 30 January 2020, 01:04   #1
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 28
Convert boards.library to Sysinfo.boards?

Hopefully a future version of SysInfo will support boards.library one day but I don't know how much longer I can hold my breath hoping for it.

So while I wait I wonder if there exists a tool that can make a sysinfo.boards file from the boards.library? Or if someone feel they might be able to create one?
brian_p is offline  
Old 31 January 2020, 02:42   #2
Hewitson
Registered User
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 37
Posts: 3,544
Had a quick look into it, would require more time than I currently have as the lamers who wrote the library didn't include the source.
Hewitson is offline  
Old 31 January 2020, 06:10   #3
Minuous
Coder/webmaster/gamer
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,026
You could ask him for the source. He is still active in the community.
Minuous is offline  
Old 31 January 2020, 09:46   #4
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 28
Quote:
Originally Posted by Hewitson View Post
Had a quick look into it, would require more time than I currently have as the lamers who wrote the library didn't include the source.

I'm sorry to hear that. As one who can't program for shit if my life depended on it I though the include stuff in the archive at Aminet was all the sources needed.


Anyway, thank you for looking into it even if it didn't work out.
brian_p is offline  
Old 13 February 2020, 10:55   #5
patrik
Registered User
patrik's Avatar
 
Join Date: Jan 2005
Location: UmeƄ
Age: 39
Posts: 584
Created a small utility for this. It works by looping through all the manufacturers and products and asks boards.library for info about each of them and if present outputs them in SysInfo.boards format.

Usage:
Code:
1.> Boards2SysInfo >VeryLarge_SysInfo.boards
It takes quite a while to run, about 2h on an A3000 030@25MHz. The limit is a combination of the boards.library query speed plus that it has to ask for all possible combinations of manufacturer+product.

http://megaburken.net/~patrik/Boards2SysInfo.lha
patrik is offline  
Old 13 February 2020, 12:10   #6
dalek
Registered User

 
Join Date: Nov 2014
Location: NSW/Australia
Posts: 317
BoardsLib\Utilities\showboards

From the docs:
Quote:
A=ALLKNOWN: displays a (long) list of all expansions known to
boards.library.
So "showboards ALLKNOWN NOPAUSE" is all you need instead of repeatedly querying the library.

Last edited by dalek; 13 February 2020 at 12:41.
dalek is offline  
Old 13 February 2020, 13:19   #7
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 28
Quote:
Originally Posted by patrik View Post
Created a small utility for this. It works by looping through all the manufacturers and products and asks boards.library for info about each of them and if present outputs them in SysInfo.boards format.

Usage:
Code:
1.> Boards2SysInfo >VeryLarge_SysInfo.boards
It takes quite a while to run, about 2h on an A3000 030@25MHz. The limit is a combination of the boards.library query speed plus that it has to ask for all possible combinations of manufacturer+product.

http://megaburken.net/~patrik/Boards2SysInfo.lha

Incredible how you managed to fit the program into a single 512b block size! 16.7 millin requests to the lib... wow... makes a perfectly useable sysinfo.boards file in the end though it's painfully slow progress.
brian_p is offline  
Old 13 February 2020, 13:29   #8
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 28
Quote:
Originally Posted by dalek View Post
BoardsLib\Utilities\showboards

From the docs:


So "showboards ALLKNOWN NOPAUSE" is all you need instead of repeatedly querying the library.

ShowBoards output isn't easily converted to SysInfo.board but it does show that there is a faster way to get the info out of boards.lib rather than bombarding it with millions of requests like Boards2SysInfo do... I wonder how (hope it's not something silly like a list of known ManuID/ProdID).
brian_p is offline  
Old 13 February 2020, 21:21   #9
nogginthenog
Amigan

 
Join Date: Feb 2012
Location: London
Posts: 907
Quote:
Originally Posted by patrik View Post
Created a small utility for this. It works by looping through all the manufacturers and products and asks boards.library for info about each of them and if present outputs them in SysInfo.boards format.
You are a crazy genius
nogginthenog is offline  
Old 18 February 2020, 17:57   #10
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 28
I would like to thank patrik (and Marcus Gerards). Boards2SysInfo V2.1 cut down the creationtime of the SysInfo.boards file from several hours to just a couple of secounds on even the slowest of Amigas and that without going over 512B. Very impressive and much appriciated!
brian_p is offline  
Old 20 February 2020, 12:30   #11
bubbob42
Registered User
 
Join Date: Oct 2012
Location: Germany
Posts: 406
Quote:
Originally Posted by brian_p View Post
Boards2SysInfo V2.1 cut down the creationtime of the SysInfo.boards file from several hours to just a couple of secounds on even the slowest of Amigas and that without going over 512B.


@Hewitson: The library contains 3rd-party code, so the lamer can't share it. I'm deeply sorry.
bubbob42 is offline  
Old 20 February 2020, 13:44   #12
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 28
Quote:
Originally Posted by bubbob42 View Post


@Hewitson: The library contains 3rd-party code, so the lamer can't share it. I'm deeply sorry.
That might be, but even though Marcus Gerards might not be able to share the code for the library itself he did help tremendously by share other code on extracting data from the library much Much faster.
brian_p is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
New version of boards.library bubbob42 News 33 05 September 2017 09:51
HELP: Opus5, KingCON, SysInfo.library (Sysmon.library) triangle Michael support.Apps 6 10 March 2014 15:08
Found boards.library 2.31 on my Amiga harddrive not available elsewhere ancalimon request.Apps 21 01 March 2013 23:07
Boards Linebacker! Nostalgia & memories 9 14 August 2009 21:38
PPC boards, why? oldpx support.Hardware 10 24 April 2002 12:22

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:11.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.09954 seconds with 14 queries