It may seem kinda newbie-ish, but I'm new to Qbasic and I was wondering what the best way is to execute external .exe files. It can't rely on COMMAND.COM, so it can't be the "SHELL()" function.
Are you already realised all MS-DOS services(memory, file functions) to run QBasic? If you write your own MS-DOS compatible OS why you not improve or add your functions to FreeDOS? And finally, if you write an OS - what the promblem with low-level functions?
It "could be" possible...
but it would be 10x the work as it would be with C/C++
Qbasic is also naturally slow...
by the time you get done, You will have basically written the whole thing in assembly anyways... and tons of Call interupts and call absolutes...
Sounds like a *fun* task...
Good luck...
Just remember... there is a near endless list of Hex Codes to take into account...
are you trying to make an OS or a GUI / shell?
Oh, btw... you might want to through this question around in the Assembly forum and see what the assembly code is to run a program... then use Debug to generate the Hex Code from the ASM, then use CALL ABSOLUTE to launch your program...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.