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 mbbrutman Homepage, Washington, USA, 04.06.2011, 04:13

Polling was fine for my PCjr, but I probably should fix this for later machines.

I am thinking of doing a check for the DOS version, and then if it is one of the versions that supports int 2f.1680 using it each time I check for a new packet and one is not there. I'm using int 2f.1680 now in an XP DOS Box with SWSVPKT and the busy polling behavior that consumed a core is gone, but the application is more than usable.

I understand that the call yields the processor for a time slice, where the OS supports that. But what is the definition of a time slice? I imagine it varies from environment to environment.

The interrupt list says that it was supported in DOS 5. What does DOS 5 do with it?

---
mTCP - TCP/IP apps for vintage DOS machines!
http://www.brutman.com/mTCP

 

Complete thread:

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