Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

hot dos (Developers)

posted by kerravon E-mail, Sydney, Free World South, 09.05.2025, 02:01

> > This would only be if you are actually in protected
> > mode though, right?
>
> Yes.
>
> > I am interested in adding hlt to DOS 4.0 which would
> > be real mode. It should always be a valid instruction,
> > right?
>
> In Real 86 Mode yes. But the DOS can run with an EMM using V86 Mode, and
> then HLT may or may not work in the 86 Mode code.

I'm not familiar with V86 mode.

So DOS 4.0 can run in V86 mode, and then some instructions
are potentially no longer available? Is it just HLT or
could I potentially be denied access to do OUT etc?

And if so, I should ideally avoid such instructions and
do what instead? BIOS calls? ie with the benefit of
hindsight, DOS 4.0 shouldn't issue HLT etc, it should
instead just do BIOS calls?

 

Complete thread:

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