It's quite simple, really:
the most classic incorporation in qbasic that you can find is ASM. The reason is very obvious: speed!
To incorporate ASM with Qbasic you need first of all to know ASM and a ASM comiler.
You might have noticed that every time you compile a BAS file, with the new EXE file come even an OBJ file. This last file can be LINKed (With LINK.EXE) to a LIB file, that is a Qbasic Library File.
I know i mixed up things a bit, so ie:
wright your prosedure in ASM and call it let's say SAY_HI
compile your file into an EXE (SAY_HI.exe)
take the SAY_HI.OBJ and link with LINK.EXE (like this "C:/YOURQBFOLDER/LINK SAY_HI.OBJ"
after that you should have your SAY_HI.LIB to use with Qbasic (C:/YOURQBFOLDER/QB /L SAY_HI - remember you need a .BI file too to declare it with '$INCLUDE !)
finally you just use your ASM procedure by calling it like normal QB library sub!
Hope you understood something from this!
