So now I want to make the software even faster by replacing his routines to "call interrupt" with my own that will use "call absolute" so it works in all versions of DOS Qbasic. (1.1, 4.0, and 4.5).
The problem I have is the assembly language itself. To call an interrupt one would use:
Code: Select all
Int xx
Code: Select all
PUSH BP
MOV BP, SP
MOV BX, [BP+06h]
Int BL
POP BP
RETF
Code: Select all
d$="(above assembly in binary code)"
dseg%=varseg(d$)
doff%=sadd(d$)
def seg=dseg%
call absolute(intno%,doff%)
def seg=0
How do I go about fixing this?