Pumpkin, Inc.

Pumpkin User Forums

Standard libraries

If you have a general question or comment regarding Salvo, post it here.

Standard libraries

Postby Eduardo Robles » Thu Feb 14, 2002 8:12 am

Hi,

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

Regards,

Eduardo

Eduardo Robles
 
Posts: 14
Joined: Mon Jun 18, 2001 11:00 pm
Location: Sao Paulo, SP, Brazil

Re: Standard libraries

Postby Salvo Tech Support » Fri Feb 15, 2002 7:50 am

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).]

--------
Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
 
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am

Re: Standard libraries

Postby tbims23822 » Tue Jul 07, 2009 6:58 am

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.
tbims23822
 

Re: Standard libraries

Postby tbims23822 » Tue Jul 07, 2009 7:07 am

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.
tbims23822
 

Re: Standard libraries

Postby tbims23822 » Wed Jul 08, 2009 11:37 am

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.
tbims23822
 


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests

cron