utri007 wrote:
Piru is moust likely one of the world, he knows much amiga hardware.
Actually, you need to know the guts of the AmigaOS more than Amiga hardware. All you do with the hardware is exactly what the old OS does. It may take more instructions but it's not that big of a deal. The OS is written to deal with faster CPUs so timing shouldn't be an issue within the OS.
:roll: I'd at least want someone working on it that knows that Amiga executables are normally stored on disk with separate hunks for code, data and bss sections and that it's easy to have a program scan through an executable file, find a code hunk, search for a numeric pattern of an illegal instruction and then patch it. There was a program that did this with a 68000 instruction that was used in some early Amiga software that was illegal on the 68010 or higher. But then that was before the Amiga 500 was even introduced so he may not remember that. Still, the hunk info is even on a
Wiki page.
So would you like to wrote new amiga exec for coldfire ?
Actually, there is a code translator that can convert most 68K assembly to Coldfire code but last I checked it still hadn't been updated to support the 4e core which requires fewer changes. Whenever the converter doesn't know what to do it marks the code and you can do it by hand in those spots. I tested it on some code but not the exec due to differences in the superviser register mode in the colfire chips it supports. Without support for the 4e core's addition to the supervisor mode the translator is almost useless on supervisor code. At least as far as the Amiga exec goes... it depends heavily on the register that is missing on all but the 4e coldfires.
However, with the disassembly I have and an updated translator the exec itself wouldn't be that bad. The most work to the exec would be to support the stack frame differences for interrupts and integration of the instruction traps. There's still probably more than a month of work there. Without the conversion tool it would take a very long time. The exec has a lot of code.
At that point the Coldfire could run through the self tests, setup the timer device (which would also need to be native Coldfire code), set up memory, autoconfig devices, setup graphics/intuition and move to the bootup sequence.
Then you have to see what fails and fix that.
We need positive additude in this dark time.
I'd settle for a lot less FUD.