Page 1 of 1

Disabling interrupts

Posted: Mon Nov 23, 2020 7:25 pm
by JPI
Hello all!
Im am programming a win98 computer with QB in DOS prompt . I control stepping motors with OUT(port) commands, but I think the system interrupts cause the stepping to be not smooth, particularly when the stepping freq. is high.
So how can I disable interrupts? Even mouse and timer interrupts can go away, actually all ints. I have MASM. but I dont know how to link it with QB.
Thanks.

Re: Disabling interrupts

Posted: Wed Sep 29, 2021 10:15 am
by Peter Swinkels
Personally I prefer to use NASM or for very small things you can even use the MS-DOS debugger to create small binary files. Also, I wouldn't link binary files but rather use CALL ABSOLUTE to call snippets of binary code. What does you assembly code look like btw?