English Amiga Board


Go Back   English Amiga Board > Requests > request.Other

 
 
Thread Tools
Old 30 January 2020, 00:04   #1
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 31
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, 01:42   #2
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
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, 05:10   #3
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
You could ask him for the source. He is still active in the community.
Minuous is online now  
Old 31 January 2020, 08:46   #4
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 31
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, 09:55   #5
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: UmeƄ
Age: 43
Posts: 922
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, 11:10   #6
dalek
Registered User
 
Join Date: Nov 2014
Location: NSW/Australia
Posts: 462
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 11:41.
dalek is offline  
Old 13 February 2020, 12:19   #7
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 31
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, 12:29   #8
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 31
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, 20:21   #9
nogginthenog
Amigan
 
Join Date: Feb 2012
Location: London
Posts: 1,309
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, 16:57   #10
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 31
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, 11:30   #11
bubbob42
Registered User
 
Join Date: Oct 2012
Location: Germany
Posts: 585
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, 12:44   #12
brian_p
Registered User
 
Join Date: Mar 2019
Location: Sweden
Posts: 31
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 08:51
HELP: Opus5, KingCON, SysInfo.library (Sysmon.library) triangle Michael support.Apps 6 10 March 2014 14:08
Found boards.library 2.31 on my Amiga harddrive not available elsewhere ancalimon request.Apps 21 01 March 2013 22:07
Boards Linebacker! Nostalgia & memories 9 14 August 2009 20:38
PPC boards, why? oldpx support.Hardware 10 24 April 2002 11: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 09:40.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.37539 seconds with 15 queries