Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

With DPMI into protect mode and back - EDIT: example (Developers)

posted by DOS386, 26.08.2010, 09:18

> > The only way is just to terminate the application.
> Correct.

Not that much.

> > terminate it. Maybe is possible to run some child process but I don't
> > want to call any external EXE file

> This is correct too. To accomplish this without relying on files, create a
> fake process. You can do this manually, then set the PSP with Int21.50 or
> use Int21.26 or Int21.55.

Right. You exposed a big advantage of DOS compared to Windows:

In DOS there is a (hacky, as usual) way to brew a separate process without brewing a file. In Windaube this is impossible to accomplish (except very aggressive kernel intrusion at least):

> The name of the module to be executed. This module can be a
> Windows-based application. It can be some other type of
> module (for example, MS-DOS or OS/2

> process in RM. Worked in NTVDM after

WtF ??? :confused:

Works for me in FreeDOS and EDR-DOS (my own, not example above).

BTW, I prefer INC CR0 from DPMI :-)

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 193 users online (0 registered, 193 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum