Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mac os x port
09-29-2005, 09:25 AM,
#5
mac os x port
Quote:I'm totally unfamiliar with writing endian-independent code (just aware of the issue). Could you point to any resources or provide any advice?
well the basic issue is that the ordering of bytes is not the same. so everytime you read or write (to a file or to the network) something thats bigger than one byte (short, int, long, float, structs..) you have to take care of that (also when doing bitshifting). practically that would mean inserting macros that do nothing on little-endian, but swap the byte ordering on big-endian. there is on article on the topic here, altough the proposed solution seems a bit overengineered:http://www.gamedev.net/reference/articles/article2091.asp
Quote:Also, I'll try my best to get around to replacing the EXT opengl defines and removing any opengl calls from C++ initializers -- that's just sloppy on my part.
great!
Quote:I still think it would be faster if done by someone who a) already knows his way around OS X and b) has some experience with coding for PPC.abs1nth, are you interested?
sorry i don't have the time do that, but once the endian issues are sorted out, i will take care of the remaining issues that are needed to get vdrift running on osx, and produce binaries. and just for ironing out the endian issues you really need neither OSX nor PPC expirience (or any of that available) :wink:
Reply


Messages In This Thread
mac os x port - by abs1nth - 09-28-2005, 08:06 PM
mac os x port - by thelusiv - 09-28-2005, 08:33 PM
mac os x port - by joevenzon_phpbb2_import3 - 09-28-2005, 09:15 PM
mac os x port - by thelusiv - 09-29-2005, 08:05 AM
mac os x port - by abs1nth - 09-29-2005, 09:25 AM
mac os x port - by joevenzon_phpbb2_import3 - 09-29-2005, 09:41 AM
mac os x port - by abs1nth - 09-29-2005, 09:44 AM
mac os x port - by joevenzon_phpbb2_import3 - 10-18-2005, 10:41 PM
mac os x port - by abs1nth - 10-19-2005, 06:47 AM
mac os x port - by thelusiv - 10-19-2005, 09:37 AM
mac os x port - by joevenzon_phpbb2_import3 - 10-19-2005, 09:45 AM
mac os x port - by joevenzon_phpbb2_import3 - 10-19-2005, 11:21 PM
mac os x port - by abs1nth - 10-20-2005, 12:11 PM
mac os x port - by thelusiv - 10-20-2005, 02:08 PM
mac os x port - by abs1nth - 10-20-2005, 02:40 PM
mac os x port - by thelusiv - 10-20-2005, 03:21 PM
mac os x port - by abs1nth - 10-20-2005, 04:24 PM
mac os x port - by abs1nth - 10-20-2005, 04:57 PM
mac os x port - by joevenzon_phpbb2_import3 - 10-20-2005, 08:33 PM
mac os x port - by joevenzon_phpbb2_import3 - 10-20-2005, 08:36 PM
mac os x port - by abs1nth - 10-20-2005, 09:05 PM
mac os x port - by joevenzon_phpbb2_import3 - 10-23-2005, 12:21 PM
mac os x port - by abs1nth - 10-23-2005, 05:24 PM
mac os x port - by abs1nth - 10-23-2005, 06:42 PM
mac os x port - by joevenzon_phpbb2_import3 - 10-24-2005, 09:52 PM
mac os x port - by thelusiv - 10-24-2005, 11:56 PM
mac os x port - by abs1nth - 10-28-2005, 05:09 PM
mac os x port - by thelusiv - 10-29-2005, 01:02 AM
mac os x port - by abs1nth - 11-04-2005, 02:18 PM
mac os x port - by abs1nth - 11-04-2005, 02:39 PM
mac os x port - by abs1nth - 11-04-2005, 02:41 PM
mac os x port - by abs1nth - 11-04-2005, 03:36 PM
mac os x port - by thelusiv - 11-04-2005, 04:08 PM
mac os x port - by abs1nth - 11-04-2005, 04:12 PM
mac os x port - by thelusiv - 11-05-2005, 01:57 AM
mac os x port - by abs1nth - 11-05-2005, 06:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)