Reducing CPU Useage in XPJune 23 2005 at 10:59 PM
There is a simple way to reduce the cpu useage in XP when running QB programs.
Basically what you need to do is to tell windows to relase the current time slice of the dos vm.
You can do with by calling Interrupt 2F, AX=1680. Its best to put this in a main program loop.
ASM$ = MKL$(&HCD1680B8) + MKI$(&HCB2F)
DEF SEG = VARSEG(ASM$)
LOOP WHILE INKEY$ = ""
' MOV AX, 1680H
' INT 2F