Update on MinGW convertion project...
Moderator: ZSNES Mods
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
You should be using this NASM http://nsrt.edgeemu.com/nasmw.zip
It has a lot of bugs fixed.
It has a lot of bugs fixed.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
I have a lot of timing updates for MinGW and stuff that should also help towards the -O0 problem, but I'm not commiting it till ipher is back because I don't want to break MSVC.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Rookie
- Posts: 32
- Joined: Wed Aug 25, 2004 1:55 pm
- Location: spb, ru
- Contact:
MSVC is already broken. At least MSVC6.Nach wrote:I have a lot of timing updates for MinGW and stuff that should also help towards the -O0 problem, but I'm not commiting it till ipher is back because I don't want to break MSVC.
Code: Select all
cl /Ox /G6 /c /EHsc /D__WIN32__ /Fowin/winlink.obj win/winlink.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
winlink.cpp
win/winlink.cpp(2398) : error C2059: syntax error : 'bad suffix on number'
win/winlink.cpp(2398) : error C2146: syntax error : missing ';' before identifier 'L'
win/winlink.cpp(2398) : fatal error C1004: unexpected end of file found
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Correction, your unpatched MSVC is broken.burning shadow wrote: MSVC is already broken. At least MSVC6.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Rookie
- Posts: 32
- Joined: Wed Aug 25, 2004 1:55 pm
- Location: spb, ru
- Contact:
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
We weren't using C99 before. Look on MS's site for MSVC 6 updates.burning shadow wrote:There were no problems with it before. Anyway, where can I get the patch?Nach wrote:Correction, your unpatched MSVC is broken.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Rookie
- Posts: 32
- Joined: Wed Aug 25, 2004 1:55 pm
- Location: spb, ru
- Contact:
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
TRAC (from SNEeSe) is the one who invented the GNUWIN32 patch. I'm compiling NASM myself using his patch. Not sure what I did with the patch...TheDanish wrote:Nach, I forgot to ask. Where are you getting these gnuwin32 nasm builds? The best I can do is to grab the Cygwin package?
It used to be included with older versions of SNEeSe. Now he uses an object conversion tool we discussed writing. I think I'll use that for ZSNES too, but didn't bother fixing the makefile for it yet.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Rookie
- Posts: 32
- Joined: Wed Aug 25, 2004 1:55 pm
- Location: spb, ru
- Contact:
-
- Rookie
- Posts: 32
- Joined: Wed Aug 25, 2004 1:55 pm
- Location: spb, ru
- Contact:
So, is there a way to compile current zsnes source using MSVC6? With the latest service pack 6 I still get an error:
There's an entry:
Is it possible to convert it to something MSVC6 will understand?
Code: Select all
cl /Ox /G6 /c /EHsc /D__WIN32__ /Fowin/winlink.obj win/winlink.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
winlink.cpp
win/winlink.cpp(2406) : error C2059: syntax error : 'bad suffix on number'
win/winlink.cpp(2406) : error C2146: syntax error : missing ';' before identifier 'L'
win/winlink.cpp(2406) : fatal error C1004: unexpected end of file found
Code: Select all
volatile __int64 copymaskRB = 0x001FF800001FF800LL;
-
- Rookie
- Posts: 32
- Joined: Wed Aug 25, 2004 1:55 pm
- Location: spb, ru
- Contact: