| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | msged hard polling |
Answering msg from andrew clarke to rowan crowe,
on Friday April 28 1995 at 21:50
ac> case T_DV:
ac> asm {
ac> mov ax, 101ah
ac> int 15h
ac> mov ax,1000h
ac> int 15h
ac> mov ax,1025h
ac> int 15h
ac> }
ac> break;
Oooh, it's a well behaved timeslice, saves and restores the stacks too.
Most people just use INT 15h/AX=1000h
BTW, the above code will have undefined results if DV is not present,
and I wouldn't recommend it be called if DV has not been detected.
ac> The code is there (partially), but ironically pause() is not called
ac> from anywhere in the program!
Bummer.
rc>> DV timeslicing is easy, as is Doze and OS/2
ac> Is INT 28h safe to call in native DOS, Windows or OS/2 ?
It's safe within DOS, since it's a DOS interrupt. :) It's called while
DOS is doing stuff like waiting for a keypress, but it's fairly useless as
a generic timeslice because it's also called at other times when DOS is
actually doing something. I wrote a simple utility to convert INT 28h
timeslices to DESQview timeslices, and even a simple "dir" gets
very jerky -- because INT 28h is being called several times while it's
drawing out.
---
* Origin: Jelly-Bean software development. (3:635/727.1)SEEN-BY: 50/99 632/348 998 633/371 634/384 635/502 503 513 544 727 638/100 SEEN-BY: 639/100 640/230 690/718 711/401 410 430 807 808 809 933 934 713/888 SEEN-BY: 800/1 7877/2809 @PATH: 635/727 632/348 635/503 50/99 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.