flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 08 Apr 2008, 00:36
fasm uses "include", the "fasminc" is no longer used.
|
|||
![]() |
|
MichaelH 08 Apr 2008, 01:38
|
|||
![]() |
|
ic2 08 Apr 2008, 18:00
IDEA: My computer is set up where I can comply any masm ready ASM file for with masm32 from any other drive. So my masm32 environment is compete and it was all done with masm32 inifile. No need to tamper with the Systems Environment Variables.
Since exploring the site I see that some things may never be included in FASM by choice. Tomasz Grysztar has his reasons and I'm not into rebuilding a assembler . I rather leave it along so I can do things the standard way when needed. For one of my single named project I rather to build a simple work around to do what I need. For starters I want to use Ewaynes's AsmEdit as my editor for FASM and want to do it as simple as possible. I'm not trying to build a IDE. I'll just add a few buttons needed by me for additional convenience such as executing a FASM batchfile for assembling the opened project. This way I can still use it for all of my masm32 projects with-out changing stuff in the Windows Registry or the Systems Environment Variables.. All I need to know is how to write a batchfile or whatever it takes to make FASM execute. The rest is easy. MichaelH, Wow!!! All kind of harsh words there it seems. I covered my ears just in case. Anyway, I have not figure things out yet. In cmd.asm you'll find two lines include 'win32a.inc' include 'cmd.inc' I can't find cmd.asm or cmd.inc ... and if I did where would I include them and how? I'm not even sure if any parts of this is written correclty or if using the keyword (Set) works set c:\fasm\include\win32a.inc c:\fasm\fasmw\fasm DisplayIcon.asm DisplayIcon.exe revolution, I did use include even with the FullPathName and it did not work. Last edited by ic2 on 08 Apr 2008, 18:05; edited 1 time in total |
|||
![]() |
|
revolution 08 Apr 2008, 18:05
ic2 wrote: set c:\fasm\include\win32a.inc You need something like this: Code: set include=\fasmw\include \fasmw\fasm DisplayIcon.asm DisplayIcon.exe |
|||
![]() |
|
ic2 08 Apr 2008, 18:07
Thanks revolution. Going to try it now.
|
|||
![]() |
|
ic2 08 Apr 2008, 18:50
It didn't work. Is there some documents about FASM batchfiles somewhere?
@echo off set include=c:\fasm\fasmw\include c:\fasm\fasmw\fasm DisplayIcon.asm DisplayIcon.exe What is the bold word above icluding for... do it mean the next line...[/b] In the 2nd line I take it that is FASM to execute fasm editor which hold the command line to my file. ... is that the way it is suppose to execute \fasmw\ |
|||
![]() |
|
revolution 08 Apr 2008, 19:05
Everyone seems to have their own way of arranging the directories on their HDD, so a batch file from one person my not work for you.
FWIW, here is the line from my include: include=...;q:\assemble\fasm\include;... But I doubt it will work for you unless you have a Q: drive and you put fasm under a subdirectory named assemble. I use a "path" line to find the executable but the effective place is q:\assemble\fasm\fasm.exe (this is the 32bit console assembler which I use) |
|||
![]() |
|
bitRAKE 08 Apr 2008, 20:07
afaik, the fasm editor does not assemble from the command line, but it will open the file.
![]() |
|||
![]() |
|
MichaelH 08 Apr 2008, 23:04
ic2 wrote:
'cmd.inc' was an include file specific to that thread, it was just an example, it could have been any include file. ic2, please read the link I posted again. You should be able to set environment variables so that you can type - cd someAsmFileDirectory fasm.exe someAsmFile.asm someAsmFile.exe Just for clarity, someAsmFileDirectory and someAsmFile.asm are just example names ![]() |
|||
![]() |
|
ic2 09 Apr 2008, 05:14
FASM is Fantastic
It work!!! Code: @echo off set include=c:\fasm\FASM\include c:\fasm\FASM DisplayIcon.asm DisplayIcon.exe Now I'm getting ready to back-up my system and try to do it at system level with Environment Variables just in case I screw up. I think I can see why that works. I always been afraid to try became I had no clue of how to do it and I thought it would take over the machines asm files (one IDE only). Anyway, I'm about to find out. Thanks you ALL The sample batch was created by Vortex, helping me to to solve a previous problem in my attempt to try some FASM coding. The batch didn't work for me, but the code did. But I keep it around. Fasmw default no tool bar. Most others makes me lazy. Some takes up too much screen space. I think Qeditor and Ewaynes's AsmEdit are the perfect editors to use when coding for MASM and FASM. To me they are both are so down-to-earth. ... |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.