English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 12 May 2012, 15:26   #1
absence
Registered User
 
Join Date: Mar 2009
Location: moon
Posts: 373
Assembling Gravity Force 2 source code

As some of you know, the source code for Gravity Force 2 is available on its home page. Is it difficult to assemble it and get an executable that is byte for byte identical to the one that can be downloaded? According to the documentation the code was written using "Seka, AsmOne, Trash'm-One". I assume these were used at different points in time, and not simultaneously. Which assembler is the most likely to have been used for the final version? Are there any special things to take into consideration if I want an identical executable? Are any of the newer/retargetable assemblers (Phxass, Vasm, others?) compatible enough for this?
absence is offline  
Old 12 May 2012, 15:52   #2
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
They most likely used ASM-One, it was still in development years after Seka and Trash'm-One had faded. I haven't tried assembling the game, but Vasm has an ASM-One compatibility mode that should do the trick.
Leffmann is offline  
Old 12 May 2012, 21:38   #3
absence
Registered User
 
Join Date: Mar 2009
Location: moon
Posts: 373
Quote:
Originally Posted by Leffmann View Post
They most likely used ASM-One, it was still in development years after Seka and Trash'm-One had faded. I haven't tried assembling the game, but Vasm has an ASM-One compatibility mode that should do the trick.
Thanks! I'm looking at the Vasm docs, but the only compatability options I've found are for Devpac and Phxass. I'll try the actual ASM-One. Btw, the source files all have some binary garbage at the beginning. Is that normal?
absence is offline  
Old 12 May 2012, 22:23   #4
absence
Registered User
 
Join Date: Mar 2009
Location: moon
Posts: 373
Quote:
Originally Posted by absence View Post
I'll try the actual ASM-One.
I've tried v1.20 and v1.48, and Trash'm-One v2.0. They all complain about illegal operator in some dc.b (line 3266 in gfap.s).
absence is offline  
Old 13 May 2012, 01:04   #5
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
The garbage is probably from ASM-One, it saves its settings in the beginning of the source file like that, but I think they might actually have used SEKA to assemble it.

In any case it was easiest to make it assemble with Vasm, but it seems their executable was built from a different source archive as there are files missing etc.
Attached Files
File Type: zip GFap.S.zip (52.4 KB, 193 views)
Leffmann is offline  
Old 13 May 2012, 11:44   #6
absence
Registered User
 
Join Date: Mar 2009
Location: moon
Posts: 373
Thanks! It's nice to see how little change is needed to make it assemble with a modern tool. I notice you've inserted a lot of tabs, and that fixes the errors I got as well. Got curious and eventually found out there's a "Labels:" setting that makes the code assemble without tabs or other changes in TrashemOne. Oh well, now to conduct experiments!
absence is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gravity Force DS BETA2 -1/27/11 Simmo76 Retrogaming General Discussion 1 05 February 2011 08:24
Gravity-Force 2 Source Code sl0ppy Coders. General 2 27 December 2009 23:43
Gravity Force Josh request.Old Rare Games 4 01 February 2008 22:38
Gravity Force Amiga Hero support.Games 1 10 September 2004 10:06
Gravity Force 2 Punisher Retrogaming General Discussion 1 29 April 2004 15:00

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:10.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08120 seconds with 14 queries