flat assembler
Message board for the users of flat assembler.

Index > Windows > com files executing windows` functions?

Author
Thread Post new topic Reply to topic
rambo



Joined: 28 Feb 2005
Posts: 22
Location: posen, poland
rambo 13 Jul 2005, 16:08
i`ve heard about trick by which a com file can be executed in 32bit mode and is able to call any of windows` functions.

anyone heard about this?
Post 13 Jul 2005, 16:08
View user's profile Send private message Visit poster's website Reply with quote
T&K(r)



Joined: 10 Jul 2005
Posts: 18
Location: Poland - > Krakow
T&K(r) 13 Jul 2005, 17:45
This may be useful for erveryone interesed this problem - file in this link contains DOS documentations about Interrupts, ( full version of this doc contains also CMOS, x86 bugs, ports and more )

THe author of this Files is Ralf Brown

The link : http://80.48.56.2/~grog/gr0g/inne/extras/specyfikacje/interrup.zip

_________________
my GG ( Polish Instant Messager ) number is 8734187

Gdy widzisz kolejke - wstąp do niej - co ci szkodzi Smile
Post 13 Jul 2005, 17:45
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 13 Jul 2005, 17:48
rambo, I don't think that is possible; however, many of the <64kb demos use a .com file 'dropper' for the real win32 exe file, since you can write very small and pretty efficient decoders for .com files.
Post 13 Jul 2005, 17:48
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 13 Jul 2005, 17:53
maybe wat you meant are some multiplex interrputs (int 2Fh i think) which are created by DOS 7.0 (one which comes with windows), They have functions like creating file with long name, etc. to use some of windoze's unctionality under DOS, but they aren't really windoze's functions
Post 13 Jul 2005, 17:53
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 13 Jul 2005, 18:25
Quote:

They have functions like creating file with long name, etc. to use some of windoze's unctionality under DOS, but they aren't really windoze's functions

They only allow very limited functionality, and they only work while windows is loaded (dos box under windows = works, plain DOS7 mode = doesn't)
Post 13 Jul 2005, 18:25
View user's profile Send private message Visit poster's website Reply with quote
T&K(r)



Joined: 10 Jul 2005
Posts: 18
Location: Poland - > Krakow
T&K(r) 13 Jul 2005, 19:16
Quote:
They have functions like creating file with long name, etc. to use some of windoze's unctionality under DOS, but they aren't really windoze's functions


Look at this attached file - it's a part of linked by me Doc about interrputs - I edited only Interput functions that is about Windows

You can get adress of API entry point, and more interrising - get device api point

Sorry that this Doc is only for Win.311 max.
( Interputs writed in this file maybe can't run in WinXP - i don't know )


Description: Part of Ralf Brown's Interputs List
Download
Filename: Interput_2F.txt
Filesize: 61.87 KB
Downloaded: 786 Time(s)


_________________
my GG ( Polish Instant Messager ) number is 8734187

Gdy widzisz kolejke - wstąp do niej - co ci szkodzi Smile
Post 13 Jul 2005, 19:16
View user's profile Send private message Reply with quote
r22



Joined: 27 Dec 2004
Posts: 805
r22 14 Jul 2005, 16:41
Could you execute say Rundll32.exe from the com with command line parameters. If so that would be a cheesy api usage hack.
Post 14 Jul 2005, 16:41
View user's profile Send private message AIM Address Yahoo Messenger 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.