seer wrote:
the links inside the ROM are pointing to a certain "adress", so if you put the code at another adress it won't work anymore.
Yup
But then, if you know the correct location, and the intention is to "recreate" the ROM or in this case a merged 1.4 + 3.1 ROM couldn't you dump the files in RAM or disk, then "disasemble" it, and reprogram it a bit or put it back in another ROM and have the correct adresses again ?
Almost..
It depends what you`re putting into the other ROM.
If the replacement code is smaller, then it`s not a problem as you can simply overwrite the old code.
But if the new code is larger, then you`ve got to reorganise the other parts in the rom, to get the new code to fit.
This is where it gets messy, since that means working out bucketloads of new addresses to be patched.
But as Piru said, it`s not a trivial task to split up a ROM.You gotta know where one part ends and another starts, which isn`t always obvious :pissed:
Some parts are easy, as they only have 6 relocs to find, but graphics.library is a real headache , somewhere around 2500 relocs to sort out... and they vary from rom to rom.
It ain`t an easy task, it took me over 3 months to get a working 3.9 boot rom, but it`s a lot of fun and a great way to learn more about how the AmigaOS really works.. anyway stay tuned, I`m almost ready for some suckers...erm, beta testers :evilgrin: