flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Night Rider 30 Jul 2005, 23:27
Nobody can answer such simple question? Please...
|
|||
![]() |
|
mike.dld 30 Jul 2005, 23:38
If you mean parts like SYSTEM.INC or FASM.ASM then it's okay
![]() ![]() |
|||
![]() |
|
crc 31 Jul 2005, 00:04
You can modify it and distribute modified versions as long as you follow the restrictions detailed in the license.txt that you get when you download fasm.
|
|||
![]() |
|
decard 31 Jul 2005, 08:25
To port fasm to your os you have to modify system.inc and fasm.asm (as mike.dld wrote). These files provide an interface to an operating system. You have to put OS specific routines (reading from files, displaying text, etc...) in system.inc file. It would be easier if you copy these two files from win32 distribution and modify them.
|
|||
![]() |
|
Night Rider 31 Jul 2005, 14:07
Thank you!
|
|||
![]() |
|
Tomasz Grysztar 31 Jul 2005, 14:35
The attachments contains the copy of the never finished guide to the flat assembler internals, slightly updated to cover the latest releases.
The second chapter is however complete, and this is the one that should help you in porting fasm to any new operating system.
|
|||||||||||
![]() |
|
LocoDelAssembly 29 Aug 2007, 20:49
Is this attachment the most newer version of the guide?
|
|||
![]() |
|
LocoDelAssembly 30 Aug 2007, 22:40
Unless there is another version outside this forum, this one is the last release of the guide.
|
|||
![]() |
|
fabbel 19 Feb 2019, 10:47
Thomas, can u find some spare time to update this fasm1 guide ? Would be much much much appreciated.. it's almost 14years old now.. and i want to tinker with fasm engine.. unfort lots of information are missing in there : typ. description of parsing, assembly, formatting stages (am particularly interested to see how virtual feature work internally, how it could be extended to include relocations in the case of PE format)
Thx Rgds |
|||
![]() |
|
Tomasz Grysztar 19 Feb 2019, 10:54
This old engine is kind of a mess, its internal structures have been expanded so many times (including recent back-porting of VIRTUAL-related features from fasmg) that it became a bit like a patchwork. It is not easy to convince me to get back to analyzing it when I have a much more cleaner world of fasmg to spend my time in.
![]() On the other hand, I still own a notebook where I designed all the data structures used internally by fasm 1. I might consider digitizing it one day... Several structures have already been described in the fas format documentation. |
|||
![]() |
|
revolution 19 Feb 2019, 11:26
Tomasz Grysztar wrote: On the other hand, I still own a notebook where I designed all the data structures used internally by fasm 1. I might consider digitizing it one day... Several structures have already been described in the fas format documentation. ![]() |
|||
![]() |
|
Tomasz Grysztar 19 Feb 2019, 12:15
revolution wrote: If by digitising it you mean to replace all the raw numbers with symbolic constants that would be a significant improvement. ![]() Nevertheless, in the fasmg development I have in fact found a good way to handle this kind of problems - with the ASSERT directive. When I'm going to use some offset or a constant in such way that changing the original definition of structure or constant would break things, I simply add an ASSERT that is going to signalize the problem. There are many such clauses throughout fasmg source. So yeah, with this new approach I could most likely succeed in rewriting fasm's source in such way if I attempted it. The only problem now is, as I wrote above, to somehow make me work on fasm 1 source when I so much prefer to dedicate the same time to fasmg-related things. ![]() |
|||
![]() |
|
revolution 19 Feb 2019, 16:26
Tomasz Grysztar wrote: So yeah, with this new approach I could most likely succeed in rewriting fasm's source in such way if I attempted it. The only problem now is, as I wrote above, to somehow make me work on fasm 1 source when I so much prefer to dedicate the same time to fasmg-related things. ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.