Posts: 64
Threads: 13
Joined: Apr 2005
I am just wandering if anyone has ever implemented some kind of RTL
for DOS, that could work the same way as DLL for Win.
If you know some examples please tell me.
url=http://zerodivide.h15.ru/cyclone.html]Cyclone v2.5.2 GUI For QBasic 4.5/7.1[/url]
Explorer For DOS
Posts: 525
Threads: 23
Joined: Oct 2004
WQhat do you mean by runtime Zero? As in, a runtine for what, for example?
Posts: 64
Threads: 13
Joined: Apr 2005
I ment RTL as a separate programm that could be loaded into DOS memory and share its pocedures with another programm.
like this.
Code:
LoadRTL("d:\basic\MyRTL.RTL")
RunProc("procedure_name",parameters)
url=http://zerodivide.h15.ru/cyclone.html]Cyclone v2.5.2 GUI For QBasic 4.5/7.1[/url]
Explorer For DOS
Posts: 3,522
Threads: 189
Joined: Dec 2003
It's easy enough to make, just load comfiles and execute them.. they have to be written a certain way though, and compiled a certain way..
It was a planned addon for Novix..
Posts: 525
Threads: 23
Joined: Oct 2004
Z!re, what's the novix website again? I wanna read more about it :-).
Posts: 64
Threads: 13
Joined: Apr 2005
Zire u r meaning using of ASM to get .com files.
I ment compiled BAS programms.
I managed to run Procedures of one programm from inside another
but there is a problem.
Any sub call from running proc crushes DOS.
That is because Code segment is still tuned to Code seg of another programm.
url=http://zerodivide.h15.ru/cyclone.html]Cyclone v2.5.2 GUI For QBasic 4.5/7.1[/url]
Explorer For DOS
Posts: 336
Threads: 4
Joined: Nov 2004
Z!re plan would work pretty good you could write your program in asm and assumble as com file which is basicly raw machine code no header information.
then you can simple open the com as binary load it into an array then use Call absolute