flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Using radasm with fasm???

Author
Thread Post new topic Reply to topic
shism2



Joined: 14 Sep 2005
Posts: 248
shism2
I tried using it and just gives a bunch of errors Sad. Also how to compile the rsrc files??
Post 15 Sep 2005, 02:00
View user's profile Send private message Reply with quote
farrier



Joined: 26 Aug 2004
Posts: 274
Location: North Central Mississippi
farrier
The FASM package does not come with a resource compiler, but you can use the RC.exe program that comes with the MASM32 package, or the GoRC program that you can get from the GoASM package.

RadASM comes configured to use GoRC, but you can set it to use RC. I use the following in the "Compile RC" field of "Project/Project Options":

4,O,\MASM32\BIN\RC.EXE /v,1

And, in the "Assemble" field:

3,O,\PROGRA~1\FASM\FASM,2,5

hth,

farrier

_________________
Some Assembly Required
It's a good day to code!
U.S.Constitution; Bill of Rights; Amendment 1:
... the right of the people peaceably to assemble, ...
The code is dark, and full of errors!
Post 15 Sep 2005, 02:46
View user's profile Send private message Reply with quote
shism2



Joined: 14 Sep 2005
Posts: 248
shism2
farrier wrote:
The FASM package does not come with a resource compiler, but you can use the RC.exe program that comes with the MASM32 package, or the GoRC program that you can get from the GoASM package.

RadASM comes configured to use GoRC, but you can set it to use RC. I use the following in the "Compile RC" field of "Project/Project Options":

4,O,\MASM32\BIN\RC.EXE /v,1

And, in the "Assemble" field:

3,O,\PROGRA~1\FASM\FASM,2,5

hth,

farrier


3,O,\PROGRA~1\FASM\FASM,2,5 What will this do? What Directory is that?
Post 15 Sep 2005, 03:55
View user's profile Send private message Reply with quote
farrier



Joined: 26 Aug 2004
Posts: 274
Location: North Central Mississippi
farrier
shism2,

I decided to install the FASM in the following directory:

C:\Program Files\FASM

Which, using the short name, turns to:

\PROGRA~1\FASM\FASM

3,O,\PROGRA~1\FASM\FASM,2,5

This runs FASM.exe and assembles:

2, the project.asm file to

3, the project.obj file and eventually

5, the project.exe file
______________________________________________
4,O,\MASM32\BIN\RC.EXE /v,1

generates the

4, project.res file from the:

1, the project.rc file

To use the generated .res file, include the line:

section '.rsrc' resource from 'project.res' data readable


Replace "project" with your project name in the above examples!
______________________________________________
The numbers come from:

The RadASMIni.rtf file:

Quote:
Section [MakeFiles]

Used to create new RadASM projects.
Manually maintained.

x=FileExt x is a number between 0 and 32. No holes allowed

Current extentions
0=.rap, 1=.rc, 2=.asm, 3=.obj, 4=.res,
5=.exe, 6=.def, 7=.dll, 8=.txt, 9=.lib,
10=.mak, 11=.hla


hth,

farrier

_________________
Some Assembly Required
It's a good day to code!
U.S.Constitution; Bill of Rights; Amendment 1:
... the right of the people peaceably to assemble, ...
The code is dark, and full of errors!
Post 15 Sep 2005, 05:26
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.