Page 1 of 1

Standard libraries

PostPosted: Thu Feb 14, 2002 8:12 am
by Eduardo Robles
Hi,

A simple question:
are the standard libraries also limited to 4 tasks?

Regards,

Eduardo


Re: Standard libraries

PostPosted: Fri Feb 15, 2002 7:50 am
by Salvo Tech Support
Hi Eduardo.

If you want to use the standard libraries with more than the default number of tasks, events, etc. (the defaults for the standard and freeware libraries are the same), you'll need to add salvosrcmem.c to your project as a node before the standard library you're using. You can then set OSTASKS, OSEVENTS, etc. to whatever numbers you like. Please see "Overriding Default RAM Settings" in the Libraries chapter of the Salvo User Manual for more information. Failure to link in your own mem.obj module will result in non-Salvo-variables being overwritten at runtime.

The mem.obj module in the standard (and freeware) libraries is compiled for the default number of tasks, events, etc. By compiling mem.c with your own OSTASKS, OSEVENTS, etc. settings and linking it into your project before the library, it will be used in place of the one in the library, and will properly allocate space for your additional tasks, events, etc.

This technique won't work with the freeware libraries because they are compiled with OSSET_LIMITS set to TRUE, which prevents the various Salvo services like OSCreateTask() from accepting more than, say, 4 tasks.

------------------
--------
Salvo Technical Support
Please request all tech support through the Forums.

[This message has been edited by Salvo Tech Support (edited February 15, 2002).]


Re: Standard libraries

PostPosted: Tue Jul 07, 2009 6:58 am
by tbims23822
www.drop-shopping.com is a premium website for cheap air jordans shoes and other more really nike air jordan shoes.We have varity of cheap air jordan shoes available for wholesale.Cheap China wholesale shoes including cheap Nike shoes and cheap jordan shoes,nike sneakers,nike sneakers discount,air jordan sneakers,air force sneakers.We supply nike sneakers,jordan sneakers,air jordan sneakers,air force sneakers wholesale.You can buy very cheap jordans shoes including cheap women shoes,cheap nike shoes,cheap running shoes from us.

Re: Standard libraries

PostPosted: Tue Jul 07, 2009 7:07 am
by tbims23822
www.drop-shopping.com is a premium website for cheap air jordans shoes and other more really nike air jordan shoes.We have varity of cheap air jordan shoes available for wholesale.Cheap China wholesale shoes including cheap Nike shoes and cheap jordan shoes,nike sneakers,nike sneakers discount,air jordan sneakers,air force sneakers.We supply nike sneakers,jordan sneakers,air jordan sneakers,air force sneakers wholesale.You can buy very cheap jordans shoes including cheap women shoes,cheap nike shoes,cheap running shoes from us.

Re: Standard libraries

PostPosted: Wed Jul 08, 2009 11:37 am
by tbims23822
www.drop-shopping.com is a premium website for cheap air jordans shoes and other more really nike air jordan shoes.We have varity of cheap air jordan shoes available for wholesale.Cheap China wholesale shoes including cheap Nike shoes and cheap jordan shoes,nike sneakers,nike sneakers discount,air jordan sneakers,air force sneakers.We supply nike sneakers,jordan sneakers,air jordan sneakers,air force sneakers wholesale.You can buy very cheap jordans shoes including cheap women shoes,cheap nike shoes,cheap running shoes from us.