English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 12 October 2015, 15:22   #1
rbm
Registered User
 
Join Date: Jul 2013
Location: CAT
Posts: 60
AmigaOS ROM Update

Anyone knows how can create a new "AmigaOS ROM Update" files ? I am using the attached one, downloaded some years ago and would like to do a new one using new libraries and modules available.
I have used Remus to make new ROMS but i think ROM updates is not possible. Or maybe yes ...
Attached Files
File Type: lha execlibrary_4524.lha (1.62 MB, 481 views)
rbm is offline  
Old 12 October 2015, 19:04   #2
HanSolo
Registered User
 
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 162
This is a old patch for "amiga rom update" by Cosmo. He make this by reverse engineering, with Remus you cant do that.The guy currently decided not to share his work with others.
HanSolo is offline  
Old 12 October 2015, 19:28   #3
rbm
Registered User
 
Join Date: Jul 2013
Location: CAT
Posts: 60
For anyone interested, this is the latest available exec library.

I can not get it to work in a new ROM. Only works using the command loadresident.
Attached Files
File Type: lha exec.library_45.25.26.lha (10.9 KB, 396 views)
rbm is offline  
Old 12 October 2015, 20:37   #4
HanSolo
Registered User
 
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 162
The lastest is 45.25.30, if you try to create 1mb kickstart you need romheader by cosmo.Also if you use custom kickstart you must delete/move devs:amiga rom update.
HanSolo is offline  
Old 29 October 2015, 21:26   #5
rbm
Registered User
 
Join Date: Jul 2013
Location: CAT
Posts: 60
This is my attempt to do a fully updated AmigaOS ROM Update (A4000) using the latest free available modules and libraries.

This version installs the following list and boot and works fine with UAE:

exec.library_45.24
battmem.resource_40.0
bonus_40.2(A4000)
bootmenu_44.7(68020)
cia.resource_40.0
console.device_44.10
disk.resource_38.1
dos.library_42.2
FileSystem.resource_46.0
filesystem_45.16
graphics.library_40.26b3
input.device_50.26
intuition.library_40.86b7
layers.library_45.24
mathffp.library_41.0
mathieeesingbas.library_41.1
misc.resource_38.0
morelibspace_module_47.1
potgo.resource_38.0
ram-handler_44.24
ramlib_41.0
scsi.device_46.0(A4000)
shell_45.27
trackdisk.device_40.2
utility.library_41.0
workbench.library_45.134
Kingcon-handler_40.4
happy-env.handler_1.3

Available for download as a patch file because include some modules from the ROM Update 44.57 (bb2).

I had also to include the Happy-Env handler because it is the only solution found to avoid the "Insert volume ENV in any drive" message caused by the King-Con handler when booting.

The exec.library used is the version 45.24 because any other version 45.25 fails to boot causing a yellow screen continous reboot.

Installation using spatch:

extract the file wherever in the Amiga HD.
rename "DEVS:AmigaOS ROM Update" "DEVS:AmigaOS ROM Update.bb2"
spatch -oDEVS:AOS -pAOS_4461.pch "DEVS:AmigaOS ROM Update.bb2"
rename "DEVS:AOS" "DEVS:AmigaOS ROM Update"
Attached Files
File Type: lha AOS_4461.lha (393.5 KB, 433 views)
rbm is offline  
Old 30 October 2015, 07:24   #6
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
It would be really cool to have a program (even a simple CLI one) that could build "DEVS:AmigaOS ROM Update" files with user selectable modules.

Not everyone has an eprom burner you know

Hopefully some day, someone with the skills creates it.
gulliver is offline  
Old 30 October 2015, 15:53   #7
rbm
Registered User
 
Join Date: Jul 2013
Location: CAT
Posts: 60
Yes, would be great if someone creates a tool, but meanwhile isn´t difficult to do with a hex editor bearing all of this in mind:

The "AmigaOS ROM Update" file is composed of the index, separators and modules.

The first block is the index, and the size will depend of the quantity of modules included.

The first index word contains the quantity of modules included.

The second index word points to the end address + 1 of the index block.

Each one of the next index words point to the end address + 1 of each module (in order).

The index block and all modules are separated by 16 blank bytes.

The first module must be the "ROM update" module (from bb2 or any other from cosmos, doesn´t matter all are the same) and the second must be the "exec.library" if included.

It´s that easy !
rbm is offline  
Old 30 October 2015, 16:20   #8
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
Quote:
Originally Posted by rbm View Post
It´s that easy !
How do you tell it for which Amiga model a module is? The original ROM update contains several scsi.device, one for each Amiga model.
thomas is offline  
Old 30 October 2015, 17:25   #9
rbm
Registered User
 
Join Date: Jul 2013
Location: CAT
Posts: 60
OK. Easy if you do it for a specific Amiga model.
rbm is offline  
Old 30 October 2015, 21:30   #10
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
Quote:
Originally Posted by rbm View Post
OK. Easy if you do it for a specific Amiga model.
Easy for you

Whilst I understand the concept, in practice it is chinese for me

@Thomas

Is there a slight chance, you could be so kind to aproach a solution to this?

I bet lots of users could benefit from such a useful tool.

There is no shame in asking
gulliver is offline  
Old 30 October 2015, 23:04   #11
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
For quite a long time I am planning to examine Piru's romupdatesplit and to develop a tool which does the opposite (i.e. romupdatejoin). But I never found the time to actually begin yet. The information collected by rbm are valuable, too. As it seems the 16 bytes between modules are not always blank but contain the information I asked for.
thomas is offline  
Old 31 October 2015, 00:06   #12
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
Quote:
Originally Posted by thomas View Post
For quite a long time I am planning to examine Piru's romupdatesplit and to develop a tool which does the opposite (i.e. romupdatejoin). But I never found the time to actually begin yet. The information collected by rbm are valuable, too. As it seems the 16 bytes between modules are not always blank but contain the information I asked for.
That is really great
I am really looking forward to see the outcome of this.

Thanks in advance.

@rbm

Could you please post more detailed information about the "AmigaOS ROM Update" file format? So that it remains accesible to all of us.
gulliver is offline  
Old 31 October 2015, 10:42   #13
rbm
Registered User
 
Join Date: Jul 2013
Location: CAT
Posts: 60
Quote:
Originally Posted by thomas View Post
As it seems the 16 bytes between modules are not always blank but contain the information I asked for.

Yes, you are right. The first word of the 16 bytes between modules contains the model information (from ROM Update bb2):

00 00 06 00 .... exec A4000
00 00 00 10 .... exec A3000
00 00 01 00 .... exec A1200
00 00 20 00 .... exec unknown
00 00 08 00 .... exec CD32

00 00 37 1f .... bootmenu (68020)
00 00 00 20 .... bootmenu A500
00 00 08 00 .... bootmenu CD32

00 00 01 00 .... scsi A1200
00 00 00 20 .... scsi A600
00 00 04 00 .... scsi A4000T
00 00 06 00 .... scsi A4000
00 00 00 10 .... scsi A3000

I tested some modules and only are loaded if the code matches the ROM model.
rbm is offline  
Old 01 November 2015, 15:37   #14
rbm
Registered User
 
Join Date: Jul 2013
Location: CAT
Posts: 60
The attached version installs the following modules according the Amiga model A600/A1200/A4000:

exec.library_45.25.26
battmem.resource_40.0
bonus_40.2(A4000)
bootmenu_44.7(68020)
cia.resource_40.0
console.device_44.10
disk.resource_38.1
dos.library_42.2
FileSystem.resource_46.0
filesystem_45.16
graphics.library_40.26b3
input.device_50.26
intuition.library_40.86b7
layers.library_45.24
mathffp.library_41.0
mathieeesingbas.library_41.1
misc.resource_38.0
morelibspace_module_47.1
potgo.resource_38.0
ram-handler_44.24
ramlib_41.0
scsi.device_46.0(A600)
scsi.device_46.0(A1200)
scsi.device_46.0(A4000)
shell_45.27
trackdisk.device_40.2
utility.library_41.0
wbtag_40.0
workbench.library_45.134
con-handler_40.4
HappyENV-Handler_1.3

I have used the ROM Update module from bb1 because is the only one that installs the exec libraries version 45.25, but it have the problem that not updates the kickstart version internally.

WinUAE tested and works fine.
Attached Files
File Type: lha AOS_44.61(A600-A1200-A4000).lha (412.8 KB, 467 views)
rbm is offline  
Old 29 December 2015, 17:02   #15
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,993
I'm guessing this was resolved? I used to build custom ROM updates for my KickFlash which didn't accept the seperate modules or a whole kickstart (I seem to remember).
Hedeon is offline  
Old 29 December 2015, 21:21   #16
rbm
Registered User
 
Join Date: Jul 2013
Location: CAT
Posts: 60
Nobody has made an Amiga tool yet. Meanwhile you can use the attached excel spreadsheet to build the update.
It´s easy to use:
Fill the light blue cells only (number of modules, size, filename and the separator name between each module).
Copy and paste all the values inside the box below the "Index Hex" in the index file attached (I use the Hex Editor Neo and works fine).
Copy and paste all inside the box below the "Filename" in a batch file (.bat).
Run it and that´s all !
Attached Files
File Type: rar AOS ROM Update.rar (18.9 KB, 320 views)
rbm is offline  
Old 10 January 2016, 00:49   #17
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
@rbm

I was testing your tool, but the excel spreadsheet doesn´t update the "Index Hex" column (which is letter F) and throws errors. To reproduce this error, just change the size value of any module in your already made 45.25 or 45.24 sheet and you will see it for yourself.

By the way, you are missing the A4000T separator

I hope you can fix it
gulliver is offline  
Old 16 January 2016, 10:44   #18
rbm
Registered User
 
Join Date: Jul 2013
Location: CAT
Posts: 60
Quote:
Originally Posted by gulliver View Post
@rbm

I was testing your tool, but the excel spreadsheet doesn´t update the "Index Hex" column (which is letter F) and throws errors. To reproduce this error, just change the size value of any module in your already made 45.25 or 45.24 sheet and you will see it for yourself.

By the way, you are missing the A4000T separator

I hope you can fix it
Works fine for me. If you are using excel 2010 or 2013 you have to "enable editing" when loaded.

https://support.office.com/en-us/art...3-2bbcdbcb6653

Attachead again including the A4000T separator.
Attached Files
File Type: rar AOS ROM Update.rar (19.0 KB, 289 views)
rbm is offline  
Old 16 January 2016, 15:52   #19
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
Quote:
Originally Posted by rbm View Post
Works fine for me. If you are using excel 2010 or 2013 you have to "enable editing" when loaded.

https://support.office.com/en-us/art...3-2bbcdbcb6653

Attachead again including the A4000T separator.
Thank you.

And yes, I needed to enable editing on excel.
gulliver is offline  
Old 17 September 2017, 21:49   #20
McTrinsic
Registered User
 
Join Date: Feb 2014
Location: Germany
Posts: 527
May I revive this?
I am currently setting up my Amiga from scratch and it would be awesome if I could create such an update file for use with setpatch.
Unfortunately, I failed using the excel-method when I wanted to create a file with just 4 files inside (e. g. icon.library).
Would anyone be able to a small script that does this??
McTrinsic 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
AmigaOS 3.9 BB ROM Update Error & Ram-Handler Not Updating 44.24 crazyegg support.Apps 23 10 November 2010 21:03
Amikit AmigaOS ROM Update Amigan Amiga scene 10 21 April 2008 22:30
AmigaOS 4.0 July 2007 Update Available P-J News 0 19 July 2007 16:35
AmigaOS 4.0 The Final Update available P-J News 43 22 January 2007 09:40
Poseidon V3.4 for AmigaOS UPDATE!!! keropi News 5 03 November 2006 09:56

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 23:17.

Top

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