flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3, 4, 5, 6 Next |
Author |
|
peet 22 Dec 2011, 15:28
the way backwards may be possible bx cmd's Sys Clipboard function (write clipbord)
|
|||
![]() |
|
AsmGuru62 22 Dec 2011, 17:29
Yes, and same function (CreateProcess) also allows to supply the Environment too. I used it to start FASM.EXE with its famous FASMINC value (for my IDE).
![]() Last edited by AsmGuru62 on 22 Dec 2011, 17:30; edited 1 time in total |
|||
![]() |
|
AsmGuru62 22 Dec 2011, 17:30
@peet: how big are your files?
|
|||
![]() |
|
peet 22 Dec 2011, 18:33
please do not be angry with me, but i don't know about that FASMINC by now, can i find this in documentation of fasm? and do i understand right you are (too) behind fasm?
my files? you mean the code (snippets) i want to take with me in exe? just a couple of lines each, it would be acceptable even to a one line limit without returns if this makes handling easier. and lets say an amount of 15 to 30 snippets must be enough, otherwise it is more senceful to take a real file with you i guess. so to dtermine amount, lets say a set of 5 idea to solve a problem should be good, from these idea there may consequence to up to three directions and give you another 2 alternatives. and lets say we will take an example each way with us , we result in about 15. so everything above 15 lines of code may be enough ยด. too the cmd input is limited anyway so we would need about 20 times the input limit? |
|||
![]() |
|
peet 22 Dec 2011, 20:53
anybody know programmers notepad? reduce it, add missing tranparency and background-screenshot, include the snippets in exe itself and port it to assembler --> guess that's kinda what i want to to someday, if no one did already
|
|||
![]() |
|
AsmGuru62 23 Dec 2011, 15:30
@peet: what file size the MiniPAD will be able to load? 10Kb? 100Kb, 1Mb? 1Gb?
|
|||
![]() |
|
peet 23 Dec 2011, 16:09
AsmGuru62 wrote: @peet: what file size the MiniPAD will be able to load? 10Kb? 100Kb, 1Mb? 1Gb? how do you mean that? |
|||
![]() |
|
typedef 23 Dec 2011, 16:36
1Gb is multi-threading point. Calculate the file size and give each thread a section to read.
|
|||
![]() |
|
AsmGuru62 23 Dec 2011, 17:25
@peet: ??? I do not follow.... you aware that MiniPAD is a text editor, right? So, how much of text are you going to edit with it? How much of text supposed to be fit into it?
|
|||
![]() |
|
peet 23 Dec 2011, 17:33
AsmGuru62 wrote: @peet: ??? I do not follow.... you aware that MiniPAD is a text editor, right? So, how much of text are you going to edit with it? How much of text supposed to be fit into it? if that can't get handled dynamically like to load always only a part into memory i'd cut off at a max size of 1MB most bigger files are bad logs i open with HiEditor, cool app btw. too - with dynamic loading file partialy a working table of 1MB is a lot in textfiles i think, maybe 250 would be enough? how much should it be at least or topmost in your opinion? |
|||
![]() |
|
AsmGuru62 23 Dec 2011, 18:03
I just wanted a reference of the file size you can work with. So, I see, these are pretty big, so I'll start with 1Mb as an initial size, which grows until OS has memory (~2Gb).
|
|||
![]() |
|
peet 23 Dec 2011, 18:17
to keep footprint small i'd suggest starting with 100KB
i just found fresh and took a look at the project (john found), but it crashes on my system when compiling does anybody know a good snippet repository for fasm code, i did not even find a tutorial or well commented source code to learn with. examples out there are rare i experience. am i blind mybe? which is the mistirious keyword to add? fasm assembler tutorial snippet ... it all does not deliver me useful links. |
|||
![]() |
|
peet 23 Dec 2011, 18:21
at the moment i did start with trying to make the window stay on top, so i added an menuitem, did increase array size for an accelerator and now was searching for command to setWindow focus and to see maybe a var to handle the status - b ut i can't find example codes anywhere
|
|||
![]() |
|
typedef 23 Dec 2011, 19:12
maybe I have not been following but what exactly are you doing ?
Are you working on a project or learning ? |
|||
![]() |
|
peet 23 Dec 2011, 19:21
learning by pimping an example up to maybe a project. and too trying to find code snippets for easier coding ... e.g. with pnotepad or fresh
|
|||
![]() |
|
peet 23 Dec 2011, 21:53
on the one hand there is nice FASM, provided working and with examples which is very nice to start, because you can see working results and grow with em. on the other there is not much example and snippet code to find (at least not for me).
winasm which i now tried again is a lot bigger and is maybe easier to handle whole projects, i am exploring the examples in it now (while i did set up a FASM-WinASM) to be able to work further with this. |
|||
![]() |
|
AsmGuru62 24 Dec 2011, 00:09
Well, the issue is that not many FASM coders write a large programs with it and if they do - they do not want to open their codes for everyone to see. FASM itself is a cool exception of that rule (thanks, Tomasz)!
|
|||
![]() |
|
peet 24 Dec 2011, 00:44
yes i like fasm really too. it's small, powerful and really cool.
when we talk about code, hm, i wonder what some guys have in mind. they want to get honoration for their work, but by closing code nobody is able to adopt and this is contraproductive as they - for the truth - want to get honoration. the more the knowledge they have is only possible because manchild did open up it's knowledge base and teach em, they even got thought to walk, lol. now they think their knowledge is private, i don't sign that, but this is up to each of it's own. these guys should think about how evolution would get further if everybody would keep he's wisedom. i just was thinkin these times went by, but maybe they repeat it like all manstory does. i am shure a lot do not open because they stole themselves and don't want that discovered. and a lot are quite shure the code they wrote is trash and everybody would see. and the others should open because if they really wrote a good piece of code, everybody will see, respect, adopt and make you and your code immortal - what else could you achieves? get linus! |
|||
![]() |
|
JohnFound 24 Dec 2011, 08:32
AsmGuru62 wrote: Well, the issue is that not many FASM coders write a large programs with it and if they do - they do not want to open their codes for everyone to see. FASM itself is a cool exception of that rule (thanks, Tomasz)! Hey, it is not true. ![]() |
|||
![]() |
|
Goto page Previous 1, 2, 3, 4, 5, 6 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.