flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Borsuc
sorry to be so confused... but I'm not really familiar with the things you said. Can you be more specific (for me, pls?). thanks
![]() |
|||
![]() |
|
dead_body
please more info.
|
|||
![]() |
|
f0dder
Why not, instead, take the necessary time and support that functionality based on commandline switches?
|
|||
![]() |
|
vid
I want tool that will allow you to make customized version of FASM compiler. Many people use extensions like listing, saving of result of preprocessing, and some people alter FASM to suit them (change default values, allow "org ebx", custom directives, GNU-compatible output...).
All this has to be done by hand. This tool will prompt user which changes he wants to apply, change sources for him (best inside memory, sources will remain same) and recompile FASM. hope it's clear now. Any ideas what more should it do are welcomed, or opinions on this idea are welcomed. |
|||
![]() |
|
revolution
The idea is good vid. When will you have a first release ready for posting?
|
|||
![]() |
|
vid
hahaha
well, it may be boost for doing fasmlib, making second real fasmlib project, but unfortunately i am not familiar with fasm's internals enough to do this. also it will need lot of testing whther all combinations of tweaks work togehter |
|||
![]() |
|
yumka
Code: @echo off @cls :1024,2048,4096,8192,16384,32768,65536,131072,262144,524288,1048576 @set m=131072 @set p=100 @set d=c:\radasm\fasm @set f=fasm @set a=%f% -m%m% -p%p% @set b=%d%\bin @set s=%d%\source @set include=%d%\inc @set fasminc=%include% @set path=%b%;%hla%\bin;%path% @echo. @echo -- ------------------------------------------------------------------------ @echo ----------------------- Flat Assembler Makefile ----------------------- @echo -------------------------------------------------------------------------- @echo. @cd %s%\win32 @echo Assembling Win32 Console ... %f% %f%.asm > nul %f% %f%.asm %b%\%f%.exe @if errorlevel = 1 goto error @echo. @echo Assembling Win32 Console (Preprocessor) ... %f% %f%p.asm %b%\%f%p.exe @if errorlevel = 1 goto error @echo. @echo Assembling Win32 Console (Listing) ... %f% %f%l.asm %b%\%f%l.exe @if errorlevel = 1 goto error del %f%.exe @echo. @echo Assembling Win32 DLL ... @cd %s%\dll %a% %f%.asm %b%\%f%.dll @if errorlevel = 1 goto error @echo. @echo Assembling Win32 DLL (Tester)... %a% asmdemo.asm %b%\test\%f%dll.exe @if errorlevel = 1 goto error @echo. @echo Assembling Win32 GUI ... @cd %s%\ide\%f%w %a% %f%w.asm %b%\%f%w.exe @if errorlevel = 1 goto error @echo. @echo Assembling AsmEdit DLL ... %a% asmedit.asm %b%\asmedit.dll @if errorlevel = 1 goto error @echo. @echo Assembling DOS32 Console... @cd %s%\dos %a% %f%.asm %b%\%f%d.exe @if errorlevel = 1 goto error @echo. @echo Assembling DOS32 Console (Listing) ... %a% %f%l.asm %b%\%f%dl.exe @if errorlevel = 1 goto error @echo. @echo Assembling DOS32 GUI ... @cd %s%\ide\%f%d %a% %f%d.asm %b%\%f%dg.exe @if errorlevel = 1 goto error @echo. @echo Assembling Linux ... @cd %s%\linux %a% %f%.asm %b%\%f% @if errorlevel = 1 goto error @echo. @echo Assembling Linux (Listing) ... %a% %f%l.asm %b%\%f%l @if errorlevel = 1 goto error @echo. @echo Assembling Unix/libc console ... @cd %s%\libc %a% %f%.asm %b%\%f%.o @if errorlevel = 1 goto error @echo. @echo Assembling Unix/libc console (Listing) ... %a% %f%l.asm %b%\%f%l.o @if errorlevel = 1 goto error @echo. Echo Assembling Examples ... cd %d%\Samples for /r %%f in (*.asm) do %a% %%f pause for /r %%f in (*.exe;*.dll;*.com;*.sys;*.bin;*.obj;*.o;*.
_________________ rofl eax,eax |
|||||||||||
![]() |
|
yumka
You have to set d (directory of fasm), include directory, examples directory, and some other little things where your FASM installation is.
But I use it un conjuntion with patch, for compile each version of fasm I download. Very easy just 2 batch files, even for benchmarking. I hope you like it. |
|||
![]() |
|
OzzY
This is great idea.
Maybe this could be like in RADasm? (Loadable DLL's that add features to FASM) |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.