It is currently Sun Dec 17, 2017 5:14 am

All times are UTC - 7 hours



Forum rules


Related:



Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Super FX Assembler
PostPosted: Thu Dec 03, 2015 8:14 pm 
Offline

Joined: Thu Dec 03, 2015 8:08 pm
Posts: 10
Hi,

I was looking through a source code package for Star Fox 2, and found what I believe to be the Argonaut Super FX assembler. It was in the same folder as the alpha version of Star Fox 2 that has been floating around the Internet since 2000. Anyways, I'd like to get this to work so I can attempt to assemble binaries for the other two source packages I have. When I ran it in DOSBOX, it gave an error stating that it doesn't work under DOS mode. It is entirely possible that development was done on OS/2 rather than Windows, so maybe that is part of the problem. I've attached the assembler here if anyone wants to have a look.


Attachments:
File comment: Super FX assembler
ARGOS2.zip [26.8 KiB]
Downloaded 147 times
Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Thu Dec 03, 2015 8:49 pm 
Offline
User avatar

Joined: Mon Oct 01, 2012 3:47 pm
Posts: 153
Location: freemland (NTSC-U)
running "file" on the enclosed EXE gives: "ARGOS2.EXE: MS-DOS executable, NE for OS/2 1.x" so it's highly likely.


Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Thu Dec 03, 2015 9:35 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19353
Location: NE Indiana, USA (NTSC)
I wonder if it'd be easier to implement the assembler as a ca65 macro pack the way blargg did for SPC700, rather than try to get a working copy of OS/2 up and running.


Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Thu Dec 03, 2015 9:39 pm 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 2983
Location: Tampere, Finland
tepples wrote:
I wonder if it'd be easier to implement the assembler as a ca65 macro pack the way blargg did for SPC700, rather than try to get a working copy of OS/2 up and running.

https://github.com/ARM9/casfx

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: kkfos.aspekt.fi


Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Thu Dec 03, 2015 10:47 pm 
Offline
User avatar

Joined: Sun Jun 05, 2011 8:03 pm
Posts: 78
Location: Fort Wayne, Indiana, USA (NTSC)
It is an OS/2 program. I just checked with the unix 'file' utility, and it's an OS/2 program in NE format.
Code:
$ file ARGOS2.EXE
ARGOS2.EXE: MS-DOS executable, NE for OS/2 1.x


I installed Windows 2000 in a virtual machine because it has some level of OS/2 compatibility, and the assembler looks to run fine.

Image


Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Fri Dec 04, 2015 12:08 am 
Offline

Joined: Thu Dec 03, 2015 8:08 pm
Posts: 10
Ok, that is good to know there is a way for it to work.

I've attached the makefile that was in the code package. Unless I am mistaken, the executable isn't the actual assembler, but some file called "ARGSFXX". It might not be possible to use this to assemble the code. :(


Edit: looks like the guy who originally had the source code was also looking for the assembler. Some info in the comments section here:

http://dailly.blogspot.jp/2008/06/tg16-fun.html


Attachments:
MAKEFILE.zip [1.68 KiB]
Downloaded 105 times
Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Fri Dec 04, 2015 8:49 am 
Offline

Joined: Sun Mar 27, 2011 10:49 am
Posts: 219
Location: NYC
wyatt8740 wrote:
I installed Windows 2000 in a virtual machine because it has some level of OS/2 compatibility


Woah, I didn't know this. Cool!


Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Mon Dec 07, 2015 5:31 am 
Offline

Joined: Tue May 05, 2009 6:12 pm
Posts: 164
wyatt8740 wrote:
I installed Windows 2000 in a virtual machine because it has some level of OS/2 compatibility, and the assembler looks to run fine.
Image

That doesn't look like the output from the assembler, It should print something similar to this:
Code:
ArgSfx-OS/2 v1.35 Copyright (c) Argonaut Software Ltd. 1992
Usage: ARGOS2 [options] sourcefile
 Options are:
Btw, IIRC argos2 is the assembler and argfxx the linker

I tried assembling some example code from some of the sfx patents on a virtual os2warp4 machine but without success, I just got empty output files.
I know the source code for some sfx games are out there somewhere but I haven't been able get hold of any and debugging without it is a PITA.


Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Mon Dec 07, 2015 6:42 pm 
Offline

Joined: Thu Dec 03, 2015 8:08 pm
Posts: 10
I'll try to set up a virtual machine on my own end and give it a go.


Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Tue Feb 16, 2016 12:11 am 
Offline
User avatar

Joined: Tue Jan 03, 2006 7:17 am
Posts: 23
Location: Houston TX
wyatt8740 wrote:
I installed Windows 2000 in a virtual machine because it has some level of OS/2 compatibility, and the assembler looks to run fine.


Are you sure it wasn't Windows NT? OS/2 was effectively dead by the time Windows 2000 was released. And, there is a lot of material about how Microsoft created the NT kernel based on the info taken from OS/2.

Here's the quotes from Wikipedia:
"Microsoft decided to recast NT OS/2 3.0 as Windows NT"
"Windows NT's OS/2 heritage can be seen in its initial support for the HPFS filesystem, text mode OS/2 1.x applications..."

https://en.wikipedia.org/wiki/OS/2

The Windows NT wikipedia page says it's available in Windows NT 3.1:

https://en.wikipedia.org/wiki/Windows_NT


Last edited by cdoty on Tue Feb 16, 2016 12:20 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Tue Feb 16, 2016 12:19 am 
Offline

Joined: Thu Aug 12, 2010 3:43 am
Posts: 1589
If it was in NT it's still possible for it to be there in 2000, even if just because removing it could have broken way more than it should have (Windows is known to have lots of now-useless code just in case removing it ends up backfiring)

Wouldn't it make more sense to just use OS/2 if you're going to use a VM anyway?


Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Tue Mar 22, 2016 3:17 pm 
Offline
User avatar

Joined: Wed Mar 16, 2016 2:08 pm
Posts: 38
Location: World 9 - Warp Zone
Is there any tutorial to start programming some stuff for the Super FX chip?

_________________
Projects:
HomeBrew Stuff (#2)(8bits/16bits/32bits)
HomeBrew Stuff (#1)(8bits/16bits/32bits)
J_GB Emulator (GB / GBC / SGB Emulator written in Java)
NES4J Emulator (NES / FAMICOM / FDS Emulator written in JAVA)


Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Fri Sep 22, 2017 1:44 pm 
Offline

Joined: Thu Dec 03, 2015 8:08 pm
Posts: 10
Luigiblood wrote a linker, so in theory you should be able to write Super FX programs with this. Confirmed to work with legit Star Fox 2 source code.

https://github.com/LuigiBlood/ARGLINK_REWRITE


Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Fri Sep 22, 2017 2:06 pm 
Offline
User avatar

Joined: Thu Jul 29, 2010 2:24 pm
Posts: 44
I must say, the Argonaut SNES Linker rewrite may not be accurate, I tried the best I could. At least it produces working ROMs. :D


Top
 Profile  
 
 Post subject: Re: Super FX Assembler
PostPosted: Sat Sep 23, 2017 5:59 am 
Offline

Joined: Fri Feb 24, 2012 12:09 pm
Posts: 538
Searching for "Usage : OS2 /P <full path> /C <original CommandLine>"...

It's mentioned on several webpages. Most people seem to consider it as an "error message", as far as I understand it's complaining about spaces in the path/filename. If that's right then it might work in, for example, "C:\TEST" instead of "C:\Documents and Settings\..\My Documents".

Though it doesn't really look like an "errror message" to me. Sounds more as if it's asking you to use a workaround (possibly needed only if the path contains spaces), ie. maybe it wants you to type this (?)
OS2 /P "C:\Documents and Settings\..\My Documents" /C ARGOS2.EXE

Or, other idea, as you said that ARGSFXX might be the actual assembler, try sth like this:
ARGOS2 /P <whather path> /C ARGSFXX


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group