flat assembler
Message board for the users of flat assembler.

Index > Windows > VxD question

Author
Thread Post new topic Reply to topic
ACP



Joined: 23 Sep 2006
Posts: 204
ACP 11 Aug 2014, 10:05
In one of my projects I may be forced to write VxD. Since the rest of the project source code is being converted to FASM I would like to write VxD using FASM as well so I will be able to use single compiler (and possibly linker) for the whole project.

I've search some old FASM topics referring to now forgotten VxD technology Wink and as I understand I can generate VxD using binary option since LE format is not supported. My question is: is there anyone here who have some experience with VxD and recent FASM versions and who is willing to share his experiences with me?

I can always use MASM from Win98 DDK but still... I prefer FASM to do the job unless I will have to generate all VxD related stuff manually, than I will (re)consider MASM since it will be very simple VxD and the overhead may be a lot bigger than the VxD itself.
Post 11 Aug 2014, 10:05
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 22 Aug 2014, 10:27
Don't have any experience, but you can look at generating the necessary LE format structures using custom FASM macros.
Post 22 Aug 2014, 10:27
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
ACP



Joined: 23 Sep 2006
Posts: 204
ACP 22 Aug 2014, 15:18
Are there any such macros publicly available?
Post 22 Aug 2014, 15:18
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 22 Aug 2014, 17:08
ACP wrote:
Are there any such macros publicly available?


Have you searched this board? (Perhaps you cannot since 'vxd' is a rather short keyword)? What about the web - try a query "vxd site:flatassembler.net", there is something:
http://www.google.com/search?q=vxd+site%3Aflatassembler.net

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 22 Aug 2014, 17:08
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
ACP



Joined: 23 Sep 2006
Posts: 204
ACP 22 Aug 2014, 19:58
Yes comrade, thank you but I think I did my homework before asking the question. The closes thing I've found is this thread: http://board.flatassembler.net/topic.php?t=5990&view=previous

but after taking a look at those sources I believe they are incomplete and may not even be compiled. I couldn't even find the VMMCall macro. Anyway fasm is using vmmcall instruction due to VMX support. So the proper macros should be named VxDCall (which is also correct according to MS docs).

I would alread done it with MASM if not two things:

1. I prefer FASM a lot more
2. I would need to setup MASM enviroment and I'm not sure if current versions still support this format.
Post 22 Aug 2014, 19:58
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.