News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

small stub to load and run 64-bit PE binaries in DOS

Started by _japheth, August 13, 2018, 06:56:31 PM

Previous topic - Next topic

_japheth

Hello boys,

I've started to program again a little bit. Since I've abandoned Windoze, I wrote something for good old DOS: a small stub that is supposed to be linked to a "standard" 64-bit PE binary. Then, if you are able to boot DOS in real-mode, it may load the binariy into extended memory and run it.

The API that the binary can use is somewhat "limited", don't expect a nice "Hello world"-MessageBox - you are in text mode. However, the benefits are: you're binary runs in ring 0, thus can do a lot of things that are VERBOTEN in Windoze or Linux. Also, the memory is "identity mapped", so you can easily check if your 64 GB machine HAS indeed such amounts or RAM.

For more details see https://github.com/Baron-von-Riedesel/Dos64-stub



Dummheit, gepaart mit Dreistigkeit - eine furchtbare Macht.

hutch--


_japheth

> What happened to your old avatar ?

nickname japheth was already used in Github ( it was most likely me signing up 10 years ago and then forgetting about this ), so I used "Baron von Riedesel", which is also a very nice name. You may shorten it to "Baron", if you like -  a reference to "Huckleberry Finn" with the "Duke" and the "King" .
Dummheit, gepaart mit Dreistigkeit - eine furchtbare Macht.

hutch--

I probably have a copy of your old blue one somewhere.