Picon

Source Reorganized

Just a heads-up. The Cosmos source has been reorganized and cleaned up. We are going with a flat structure on disk and we will use solution folders to organize projects. I think I fixed up all the paths in the user projects, but I didn't open all of them to test. If anything is broken, let me know, and I will get it fixed up.


__._,_.___
Posted by: Charles Betros <charles.betros-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------






__,_._,___
Picon

Cleanup.....

With MS releasing VS Community, we are going to remove "express" support, as it basicaly is dead now..

Any takers?

(Trivalik, can you please contact me?)



__._,_.___
Posted by: Matthijs ter Woord <matthijsterwoord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------






__,_._,___
Picon

VS2013 Community Edition

Since MS has now released what basically amounts to VS2013 Professional as a free community edition(http://www.visualstudio.com/products/visual-studio-community-vs) for non-commercial use or commercial use for small organizations, should this maybe be the premier target for Cosmos Developer kit?


It would eliminate the need for any support for the Express editions, and provide a semi-stable basis for developers to target


BTW, I'm not volunteering. Just a suggestion ;-)



__._,_.___
Posted by: sschocke-LzPWRcFV0Gjk1uMJSBkQmQ@public.gmane.org


--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------






__,_._,___
Picon

Dev-Kit Setup error [1 Attachment]

Hello,


When

  1. Open a command prompt and "cd" to the root directory of the source.
  2. Run "install.bat"

then Error says: "Setup did not start". I add picture p>


I have VS Ultimate, Windows 8.1 pro


I need some help.


Thanks



__._,_.___

Attachment(s) from selcuk.gural-/E1597aS9LQAvxtiuMwx3w@public.gmane.org [Cosmos-Dev] | View attachments on the web

1 of 1 Photo(s)

Posted by: selcuk.gural-/E1597aS9LQAvxtiuMwx3w@public.gmane.org


--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------






__,_._,___
Picon

Latest checkin

Question for trivalik: You changed the cleanup sequence of the installation. Are you sure innosetup will cleanup old files when doing updates? We introduced the cleanup sequence because old files wouldn't get deleted accordingly....



__._,_.___
Posted by: Matthijs ter Woord <matthijsterwoord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------






__,_._,___
Picon

Implementing plugs.

Hello,

this is my first time asking for help,

I want to try and implement a plug, more specifically data types like Dictionary<Tkey, Tvalue>.

Im not sure if this would be a plug? and any tips on creating plugs ?

 



__._,_.___
Posted by: myvarhd-/E1597aS9LQAvxtiuMwx3w@public.gmane.org


--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------






__,_._,___
Picon

IL Interpreter issue

With the help of Matthijs the interpreter issue has been identified. 

The following code makes the problem happen:
this.mATA = BlockDevice.Devices[0] as AtaPio;

I initially thought the implementation of the Isinst OpCode had a bug in it, but that code looked correct. That means the cause had to be in the IL interpreter.

In OpType.cs there 
case Code.Isinst: StackPopTypes[0] = typeof(object); StackPushTypes[0] = typeof(bool);

The StackPushTypes[0] should be the specific object type that will be checked instead of bool.


__._,_.___
Posted by: Charles Betros <charles.betros-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------






__,_._,___
Picon

Compiler Bug (?)

While testing the FAT implementation I ran across a compiler error using the "as" operator. The offending line of code was:

for (int i = 0; i < BlockDevice.Devices.Count; i++) { if (BlockDevice.Devices[i] is AtaPio) { AtaPio xATA = BlockDevice.Devices[i] as AtaPio; <- Works this.mATA = BlockDevice.Devices[i] as AtaPio; <- Compiler Error break; } }
The error is "Wrong poptype encountered."



__._,_.___
Posted by: Charles Betros <charles.betros-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------






__,_._,___
Picon

Int64[], UInt64[], and More!

I think I have finally fixed the issue with 64bit integer arrays. I found out that the high and low 32bits were backwards. Here's some so everyone can check me.

(From the disassembly of a C# console app)
xArray642[0] = 0x2020202002020202; mov dword ptr [eax+8],2020202h mov dword ptr [eax+0Ch],20202020h UInt64 x8 = xArray642[0]; mov edx,dword ptr [eax+0Ch] mov eax,dword ptr [eax+8] mov dword ptr [ebp-48h],eax mov dword ptr [ebp-44h],edx


(Cosmos generated assembly)
SystemVoidSentinelKernelKernelRun.IL_001F: ; Ldc_I8 push dword 0x20202020 push dword 0x2020202 SystemVoidSentinelKernelKernelRun.IL_0028: ; Stelem_I8 mov dword EBX, [ESP + 8] mov dword ECX, [ESP + 12] add dword ECX, 0x10 push dword 0x8 push dword EBX pop dword EAX mul dword [ESP] add dword ESP, 0x4 push dword EAX push dword ECX pop dword EAX add dword [ESP], EAX pop dword ECX ; Start 1 dword pop dword EBX mov dword [ECX], EBX add dword ECX, 0x4 ; Start 1 dword pop dword EBX mov dword [ECX], EBX add dword ECX, 0x4 add dword ESP, 0x8 SystemVoidSentinelKernelKernelRun.IL_002B: ; Ldelem_I8 pop dword EAX mov dword EDX, 0x8 mul dword EDX add dword EAX, 0x10 pop dword EDX add dword EDX, EAX push dword [EDX + 4] push dword [EDX] SystemVoidSentinelKernelKernelRun.IL_002C: ; Stloc ; EBPOffset = 16 pop dword EAX mov dword [EBP - 20], EAX pop dword EAX mov dword [EBP - 16], EAX

(The offending lines are in Ldelem_I8)
OLD: mov edx,dword ptr [eax+0Ch] = push dword [EDX] mov eax,dword ptr [eax+8] = push dword [EDX + 4] mov dword ptr [ebp-48h],eax = mov dword [EBP - 20], EAX mov dword ptr [ebp-44h],edx = mov dword [EBP - 16], EAX NEW: mov edx,dword ptr [eax+0Ch] = push dword [EDX + 4] mov eax,dword ptr [eax+8] = push dword [EDX] mov dword ptr [ebp-48h],eax = mov dword [EBP - 20], EAX mov dword ptr [ebp-44h],edx = mov dword [EBP - 16], EAX

And now... FAT/ATA




__._,_.___
Posted by: Charles Betros <charles.betros-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------






__,_._,___
Picon

FAT Implementation

So after more digging I have to say I was wrong. The FAT implementation looks good. The compiler is the
culprit for all the pain and suffering. The parameter value I pass in to a method in certain cases does not
come off the stack with the correct value.

------------------------------------
Posted by: Charles Betros <charles.betros@...>
------------------------------------

--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------

------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Cosmos-Dev/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/Cosmos-Dev/join
    (Yahoo! ID required)

<*> To change settings via email:
    Cosmos-Dev-digest@... 
    Cosmos-Dev-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    Cosmos-Dev-unsubscribe@...

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/

Picon

FAT implentation

I think I've narrowed down the issue in the FAT implementation. The compiler looks like it is working properly. I have more testing to do, but I think the issue is in the FatStream and FatFileSystem classes.


__._,_.___
Posted by: Charles Betros <charles.betros-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------






__,_._,___

Gmane