Dwedit's Board

Enjoy the board

You are not logged in.

Announcement

User passwords may have been corrupted, if you can't log in, use the "Forgot Password" feature. If you still can't log in, contact me and I can try to manually reset your password.

#1 2008-06-15 9:19:18 pm

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,017
Website

asmconv3 - Source Code conversion tool to convert ARM SDT asm to GCC

Usage: Create a "project file" containing a list of filenames.  Do not add any filenames to the list that are INCLUDE'd by other files.

NOTE: This does not do everything.  It only does about 95% of the work.

Then:
*change to the input directory
*run asmconv <projectfile> <outputdirectory>

Example usage:

First copy all files from the input directory to the output directory.  Asmconv3 will overwrite some of them in the output directory later.

An example project.txt file:

6502.s
arm7boot.s
arm9boot.s
cart.s
incbin.s
io.s
memory.s
ppu.s
sound.s
dldi\dldi_template.s
mappers\konami.s
mappers\map023771.s
mappers\map1.s
mappers\map105.s
mappers\map1166.s
mappers\map15.s
mappers\map151.s
mappers\map16.s
mappers\map17.s
mappers\map18.s
mappers\map184.s
mappers\map19.s
mappers\map2125.s
mappers\map22.s
mappers\map228.s
mappers\map23.s
mappers\map232.s
mappers\map2426.s
mappers\map32.s
mappers\map33.s
mappers\map34.s
mappers\map4.s
mappers\map40.s
mappers\map5.s
mappers\map64.s
mappers\map65.s
mappers\map67.s
mappers\map68.s
mappers\map69.s
mappers\map70152.s
mappers\map72.s
mappers\map73.s
mappers\map75.s
mappers\map76.s
mappers\map77.s
mappers\map78.s
mappers\map79.s
mappers\map80.s
mappers\map82.s
mappers\map85.s
mappers\map86.s
mappers\map87.s
mappers\map88.s
mappers\map9.s
mappers\map92.s
mappers\map93.s
mappers\map94.s
mappers\map97.s
mappers\map99.s

change directory to C:\gba\nesds_source
then type in "C:\gba\asmconv\asmconv.exe project.txt ..\nesds_output"

and it makes altered versions of the .s files in that directory.


Please reply if you want any more documentation or assistance, or even if you just download it!


Attachments:
Attachment Icon asmconv3.zip, Size: 98,334 bytes, Downloads: 188

"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#2 2008-06-17 11:50:52 am

morbid27
Member
Registered: 2008-06-13
Posts: 104

Re: asmconv3 - Source Code conversion tool to convert ARM SDT asm to GCC

Hey it looks like its converted could you please tell me what it missed and what to do with the files that have
@IMPORT
and
@IMPORT image$$...
thanks

im pretty sure that nesds uses those image$$ and the 2 other ones

a makefile would be cool too.

Last edited by morbid27 (2008-06-17 1:17:48 pm)

Offline

#3 2008-06-17 10:18:41 pm

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,017
Website

Re: asmconv3 - Source Code conversion tool to convert ARM SDT asm to GCC

(First go download winmerge.  It's great at showing what parts of a file have changed)

To see an example of what gets changed after running ASMCONV3:

Go download the Goomba Color SDT source code and Goomba Color GCC source code.
Run asmconv3 on the SDT source, and stick the output in a different directory.
Run winmerge to compare the output code with the published GCC code.

Oh yeah, also go download a really old version of Goomba Color source (like Alpha 6) to see what changed in the C code to allow it to be ported to GCC.


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#4 2008-06-20 9:18:44 pm

morbid27
Member
Registered: 2008-06-13
Posts: 104

Re: asmconv3 - Source Code conversion tool to convert ARM SDT asm to GCC

Hi dwedit i dont think with my level i could do anything much but i have learned alot with your help. I understand how the nes works now and alot of other prggramming info i didn't know really all i wanted to do was set up this

this site helped
http://tuxnes.sourceforge.net/mappers-0.80.txt

For a better blend scale effect.
i emailed the source to you!

If there is anyway you could implement it would be awsome

Last edited by morbid27 (2008-06-20 11:09:34 pm)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman