If I have two asm-programs, let's say prog1 and prog2, how can I jump from prog1 to the beginning of prog2? Is there an interrupt for it or something? How is it done in sysexplorer and others, when you execute a program from it?
Calling other programs
Started by
Zan
, Aug 03 2003 08:58 AM
2 replies to this topic
#1
Posted 03 August 2003 - 08:58 AM
#2
Posted 03 August 2003 - 09:13 AM
Well in ASM it's a little bit more difficult to launch another prog, but in C (like sysxplore) you just have to propperly use the exec(v) function.
if you want examples take a look to the source code of TOUCHE 3.45 (on my website)
if you want examples take a look to the source code of TOUCHE 3.45 (on my website)
#3
Posted 03 August 2003 - 10:54 AM
yes there are interuptions
Search Dos Interuptions List on google to find and choose Int 21h and find the Exec function
(this is in pure x86 asm code)
in just use execv
you can also look in DirXplor's sources available on my website !
Search Dos Interuptions List on google to find and choose Int 21h and find the Exec function
(this is in pure x86 asm code)
in just use execv
you can also look in DirXplor's sources available on my website !
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users