TheTechGuide Forum
General Category => Software => Topic started by: axl on November 08, 2001, 08:35:27 PM
-
hi
does anyone know how to start an assembly program that has no screen output before or as early as possible during windows 2000\'s bootup?
any help is appreciated
axl
-
You have to start it as a service. It can be done. I\'m busy at the moment, if/when I have some time I\'ll put up some simple instructions for it.
-
how soon into the bootup do services start? i want to start it asap, not after almost all of windows is loaded.
what i actually want to do is display a boot up msg on my connected serial lcd display. that would only make sense early in the boot process.
thanks
-
Don\'t know if this would work then. Services start later in the boot process, but before a user logs in.
-
It may be possable to create a sys file that start as an device driver, If you do a safe boot you get to see which drivers are load so if you find out the location in the registry were they are loaded you will be able to do it like that.
By the way why would you want an assembly prog loaded that soon, I can only thing of pasword cashing progs would be the most usefull to look at for a functionthat loads very early on.
-
as i said before
\"what i actually want to do is display a boot up msg on my connected serial lcd display. that would only make sense early in the boot process.\"
but thanks alot for the idea with the drivers!! do you know if i could just \'run\' a prog from there, or would i have to \'disguise\' it as a driver?
once again, thanks for the comments
-
www.sysinternals.com has a couple of papers on how to do this. Here are a couple of links:
How to build native applications:
http://www.sysinternals.com/ntw2k/info/native.shtml (http://\"http://www.sysinternals.com/ntw2k/info/native.shtml\")
Inside the native API:
http://www.sysinternals.com/ntw2k/info/ntdll.shtml (http://\"http://www.sysinternals.com/ntw2k/info/ntdll.shtml\")
good luck,
tk