This project is read-only.

Standalone version/Application frame

Sep 9, 2008 at 2:12 PM
Edited Sep 9, 2008 at 2:18 PM

in general: Is it possible to work on a Cosmos fork to make it possible to start the x86 binaries within a windows application?

What we want to do:

- Compile simple .NET assemblies (nothing complex) to binaries (faster runs as with .NET)
- Start our base application which loads all binaries, this application will work as an scheduler and decide when to start and suspend which of these "tasks". 

Why .NET? It's a requirement that these small calculation programs run in the binary or in interpreter mode (so easy debugging is possible). .NET in combination with IL2CPU would give us both possibilities.

Why can't we use qemu or another emulator to run Cosmos within? The problem is simple: We require direct hardware access to some PCI cards - thats not possible with qemu and other emulators I think. Is it possible to write a Windows-application that can lode the x86-binaries generated by IL2CPU? Sure - there is no complete solution ready, we know. Right know it's just an idea.

Sep 11, 2008 at 1:30 AM
If you're after the benefits of pre-compilation *and* you still need run within the Windows environment then maybe NGEN ( ) might be a better solution for you.

Nov 19, 2008 at 7:40 AM
This is certainly possible. In fact, this is how we started the development of IL2CPU: creating minimal win32 executables (starting with an "application" doing "int x = 1 + 2;") to have debugging.

Much of the core work could be reused.

please join our mailinglist at yahoogroups: cosmos-dev