Go ahead and play with the source. The matthijs command throws an exception
(message "Hello, Exception") and it's handled in the caller of the main
entry point.
> -----Original Message-----
> From: Cosmos-Dev@yahoogroups.com [mailto:Cosmos-Dev@yahoogroups.com] On
> Behalf Of Chad Z. Hower aka Kudzu
> Sent: zondag 6 januari 2008 18:16
> To: Cosmos-Dev@yahoogroups.com
> Subject: [Cosmos-Dev] HD Crash
>
> Sorry I was offlien today... Server HD crashed in AM.. .all internet
> goes
> through it.. Im back.. and I figured out how to fully implement
> exeptions...
>
> --
> Chad Z. Hower aka Kudzu
> "Programming is an art form that fights back"
> http://www.KudzuWorld.com/
> http://www.Woo-Hoo.net/
> http://www.DelphiToDotNet.com/
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
From:
Cosmos-Dev@yahoogroups.com [mailto:Cosmos-Dev@yahoogroups.com] On Behalf Of Jonathan
Chayce Dickinson Sent: Sunday, January 06, 2008 7:52 PM To: Cosmos-Dev@yahoogroups.com Subject: [Cosmos-Dev] Snake Game (SharpOS)
Hey Guys,
Still chatting to Scott, seem to be swaying his decision. He is going to
take a look at the code now :). Okay, down to the point of this email.
Some guy wrote a game for SharpOS (nibbles/snake). Now in terms of
attracting developers you don't get any better than that really. So what
was the first computer game, wasn't it Tetris? Should I spend my time
writing a simple Tetris clone? It should be a simple shell command to
make, I don't think Tetris would be a hard game to make. I'll make it
all pretty colors and stuff :). It could be our first 'program'. I know
we need other stuff, but the SharpOS team has grown a bit and we are
going to have a rough time ahead of us.
First computer game tetris? J Try colossal cave…. On the
main frames and before monitors existed! J
--
Chad Z. Hower aka Kudzu
"Programming is an art form that fights back"
http://www.KudzuWorld.com/
http://www.Woo-Hoo.net/
http://www.DelphiToDotNet.com/
From:
Cosmos-Dev@yahoogroups.com [mailto:Cosmos-Dev@yahoogroups.com] On Behalf Of Jonathan
Chayce Dickinson Sent: Sunday, January 06, 2008 7:52 PM To: Cosmos-Dev@yahoogroups.com Subject: [Cosmos-Dev] Snake Game (SharpOS)
Hey Guys,
Still chatting to Scott, seem to be swaying his decision. He is going to
take a look at the code now :). Okay, down to the point of this email.
Some guy wrote a game for SharpOS (nibbles/snake). Now in terms of
attracting developers you don't get any better than that really. So what
was the first computer game, wasn't it Tetris? Should I spend my time
writing a simple Tetris clone? It should be a simple shell command to
make, I don't think Tetris would be a hard game to make. I'll make it
all pretty colors and stuff :). It could be our first 'program'. I know
we need other stuff, but the SharpOS team has grown a bit and we are
going to have a rough time ahead of us.
From:
Cosmos-Dev@yahoogroups.com [mailto:Cosmos-Dev@yahoogroups.com] On Behalf Of Jonathan
Chayce Dickinson Sent: Sunday, January 06, 2008 8:00 PM To: Cosmos-Dev@yahoogroups.com Subject: Re: [Cosmos-Dev] http://www.infoq.com/
Wait till we do the VS wizards for MS1 (Cake) etc.. and then do
a hello world, boot in a few clicks… remember at this phase we want to attract
devs.. not end users…
Let tehm have the snakes… we have exceptions (almost), heap,
strings, debugging, PXE….
--
Chad Z. Hower aka Kudzu
"Programming is an art form that fights back"
http://www.KudzuWorld.com/
http://www.Woo-Hoo.net/
http://www.DelphiToDotNet.com/
From:
Cosmos-Dev@yahoogroups.com [mailto:Cosmos-Dev@yahoogroups.com] On Behalf Of Jonathan
Chayce Dickinson Sent: Sunday, January 06, 2008 7:52 PM To: Cosmos-Dev@yahoogroups.com Subject: [Cosmos-Dev] Snake Game (SharpOS)
Hey Guys,
Still chatting to Scott, seem to be swaying his decision. He is going to
take a look at the code now :). Okay, down to the point of this email.
Some guy wrote a game for SharpOS (nibbles/snake). Now in terms of
attracting developers you don't get any better than that really. So what
was the first computer game, wasn't it Tetris? Should I spend my time
writing a simple Tetris clone? It should be a simple shell command to
make, I don't think Tetris would be a hard game to make. I'll make it
all pretty colors and stuff :). It could be our first 'program'. I know
we need other stuff, but the SharpOS team has grown a bit and we are
going to have a rough time ahead of us.
Hey Guys,
Still chatting to Scott, seem to be swaying his decision. He is going to
take a look at the code now :). Okay, down to the point of this email.
Some guy wrote a game for SharpOS (nibbles/snake). Now in terms of
attracting developers you don't get any better than that really. So what
was the first computer game, wasn't it Tetris? Should I spend my time
writing a simple Tetris clone? It should be a simple shell command to
make, I don't think Tetris would be a hard game to make. I'll make it
all pretty colors and stuff :). It could be our first 'program'. I know
we need other stuff, but the SharpOS team has grown a bit and we are
going to have a rough time ahead of us.
Jono
OK, We can now use exceptions to exit the kernel. When you execute the Matthijs
command of the prompter, the code throw new Exception(“Hello Error!”)
is executed, and results in an exit out of the actual kernel code for now. Next
step will be to integrate catch/finally handlers etc..
From now on , the –asm parameter is used to specify the folder in
which the assembler output is stored. It’s now required to specify this. The
assembly file is now split based on assembly name.
Well,
the direction bit was not controlled int his function, so now i always clear
(which means going forward).
From:
Cosmos-Dev@yahoogroups.com [mailto:Cosmos-Dev@yahoogroups.com] On Behalf Of Chad Z. Hower aka Kudzu Sent: vrijdag 4 januari 2008 19:46 To: Cosmos-Dev@yahoogroups.com Subject: RE: [Cosmos-Dev] zeroing
memory
Were
you going backwards? J
--
Chad
Z. Hower aka Kudzu
"Programming
is an art form that fights back"
http://www.KudzuWorld.com/
http://www.Woo-Hoo.net/
http://www.DelphiToDotNet.com/
From:
Cosmos-Dev@yahoogroups.com [mailto:Cosmos-Dev@yahoogroups.com] On Behalf Of Matthijs ter Woord Sent: Friday, January 04, 2008
8:34 PM To: Cosmos-Dev@yahoogroups.com Subject: [Cosmos-Dev] zeroing
memory
Ok,
it’s now done in one procedure, issueswere related to the Direction flag..
From: Cosmos-Dev@yahoogroups.com
[mailto:Cosmos-Dev@yahoogroups.com] On Behalf Of Matthijs ter Woord Sent: Friday, January 04, 2008 8:34 PM To: Cosmos-Dev@yahoogroups.com Subject: [Cosmos-Dev] zeroing memory
Ok, it’s now done
in one procedure, issueswere related to the Direction flag..
Didn’t try it yet…. But I pushed off FAT for now. Will try it
later on my tablet which is x32
--
Chad Z. Hower aka Kudzu
"Programming is an art form that fights back"
http://www.KudzuWorld.com/
http://www.Woo-Hoo.net/
http://www.DelphiToDotNet.com/
From:
Cosmos-Dev@yahoogroups.com [mailto:Cosmos-Dev@yahoogroups.com] On Behalf Of Matthijs
ter Woord Sent: Friday, January 04, 2008 11:34 AM To: Cosmos-Dev@yahoogroups.com Subject: RE: [Cosmos-Dev] Milestones
You tried that ext2 driver stuff for win32? If
that's working, I'd
personally say we'd better focus on ext2 for a bit...
From:
Cosmos-Dev@yahoogroups.com [mailto:Cosmos-Dev@yahoogroups.com] On Behalf Of Matthijs
ter Woord Sent: Thursday, January 03, 2008 4:34 PM To: Cosmos-Dev@yahoogroups.com Subject: RE: [Cosmos-Dev] IL2cpu
From:
Cosmos-Dev@yahoogroups.com [mailto:Cosmos-Dev@yahoogroups.com] On Behalf Of Matthijs
ter Woord Sent: Wednesday, January 02, 2008 3:26 PM To: cosmos-dev@yahoogroups.com Subject: [Cosmos-Dev] MS1, MS2, MS3
Ok, now we’ve got
quite a decent base, there are some things left. Here’s a proposal for MS1 and
MS2, of things I can think of where they should go. Comments welcome. The work
needed is mostly related to IL2CPU itself, but for cosmos, this is very well
important. Please, when replying and adding/moving items, please repost
complete list. This helps in keeping the overview.
MS1:
·We
have 8byte resultcode support now. Next step is make all relevant opcodes
handle long/ulong correctly (the compare, branch and math opcodes, and the
box/unbox ones)
·I’m
working on getting the Ext2 stuff converted to using streams, and get
full-blown reading working (instead of only first logical block)
·…any
other things?
MS2:
·Exception
support
·Enable
the GC
·Fix
the more complex code generation issues.
·Add
better Generics support. Right now it’s only possible to use generics without
where clause, and you need to manually assure that all code using a given
generic class/method uses the same data type length. This might even be
started on earlier, as it’s a real PITA right now. The other issues are
blockers too, but just raise reasonably clear errors. ;-)
Matthijs ter Woord wrote:
>
> Ok, now we’ve got quite a decent base, there are some things left.
> Here’s a proposal for MS1 and MS2, of things I can think of where they
> should go. Comments welcome. The work needed is mostly related to
> IL2CPU itself, but for cosmos, this is very well important. Please,
> when replying and adding/moving items, please repost complete list.
> This helps in keeping the overview.
>
> MS1:
>
> · We have 8byte resultcode support now. Next step is make all relevant
> opcodes handle long/ulong correctly (the compare, branch and math
> opcodes, and the box/unbox ones)
>
> · I’m working on getting the Ext2 stuff converted to using streams,
> and get full-blown reading working (instead of only first logical block)
>
> · …any other things?
>
> MS2:
>
> · Exception support
>
> · Enable the GC
>
> · Fix the more complex code generation issues.
>
> · Add better Generics support. Right now it’s only possible to use
> generics without where clause, and you need to manually assure that
> all code using a given generic class/method uses the same data type
> length. /This might even be started on earlier, as it’s a real PITA
> right now. The other issues are blockers too, but just raise
> reasonably clear errors. /;-)
>
> MS3
>
> · Add support for Interfaces
>
> · Add support for manifest resource streams
>
>
Add demo console to MS1.
Ok, now we’ve got quite a decent base, there are some things
left. Here’s a proposal for MS1 and MS2, of things I can think of where
they should go. Comments welcome. The work needed is mostly related to IL2CPU
itself, but for cosmos, this is very well important. Please, when replying and
adding/moving items, please repost complete list. This helps in keeping the
overview.
MS1:
·We have 8byte
resultcode support now. Next step is make all relevant opcodes handle
long/ulong correctly (the compare, branch and math opcodes, and the box/unbox
ones)
·I’m working
on getting the Ext2 stuff converted to using streams, and get full-blown
reading working (instead of only first logical block)
·…any other
things?
MS2:
·Exception support
·Enable the GC
·Fix the more
complex code generation issues.
·Add better
Generics support. Right now it’s only possible to use generics without
where clause, and you need to manually assure that all code using a given
generic class/method uses the same data type length. This might even be started on earlier, as it’s a real PITA right
now. The other issues are blockers too, but just raise reasonably clear errors.
;-)