flat assembler
Message board for the users of flat assembler.
Index
> Windows > .sys ? with Fasm |
Author |
|
ouadji 24 Dec 2008, 00:27
Hi ,
What must I take as options of compilation to have a ".sys" file (driver). Sorry , my English n' is not very good. thanks |
|||
24 Dec 2008, 00:27 |
|
revolution 24 Dec 2008, 00:40
Code: format pe native |
|||
24 Dec 2008, 00:40 |
|
revolution 24 Dec 2008, 01:09
LocoDelAssembly wrote: Have you noticed that without fixups directory fasm says "code cannot be generated"? The "weird" part is that with the other possible formats there are no complaints if "format X" is the only line in the source. |
|||
24 Dec 2008, 01:09 |
|
LocoDelAssembly 24 Dec 2008, 01:39
Quote:
I don't know but this behavior is present on FASM 1.64 also so if it is a bug then it is an ancient one (but not as ancient as the [reg*0] bug ) Quote: I've never tried to assemble a file with only a "format ..." line. I didn't really see the point It can be instructive to see the minimal (not necessarily working) structure of the target binary for educational purposes, but in average quite useless, yes. |
|||
24 Dec 2008, 01:39 |
|
ouadji 24 Dec 2008, 09:04
hi,
Code: Format pe native ? I tried but it gives no results, no ".sys" file. |
|||
24 Dec 2008, 09:04 |
|
revolution 24 Dec 2008, 09:16
Sure it does.
Code: format pe native nop BTW: LocoDelAssembly, just putting a single nop (like my code above) is enough to get it to assemble. |
|||
24 Dec 2008, 09:16 |
|
ouadji 24 Dec 2008, 10:00
I use Fasm with Radasm.
Radasm ask me if I want to build "Win32 app" or "dll" ... I chose "win32 app" ... but there must be a problem on this side there. With "win32 app" (radasm) and "native format pe" ... I have a ".exe" file. (Fasm 1.67.29 for windows) |
|||
24 Dec 2008, 10:00 |
|
revolution 24 Dec 2008, 10:08
I suggest you contact the Radasm authors to fix the problem. Although, in the meantime, a simple renaming would probably do the trick nicely, since fasm will still generate a .sys file but Radasm just decides to name it .exe
Last edited by revolution on 24 Dec 2008, 11:12; edited 1 time in total |
|||
24 Dec 2008, 10:08 |
|
ouadji 24 Dec 2008, 10:58
ok revolution, thank you very much !
|
|||
24 Dec 2008, 10:58 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.