Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

polling (Announce)

posted by Arjay, 04.06.2011, 10:46

> I don't think any kernel provides this interface directly. That entry
> probably just means that interface became popular with MS-DOS 5, or that
> MS-DOS 5+ programs use it or something.

Prior to AX=1680h, Interrupt 28 (DOS 2+ - DOS IDLE INTERRUPT) was the main method used. A good source of info on time slice returning are programs BBS Door designed to run under Desqview/Windows and OS/2. However be aware there are several different OS specific calls that exist.

A Windows aware DOS game that I wrote in 1997 used the 1680h calls and I think Int 28h as well however I didn't implement some DESQview/OS2 calls for example as they were already dead at that time. I'll see if I can dig out the src for that particular routine. On a related note it also worth noting the existance of WINOLDAP / Int 2F/AX=1607h, Int 2F/AX=1607h/BX=0006h which when collectively used together allowed a DOS program to not only interface with the clipboard (fairly well documented) but also change the current task focus to itself and maximise the screen etc. My DOS also made use of these calls, e.g. GET current VM then Set VM (after checking they were supported etc...)

 

Complete thread:

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