Welcome back Big Endian, haven't seen you since the early 1990s!
Hack support for big-endian. It appears to work, but I stopped testing when we found out the HP moonshot ARM cartridges are little-endian. The approach here is that little-endian is the "native" imagezip format. This makes backward compat easy and works most efficiently for the common (still 100%) case of little-endian machines. For frisbee, little-endian is also the default on-wire format...except for the master server protocol which properly uses network order. That should be fixed, but will require a version bump. This stuff will likely get pulled into the main branch when the next major version happens. RSN.
Showing
- clientside/os/frisbee.redux/GNUmakefile.in 5 additions, 2 deletionsclientside/os/frisbee.redux/GNUmakefile.in
- clientside/os/frisbee.redux/Makefile-linux.sa 7 additions, 1 deletionclientside/os/frisbee.redux/Makefile-linux.sa
- clientside/os/frisbee.redux/Makefile.sa 15 additions, 2 deletionsclientside/os/frisbee.redux/Makefile.sa
- clientside/os/frisbee.redux/network.c 255 additions, 1 deletionclientside/os/frisbee.redux/network.c
- clientside/os/imagezip/GNUmakefile.in 8 additions, 8 deletionsclientside/os/imagezip/GNUmakefile.in
- clientside/os/imagezip/Makefile-linux.sa 3 additions, 3 deletionsclientside/os/imagezip/Makefile-linux.sa
- clientside/os/imagezip/header.c 150 additions, 0 deletionsclientside/os/imagezip/header.c
- clientside/os/imagezip/header.h 25 additions, 0 deletionsclientside/os/imagezip/header.h
- clientside/os/imagezip/imagedump.c 2 additions, 0 deletionsclientside/os/imagezip/imagedump.c
- clientside/os/imagezip/imagehash.c 3 additions, 1 deletionclientside/os/imagezip/imagehash.c
- clientside/os/imagezip/imagehdr.h 40 additions, 0 deletionsclientside/os/imagezip/imagehdr.h
- clientside/os/imagezip/imageunzip.c 2 additions, 0 deletionsclientside/os/imagezip/imageunzip.c
- clientside/os/imagezip/imagezip.c 63 additions, 40 deletionsclientside/os/imagezip/imagezip.c
Loading
Please register or sign in to comment