Disabling interrupts

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
JPI
Newbie
Posts:1
Joined:Mon Nov 23, 2020 7:11 pm
Disabling interrupts

Post by JPI » Mon Nov 23, 2020 7:25 pm

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.

Peter Swinkels
Newbie
Posts:8
Joined:Fri Sep 17, 2021 12:08 pm

Re: Disabling interrupts

Post by Peter Swinkels » Wed Sep 29, 2021 10:15 am

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?

Post Reply