Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Compiling Meka For 64bit Machines

Reply to topic
Author Message
  • Joined: 10 May 2005
  • Posts: 91
  • Location: Merry Olde England
Reply with quote
Compiling Meka For 64bit Machines
Post Posted: Mon Jun 02, 2008 1:03 pm
Has anyone been successful in compiling Meka on a 64bit machine?

I've altered the makefile so that GCC knows to create x86-64 output (same for nasm, too), but I get errors:

hq2x16.asm:480: error: instruction not supported in 64-bit mode
hq2x16.asm:482: error: instruction not supported in 64-bit mode
hq2x16.asm:1845: error: short jump is out of range
hq2x16.asm:1893: error: instruction not supported in 64-bit mode
hq2x16.asm:1895: error: instruction not supported in 64-bit mode


Which is:
480:  push ebp
482:  pushad
1845: jl      .nexty
1893: popad
1895: pop ebp


It appears that the same (or very similar) code in "hq2x32.asm" also gives errors (but the line numbers differ slightly).

Are there any fixes for this?
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14741
  • Location: London
Reply with quote
Post Posted: Mon Jun 02, 2008 1:30 pm
Well, it looks like the assembler hq2x routines don't compile in 64-bit mode... you can try replacing them with the C versions, although it looks as if there's only a 32bpp version.
  View user's profile Send private message Visit poster's website
  • Joined: 25 Jul 2007
  • Posts: 731
  • Location: Melbourne, Australia
Reply with quote
Post Posted: Mon Jun 02, 2008 1:36 pm
I was attempting the same thing with MSVC a while ago, didn't really have problems there, mostly it was in setting up the dev environment to compile properly. Almost had a successful build but haven't attempted since.
  View user's profile Send private message
  • Joined: 07 Aug 2007
  • Posts: 220
  • Location: Yach, Germany
Reply with quote
Post Posted: Sat Aug 02, 2008 5:11 pm
I have compiled Meka 0.70 (the latest released version) for x86-64.

Philipp
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!