flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > FASMW sources patch |
Author |
|
yumka 19 Feb 2007, 21:25
#####################################################
What is it, and why. I release this patch in the hope that will be useful to some of you. I am not claiming for the authoring of the code, I just put it together in a single centralized, easy maintenance patch. The idea is to join all good addons for fasm in an easy to applied patch. If you don't want their code in this patch, just said that and I'll remove it. ###################################################### Contents of package: FASMW.patch Patch for FASMW 1.67.x sources to easy update changes. Tested in 1.67.21 - 2007/02/22 FASM-FULL.patch Patch for FASM 1.67.x sources to add many things. Tested in 1.67.21 - 2007/02/22 1. Fasm Listing for DOS, Linux, Windows (console versions) http://board.flatassembler.net/topic.php?t=3908 symbol_dump code from llaurrentt. http://board.flatassembler.net/download.php?id=2600 2. FASM as DLL, added source to the source branch http://board.flatassembler.net/topic.php?t=6239 3. Added my Make.cmd for easy assemble and benchmarking under windows. 4. Changed a little the console messages to include a copyright Let me know if you like or hate this. 5. Includes de FASMW patch ###################################################### ###################################################### FASMW.patch Details ###################################################### Patch for FASMW 1.67.x sources to easy update changes. Tested in 1.67.21 - 2007/02/22 This patch includes: SORTED BY DATES, in format year/month/day 1. 2006/05/06 FASM Minimize to system tray option version: (05.06.06) ? for FASM 1.66? author: white_wight email: white_wight -at- pisem.net link: http://board.flatassembler.net/topic.php?t=5363 2. 2006/10/24 FASM Message Boards Quick Browser version: 0.1 author: Frederico Wagner (known as OzzY at FASM Board) email: link: http://board.flatassembler.net/topic.php?t=6085 3. 2006/12/22 FASM IDE additions (syntax highlighting) version: 0.02d author: Ralph Eastwood a.k.a. Raedwulf email: tcmreastwood -at- ntlworld.com link: http://board.flatassembler.net/topic.php?t=6415 4. 2007/02/18 FASM Patch version: 0.05 author: n3p email: sinergia.mex -at- gmail.com link: http://board.flatassembler.net/topic.php?p=53556 for compatiility added asm filters *.FSM;*.FSI minor changes to update everything to lastest FASM code. ###################################################### How to: To applied just unzip this to fasm directory. Notice that I create an additional directory called "Bin" where binaries of fasm and related are. It must be in the PATH. You should see something like this if you use the FASMW-patch.cmd C:\fasmw167\source>fasmw-patch.cmd C:\fasmw167\source>patch.exe -p1 0<fasmw.patch patching file IDE/FASMW/fasmw.asm If you see more lines, look if there are errors and try to fix them. Currently you don't have to see any error, if you did things right. You should see something like this if you use the fasm-patch-FULL.cmd C:\fasmw167\SOURCE>fasm-patch-FULL.cmd C:\fasmw167\SOURCE>patch.exe -p1 0<fasm-full.patch patching file dif.cmd patching file DLL/asmdemo.asm patching file DLL/asmedit.ash patching file DLL/errors.inc patching file DLL/fasm.ash patching file DLL/fasm.asm patching file DLL/fasmdll.txt patching file DOS/fasml.asm patching file IDE/blocks.inc patching file IDE/edit.inc patching file IDE/FASMW/asmedit.asm patching file IDE/FASMW/asmedit.inc patching file IDE/FASMW/fasmkeys.txt patching file IDE/FASMW/fasmw.asm patching file IDE/memory.inc patching file IDE/navigate.inc patching file IDE/search.inc patching file IDE/undo.inc patching file IDE/variable.inc patching file LIBC/fasml.asm patching file LINUX/fasm.asm patching file LINUX/fasml.asm patching file listing.inc patching file make.cmd patching file patch.cmd patching file symbdump.inc patching file variable.inc patching file WIN32/fasm.asm patching file WIN32/fasml.asm patching file WIN32/fasmp.asm BE CAREFULL WITH THE FULL PATCH BECAUSE CHANGES MANY THINGS I SUGGEST TO APPLIED AND TEST TO A DIFFERENT UNZIPPED BRANCH OF FASM. FOR EXAMPLE: C:\FASM167 Just remember to set de enviromental variables PATH and INCLUDE. NOTE FOR UNIX USERS: I have not tested it with unix, and i don't know if it works because the line teriminators of this tools are DOS compatible. Please, let me know if it works if somebody use it. ###################################################### DISCLAIMER USE AT YOUR OWN RISK. THE PATCH IS RELEASED AS IS, WHITHOUT ANY GUARANTEE OF ANY KIND. IF YOU DON'T AGREE, DON'T USE IT. ###################################################### THIS PATCH WAS DONE WITH GREAT OPEN SOURCE SOFTWARE DIFF AND PATCH FROM GNUWIN32 http://gnuwin32.sourceforge.net/ + ; Bugs and problems about flat assembler ide additions + ; Please post on http://board.flatassembler.net ###################################################### Cheers. yumka.
_________________ rofl eax,eax Last edited by yumka on 24 Feb 2007, 21:45; edited 1 time in total |
|||||||||||
19 Feb 2007, 21:25 |
|
Raedwulf 20 Feb 2007, 10:15
Wow thanks for the interest in my FASMW mod, I will get back to this project soon!
|
|||
20 Feb 2007, 10:15 |
|
dead_body 20 Feb 2007, 14:53
Raedwulf wrote: Wow thanks for the interest in my FASMW mod, I will get back to this project soon! it is good news. |
|||
20 Feb 2007, 14:53 |
|
yumka 20 Feb 2007, 20:40
Sorry for did't mention before.
Also I have added a couple of changes. CTRL+ Home - To go the begin of the file CTRL+ End - To go the end of the file and a little different display of fasm console messages. If you don't like this way just tell me, to post o a "standard" version without further changes. |
|||
20 Feb 2007, 20:40 |
|
OzzY 21 Feb 2007, 17:26
Nice idea this. But I think Tomasz is coding the new FASMW Plugin System that will make it easier and less "hard-coded" way to extend FASMW.
If this become true we (the FASM community) can build a great IDE for ourselves. I think this way is better way than the Fresh way, because we'll be adding new plugins and adding features, and someday it'll become a big IDE. And we can have lots of people taking care of its own plugin, so we have fast development. When I get some time I'll try to fix some bugs in the Forum Quick Browser Plugin and also I'll code a FASMW auto-updater plugin for easy download-and-install procedure. |
|||
21 Feb 2007, 17:26 |
|
yumka 21 Feb 2007, 21:20
Hi Ozzy.
Yes i have read that Tomasz is planning a FASM plugin standard. That will bring nice things. But in the meantime i think the patch is an easy way to download, patch, assemble, and use an updated FASM with addons. By the way your updater project (that i have seen) fits very well in this model. It would be very nice to have it in this patch. I have also updated your Forum Browser with the changes that have suggested some people in that thread. DestroyWindow or something like that. Cheers. |
|||
21 Feb 2007, 21:20 |
|
yumka 21 Feb 2007, 22:01
This make me think about a CVS model to FASM
Think about it, somebody dectects a bug or has some suggestion to Tomasz, send their code via mail. In a standard patch format. Tomasz decide if it is a good idea or not. I so applied patch, to a CVS sources. ------------------- Users point of view. Execute an addon (CVS client - addon, menu item) that checks the files (dates,md5) of the sources branch and download just the files that change. NOT THE FULL PACKAGE (~800 kb windows version). Patch is applied (really overwritten in client disk) and assembled automatically. That's all. Benefits of this model. 1. Reduction of downloaded bytes. 2. More up to date instalations. 3. Everithing automated. 4. Very easy, specially for new users. For CVS I'm mean something programmed in FASM, small, eficient that checks the sources in a server and download to a local computer the new and changed files since lastest update. (all if new installation) What do you think? |
|||
21 Feb 2007, 22:01 |
|
Raedwulf 22 Feb 2007, 11:32
A somewhat nice idea. However CVS not SVN?
Not sure if Tomasz will like this idea but... If you'd like to do it for us, I'm sure some of us will be happy to use it "Reduction of downloaded bytes" I have a 4mbit connection(download) so downloading 800kb is actually the same speed if not faster than using any CVS client.( <2sec download for me) But if you are on dialup I can see it coming down in 5-10 min depending on how good/bad it is. "More up to date installations" Downloading from the site is up to date... "Everything automated" Ummm, you still have to download the addon ^^ , and you still have to run the addon . I have a fully-automated washing machine, and it still doesn't hang the washing to dry.... "Very easy, specially for new users. " whats easier than downloading one zip that everything runs out of the box? I think CVS is too much work for too little gain. I can't remember but I think someone wrote a program to download the latest FASM off the site automatically.... (maybe im wrong) I think this is sufficient in itself. This is just my opinion. However, as I said, you're welcome to have your on CVS setup, and im sure I shall probably use it if its good . Maybe a new project will be spawned... FASMX (X for extensions) Why have I wasted 10minutes posting when I ought to do my coursework...... |
|||
22 Feb 2007, 11:32 |
|
yumka 22 Feb 2007, 18:46
I use the term CVS for (Concurrent Version System) that is a GNU standard. This idea is much simpler, just checking files (dates, crc or md5) and download the new and changed.
You have 4Mbit connection, thats nice. But I'm thinking for the future when FASM users hit the first million We love Assembler because is the smallest and eficient code, so to be in line to that kind of thinking making and eficient use of bandwith is a nice idea, at least from my point of view. This was just an alpha idea certanly with more brains working on it could lead to a better conclusion. Yes Ozzy has a nice UPDATER project, that should download fasm zip and unpack it. In my case it does't work. |
|||
22 Feb 2007, 18:46 |
|
rugxulo 22 Feb 2007, 20:32
Hey, if you just want a tiny .EXE that downloads something from the Internet, check out this thread (may seem inappropriate but that's not my intention). Maybe Ozzy could adjust that example to auto-update FASM instead.
|
|||
22 Feb 2007, 20:32 |
|
yumka 23 Feb 2007, 01:04
Thanks rugxulo.
I'll check it. |
|||
23 Feb 2007, 01:04 |
|
yumka 23 Feb 2007, 01:04
now updated.
Last edited by yumka on 24 Feb 2007, 21:47; edited 2 times in total |
|||
23 Feb 2007, 01:04 |
|
Raedwulf 23 Feb 2007, 06:24
Its better if you replace the @ with [at] as well or something similar. The bulk emailers are getting cleverer.
_________________ Raedwulf |
|||
23 Feb 2007, 06:24 |
|
yumka 24 Feb 2007, 21:50
Sorry for the delay. Now updated.
Let me know bugs and addons you want in this patch. Thanks Raedwulf, I have changed to -at- as you say bots are getting cleverer. |
|||
24 Feb 2007, 21:50 |
|
yumka 24 Feb 2007, 21:55
Next version I'll try to port the syntax highlighting to FASM DOS GUI, I can't promise it because i don't know a bit of assembler
|
|||
24 Feb 2007, 21:55 |
|
Raedwulf 25 Feb 2007, 09:01
It should be quite easy. The only trouble I came across was I didn't quite understand how the colours worked.
|
|||
25 Feb 2007, 09:01 |
|
rugxulo 26 Feb 2007, 00:15
FASMD.ASM, lines 4288-98 (1.67.21) wrote:
Bah, more 'magic' numbers from Privalov! These bytes are background/foreground. I would've complained (if I wasn't afraid of being so pedantic). He should use named constants (but it's his call, of course). P.S. The rough Esperanto translations are mine (from memory), so pardonu miajn erarojn! Code: BLACK=0 ; nigra BLUE=1 ; blua GREEN=2 ; verda CYAN=3 ; lazura RED=4 ; rugha MAGENTA=5 ; purpura BROWN=6 ; bruna LIGHTGRAY=7 ; griza DARKGRAY=8 ; grizega LIGHTBLUE=9 ; blueta LIGHTGREEN=0Ah ; verdeta LIGHTCYAN=0Bh ; lazureta LIGHTRED=0Ch ; rugheta LIGHTMAGENTA=0Dh ; purpureta YELLOW=0Eh ; flava WHITE=0Fh ; blanka Hope this helps! |
|||
26 Feb 2007, 00:15 |
|
Raedwulf 26 Feb 2007, 05:26
Thanks!
|
|||
26 Feb 2007, 05:26 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.