flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound 18 May 2011, 06:35
You have to create your own smaller MZ stub (DOS com or exe) and to use following format directive:
Code: format PE GUI 4.0 on "yourstub.exe" |
|||
![]() |
|
iamyaoyao 18 May 2011, 09:43
thx
|
|||
![]() |
|
rugxulo 26 May 2011, 18:06
Actually, I'm pretty sure Tomasz said you could just do this for no stub at all :
Code:
format PE on "NUL"
Although, let's be honest, is this really saving anything??? Isn't the PE file aligned anyways?? So I doubt you save much, if anything. Besides, it's already dumb and useless enough. The only true advantage with such a default is that it doesn't just blindly crash in DOS (which admittedly is rare these days). I almost wish we had a nice small DOS tool that at least did something useful that we could embed in its place. (But what could you cram that wouldn't be too big but would still be universally accepted as useful? Game? Unzipper? Text editor? I know I know, web browser, but that's ridiculous. So I dunno ....) |
|||
![]() |
|
deffi 30 May 2011, 09:17
rugxulo wrote: I almost wish we had a nice small DOS tool that at least did something useful that we could embed in its place. (But what could you cram that wouldn't be too big but would still be universally accepted as useful? Game? Unzipper? Text editor? I know I know, web browser, but that's ridiculous. So I dunno ....) Windows 7 installer |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.