TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: rowan crowe
from: andrew clarke
date: 1995-04-28 21:50:10
subject: msged hard polling

28 Apr 95 08:15, rowan crowe wrote to Paul Edwards:

rc>>> Does msged support timeslicing?

PE>> Sort of.  It calls DosSleep at appropriate spots.  DosSleep
PE>> releases the timeslice.  It doesn't do this in the DOS
PE>> version though.  BFN.  Paul.

rc>     So why not add it? 

/* ibmscrv.c
**
**  Released into the PUBLIC DOMAIN 10 jul 1994 by John Dennis
**
...

void pause(void)
{
    switch (mtask)
    {
        case T_DOS:
            asm {
                int 28h
            }
            break;

        case T_DV:
            asm {
                mov ax, 101ah
                int     15h
                mov     ax,1000h
                int     15h
                mov     ax,1025h
                int     15h
            }
            break;

        default:
            break;
    }
}


The code is there (partially), but ironically pause() is not called from
anywhere in the program!


rc> DV timeslicing is easy, as is Doze and OS/2

Is INT 28h safe to call in native DOS, Windows or OS/2 ?

andrew

--- Msgedsq/2 3.04
* Origin: This message is dedicated to the public domain (3:635/727.4{at}fidonet)
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™.