Dangerous Prototypes

Other projects => Past projects => Web platform => Topic started by: voidptr on January 31, 2011, 06:39:21 am

Title: My free pico (verysmall) coroutine os to be more dangerous !
Post by: voidptr on January 31, 2011, 06:39:21 am
:o)

i dusted of an old silly pico-kernel (smaller than micro) of coroutines from one on my old projects.
this is not fancy or complete like other os or RTOS but it is very small and can be useful...
it think of that has a "DangerousPrototype" :o)
so feel free to use and abuse !

so 3 files
osp.c ---  c source
osp.h --- prototype
main.c --- an example from some dangerous examples code.

:o)
Title: Re: My free pico (verysmall) coroutine os to be more dangero
Post by: ian on January 31, 2011, 08:01:45 am
Very cool, thank you. What is the license on the osp files? May I upload it all to the Web Platform SVN?
Title: Re: My free pico (verysmall) coroutine os to be more dangero
Post by: voidptr on January 31, 2011, 07:17:09 pm
ian, yes :-)
do whatever you wish with it, i think it could be useful for small things we do :o)
i wrote that many years ago as a study case for setjmp-longjmp and modify it last week for the ds33.
so yes, it is free to playwith, modify, trash, rewrite ( really easy to do for other PIC) etc etc ...
:o)
Title: Re: My free pico (verysmall) coroutine os to be more dangero
Post by: ian on February 01, 2011, 08:01:12 am
Thank you, I added it to SVN here:
http://code.google.com/p/dangerous-prot ... routine-os (http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/#svn%2Ftrunk%2Fweb-platform%2Ffirmware%2Fpico-coroutine-os)
Title: Re: My free pico (verysmall) coroutine os to be more dangero
Post by: voidptr on February 10, 2011, 05:37:46 am
:o)
Added to osp.c basic semaphore with P V services .

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01072064352session_write_close ( )...(null):0
20.01102195944ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01102196720Database_MySQL->query( ).../DatabaseHandler.php:119
40.05352335448Database_MySQL->error( ).../Db-mysql.class.php:273