Author Topic: A question about FSopen and 64 bit systems  (Read 1263 times)

0 Members and 1 Guest are viewing this topic.

A question about FSopen and 64 bit systems
Would it someday (when 64 bit processors are more commonplace) be possible to optimize the source code for running in a 64 bit environment? I was just thinking of the raw horsepower we could gain due to the advantages of 64 bit applications and how much it could change FSopen... Would this be possible or would this require a massive re-writing of nearly all of the code? Thanks.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
A question about FSopen and 64 bit systems
FS2_Open already runs in native 64-bit mode if you have 64-bit Linux, or so I understand from taylor.
-C

 
A question about FSopen and 64 bit systems
Wow,
time to get Fedora installed on my downstairs computer :)

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
A question about FSopen and 64 bit systems
Yeah it's 64-bit ready, at least under Linux.  That's what I use it on every day.  The only thing not tested is networking.  There are only a couple of possible choke points though and I think I got all of them (works on a LAN with 32-bit Windows) but it's not tested with FS2NetD at all.  I didn't see anything wrong there but you never know.

I don't have a 64-bit version of Windows but I think I'm ready for it.  There is a single define (IAM_64BIT) which should take care of most/all internal game stuff so that just needs to be set on a Win64 build and that's it.  I took care of all compiler issues reported by GCC but MSVC++ may have some new complaints about depreciated commands.  No ASM code has been modified to work with Win64 so we'll just have to worry about that when the time comes (I don't know assembly so I'm not much use there).