Ragazzi è cominciata una pippa su amigaworld ... colpa mia il fulcro della discussione era l'emulazione del warpos sulle Sam 460
Alcuni dicono che è impossibile altri dicono che invece è possibilissima vi posto qui un paio di commenti a riguardo
Commento A :
I wasn't referring to WarpOS itself, what I meant was, binaries compiled for WarpOS tend to have misaligned doubles in them because the processors they were originally compiled for didn't particularly care about 8-byte alignment (especially if a 32-bit data bus is used). A case in point, the old gears demo aligns the W3D_Vertex to a 4-byte address, meaning that every Z value for every vertex was misaligned.
The processors that were in use by the time the WarpOS emulation was written could all cope happily with this, even if it meant a few extra clock cycles accessing them that could have been saved if they were properly aligned.
The 440 and 460 might not be so compatible. I read somewhere that misaligned access might trigger an exception. I don't recall the specifics; perhaps someone here knows.
Unless you go out of your way to force it, native applications will have been compiled to align doubles to 8-bytes to ensure compatibility. However, you are still stuck with a lot of old WOS binaries that are affected.
Commento B
There is no reason why WarpOS applications couldnt run on 4x0 if the hosting operating system supported it. Misaligned access can be emulated in the exception handler.
And it probably already does so.
Back in the day, I always used #pragma natural-align (or whatever it was) in VBCC and only used #pragma amiga-align around OS structures because I thought it would be a bit faster ;) Perhaps they'd work on the 4x0...
____
Svelate l'arcano ... secondo il mio parere è possibile ... ma vorrei sapere il vostro. Grazie.