How to use X#?

Topics: X#
Developer
Aug 27, 2012 at 9:35 PM

I'm trying my hand at creating an executable loader. When I load the ELF file into memory, I have to get the data and then let the OS take control and execute it. Getting the data from memory is where X# will come in. Where is the best tutorial for X#? I need to know the syntax and the way to call it from C# code.

Aug 27, 2012 at 11:54 PM
scifiboi wrote:

I'm trying my hand at creating an executable loader. When I load the ELF file into memory, I have to get the data and then let the OS take control and execute it. Getting the data from memory is where X# will come in. Where is the best tutorial for X#? I need to know the syntax and the way to call it from C# code.

I asked the same thing yesterday lol because I am doing the exact same thing lol.

Developer
Aug 28, 2012 at 12:12 AM

lol. Did you get a response?

Aug 28, 2012 at 12:16 AM
scifiboi wrote:

lol. Did you get a response?

No not yet but the I saw devs responding to other posts after mine :(

Developer
Aug 28, 2012 at 12:20 AM

Wierd. Okay then, Google, here I come! :D

Aug 28, 2012 at 12:21 AM
scifiboi wrote:

Wierd. Okay then, Google, here I come! :D

ok tell me if you find anything because all I need to do is use the call instruction....

Coordinator
Aug 28, 2012 at 12:25 AM
On 8/27/2012 5:36 PM, scifiboi wrote:
> I'm trying my hand at creating an executable loader. When I load the ELF
> file into memory, I have to get the data and then let the OS take
> control and execute it. Getting the data from memory is where X# will
> come in. Where is the best tutorial for X#? I need to know the syntax
> and the way to call it from C# code.

The only things currenty are the examples in DebugStub which show pretty
much all of X#.
Developer
Aug 28, 2012 at 12:34 AM

Cool. I'll have a look at that.

Developer
Aug 28, 2012 at 12:40 AM

Kudzu, is this (http://www.codeproject.com/Articles/220076/Csharp-Open-Source-Managed-Operating-System-Intro) outdated since all of the X# updates?

Aug 28, 2012 at 12:41 AM
kudzu wrote:
On 8/27/2012 5:36 PM, scifiboi wrote:
> I'm trying my hand at creating an executable loader. When I load the ELF
> file into memory, I have to get the data and then let the OS take
> control and execute it. Getting the data from memory is where X# will
> come in. Where is the best tutorial for X#? I need to know the syntax
> and the way to call it from C# code.

The only things currenty are the examples in DebugStub which show pretty
much all of X#.

The think I want to know is how to actually compile it. I know how you call methods but I mean how do you compile your code ?

Coordinator
Aug 28, 2012 at 6:49 AM
That article is a bit outdated yes.

Grunt: what discussion? there was a question about Cosmos.COmpiler.X86 which was answered by me.


On Tue, Aug 28, 2012 at 2:41 AM, GruntXProductions <notifications@codeplex.com> wrote:

From: GruntXProductions

kudzu wrote:
On 8/27/2012 5:36 PM, scifiboi wrote:
> I'm trying my hand at creating an executable loader. When I load the ELF
> file into memory, I have to get the data and then let the OS take
> control and execute it. Getting the data from memory is where X# will
> come in. Where is the best tutorial for X#? I need to know the syntax
> and the way to call it from C# code.

The only things currenty are the examples in DebugStub which show pretty
much all of X#.

The think I want to know is how to actually compile it. I know how you call methods but I mean how do you compile your code ?

Read the full discussion online.

To add a post to this discussion, reply to this email (Cosmos@discussions.codeplex.com)

To start a new discussion for this project, email Cosmos@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Aug 28, 2012 at 12:09 PM
mterwoord wrote:
That article is a bit outdated yes.

Grunt: what discussion? there was a question about Cosmos.COmpiler.X86 which was answered by me.


On Tue, Aug 28, 2012 at 2:41 AM, GruntXProductions <notifications@codeplex.com> wrote:

From: GruntXProductions

kudzu wrote:
On 8/27/2012 5:36 PM, scifiboi wrote:
> I'm trying my hand at creating an executable loader. When I load the ELF
> file into memory, I have to get the data and then let the OS take
> control and execute it. Getting the data from memory is where X# will
> come in. Where is the best tutorial for X#? I need to know the syntax
> and the way to call it from C# code.

The only things currenty are the examples in DebugStub which show pretty
much all of X#.

The think I want to know is how to actually compile it. I know how you call methods but I mean how do you compile your code ?

Read the full discussion online.

To add a post to this discussion, reply to this email (Cosmos@discussions.codeplex.com)

To start a new discussion for this project, email Cosmos@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Weird I guess you didn't see it but I posted this two days ago ( http://cosmos.codeplex.com/discussions/393137 )