News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

32 bit addressing in DOS.

Started by guyenMasm, February 11, 2007, 10:03:06 PM

Previous topic - Next topic

anana

thanx
i am very happy for your reply :bg

you clarify for me the most important thing htat i am looking for

i know that the dos box runing in  (v86)
and it use the api to perform it's function

but  do you think that i can't shift from it to protected mode and then to real mode?

i read the section of shifting mode in the sys. progr. guide before
but i was think that this section can be applicated on dos box.

thanx for your help

is there any method to shift from mode to mode using debug.exe?????

japheth

Hi,

> but  do you think that i can't shift from it to protected mode and then to real mode?

Not in a windows DOS box. That's because to switch to real-mode your code must run in protected-mode ring 0, which is not accessible for applications in windows XP.

> is there any method to shift from mode to mode using debug.exe?

No, debugx.exe never changes modes by itself. It's deliberately kept as simple as possible.



MichaelW

#17
Well, assuming DEBUG is running in real mode there actually is a method (of shifting to protected mode), but it would be so difficult and time consuming that it would not be worth doing IMO.
eschew obfuscation

anana

thanx again

i can use the command  'e'   in debug to enter hexa code into the memory then i can use the command  'r'  to run this code ; if this code is the code of shifting do you think that it will not work??

if so; that means the killing of my project!!!!

what i was think to do is :
when a programmer came to  a computer without any tools( no compiler, no linker)
and he want to achieve some task,can he use the above method to do what he want
i mean calling tha api from debug.exe

this is all the story  :8)

thanx for you
from now i will stop my research in this subject it seems impossibl :'(e