Doh! Bad assumption again! Forgot you're a MorphOS dev, and that means PPC! But good point on the WinUAE vs E-UAE and A1000 emu.
Double doh! Just realized you posted a link to the source! Now I can see the bitmap setting code and trackdisk replacement code. Cool stuff - sweet code!
Anyways, you're right about not doing it properly and endian agnostic to begin with (especially with networking code :-))
EDIT:
Since I've got some of your attention on this thread, Piru, if you have a little time (if not, that's ok), would you mind checking my very last post, and very last questions for you on this older thread:
http://www.amiga.org/forums/showthread.php?t=26716I'd love to hear from you on it (again, only if you have time, if not, no prob). Thanks