The MASM Forum Archive 2004 to 2012

General Forums => The Laboratory => Topic started by: Ivan2k2 on June 17, 2006, 03:05:31 PM

Title: Is that possible ??
Post by: Ivan2k2 on June 17, 2006, 03:05:31 PM
Is that possible to convert this code from fasm to masm ???


[attachment deleted by admin]
Title: info
Post by: Ivan2k2 on June 17, 2006, 03:39:18 PM
some info about code http://board.flatassembler.net/topic.php?t=5068
Title: Re: Is that possible ??
Post by: hutch-- on June 17, 2006, 03:50:34 PM
Ivan,

I had a quick look at your code and I doubt that it can be done so small in MASM as the linker will buld even tiny examples at 1024 bytes which is the legal PE minimum, headers plus one section. I have seen very small apps written in HEX but they may not actually run, just not flag and error as they close.
Title: Re: Is that possible ??
Post by: Ivan2k2 on June 17, 2006, 08:55:04 PM
It will not work on all nt-systems, because of different values for used native APIs,  and will not work on 9x-systems, but i've tested it
on many computers with xp sp2 with success. The only way(IMHO) is compile it in *.com format and then rename to *.exe
Title: Re: Is that possible ??
Post by: Casper on June 17, 2006, 08:57:11 PM
It has to be the fastest shutdown I have ever seen.  2 seconds on my XP SP2.

Casper