"QuickBasic 4.0 and above had the INTERRUPT and INTERRUPTX functions which essentially did everything that TSR1 did plus it integrated much better with libraries written in other languages. So TSR1 is not needed on these platforms. The interpreter on the other hand only had CALL absolute."
So it would be the same as using an Interrupt mouse or other routine. The author used ASM to create it.