I can think of a few (DirectQB, BlastLib, UGL, ...) but they all appeared much later than the original QBasic demo programs (late 90s / early 00s). At the time these games were written, if you really wanted faster or better graphics, you probably didn't use QBasic to begin with. And most importantly, if my mind doesn't play tricks on me, I think those libraries only worked with QuickBasic (the commercial compiler), not QBasic (the less feature-right interpreter shipping with MS-DOS). The only assembly speedups you could have in QBasic were through CALL ABSOLUTE.