Crazed idea for a project. (0.0.1 is here -check out)
nice idea, but won't work. If this resource is a function that is not thread-safe or shared variable? I could copy a value but this ain't reliable solution.Build a check into the thread library which will trap this and in return, create a fake resource Y and tell the thread to use it then.
Sure my first idea for a milestone to reach is: simple gfx enviroment where I can open programs in windows. each window is a console application. nothing fancy but is useful.
yep tnx:) Once base system is ready anyone can write programs for my shell without having to worry about threads or such matters -kernel *must* take care of these.
Although programs must be written using fbos api. I will release crt stuff specialised for fbos. fb runtime in most cases can't be used -atleast until we have fbos specific runtime library for freebasic...
Although programs must be written using fbos api. I will release crt stuff specialised for fbos. fb runtime in most cases can't be used -atleast until we have fbos specific runtime library for freebasic...
FreeBASIC has dos, windows and linux ports. to create an executable for dos you must compile it with dos version of the freebasic compiler. Windows executable won't work on dos nor in linux.
The other way is to use cross-compiling. If all headers and libraries are present then with windows version of the compiler you can cross-compile for dos platform. See freebasic docs for more information.
FBOS runs programs that are compiled for dos -it needs a special linker so program compilation is a bit complicated. But nothing impossible.
The other way is to use cross-compiling. If all headers and libraries are present then with windows version of the compiler you can cross-compile for dos platform. See freebasic docs for more information.
FBOS runs programs that are compiled for dos -it needs a special linker so program compilation is a bit complicated. But nothing impossible.
this is a problem with several issues. FBOS enviroment is different to one of pure DOS, thus gfxlib won't work -unless a fbos specific driver isn't written, same goes with run time library.
What makes this task difficult:
* fbos is multitasking enviroment
* fbos will be gui based enviroment -again incompotable with gfxlib
* fbos is already loaded so normal exe file can't be loaded, obly fbos executables.
What makes this task difficult:
* fbos is multitasking enviroment
* fbos will be gui based enviroment -again incompotable with gfxlib
* fbos is already loaded so normal exe file can't be loaded, obly fbos executables.