Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Call absolute crashes after N calls?
#31
COM files expect to loaded in a certain spot in memory. But if the COM files doesn't make that assumption, then yeah sure. Just load it into an array or a string and CALL ABSOLUTE it.

But when the COM program quits, your entire program will quit. So, it would have to be a COM file that you wrote to use retf instead of int 21h to quit. Such a COM file might run properly in dos (outside of your qb program), but when it tries to quit with retf dos might freeze.

There's also the fact the QB allocates all available memory, so the COM program's attempts to allocate some will fail unless you free memory for it with SETMEM.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)