[Back to CRT SWAG index] [Back to Main SWAG index] [Original]

    {
    > does anyone have an accurate BAsm Delay routine that is
    > compatible With the one in the Crt Unit? please post it...
    }

    Procedure Delay(ms : Word); Assembler;
    Asm {machine independent Delay Function}
      mov ax, 1000;
      mul ms;
      mov cx, dx;
      mov dx, ax;
      mov ah, $86;
      int $15;
    end;

[Back to CRT SWAG index] [Back to Main SWAG index] [Original]