N
Nori
Okay. I am working on a small operating system called MOSS (mini
operating system/shell). One of the features of this is it has a file
system of its own which apears to the host operating system as a large
file. If you would like more information you can go check out
comp.lang.c where I have described it in detail many a time. Anyway as
some of you may know C has no way to read executeable code and execute
what it has read. I have heard that perl does. What I mean is:
This is the psudo file system that is a large file
::::FILE ONE:::
this is text
::::FILE TWO:::
exicuteable code is here
::::FILE THREE:::
more text text text text
Okay. What I need is some way to go to file two and execute what is in
it. Basicly I'm looking for a way to execute programs that are in a
file togather. For instance I could also have file three contail
executable code and have it read and executed from two or three then,
and I could have the text be read from one.
Take note that this is only an example and the real file system
contains several codes dictating what type of file it is so the system
knows what to do. Thanks in advanced for any help.
Nori
P.S. If this doesn't make any sence check out comp.lang.c and read some
of my past posts.
operating system/shell). One of the features of this is it has a file
system of its own which apears to the host operating system as a large
file. If you would like more information you can go check out
comp.lang.c where I have described it in detail many a time. Anyway as
some of you may know C has no way to read executeable code and execute
what it has read. I have heard that perl does. What I mean is:
This is the psudo file system that is a large file
::::FILE ONE:::
this is text
::::FILE TWO:::
exicuteable code is here
::::FILE THREE:::
more text text text text
Okay. What I need is some way to go to file two and execute what is in
it. Basicly I'm looking for a way to execute programs that are in a
file togather. For instance I could also have file three contail
executable code and have it read and executed from two or three then,
and I could have the text be read from one.
Take note that this is only an example and the real file system
contains several codes dictating what type of file it is so the system
knows what to do. Thanks in advanced for any help.
Nori
P.S. If this doesn't make any sence check out comp.lang.c and read some
of my past posts.