Log table in Block Data?

Started by Tom Becker in BasicX12 years ago 5 replies

As nice as it is to have advanced math functions in BasicX, the hit on the stack when you do something like 10.0^Log10(sX/10.0) and similar ...

As nice as it is to have advanced math functions in BasicX, the hit on the stack when you do something like 10.0^Log10(sX/10.0) and similar functions is painfully large, 50 bytes or more just for the support routines, and they are slow. I'm exploring options. One is the venerable logarithm table. To convert a 10-bit analog input to logarithms looks lik


pow() and log() replacements?

Started by cfrancois_55116 in BasicX12 years ago 3 replies

Has anyone coded spece efficient replacements for pow() and log()? The BasicX library versions of these consume so much stack that they are...

Has anyone coded spece efficient replacements for pow() and log()? The BasicX library versions of these consume so much stack that they are basically useless. Has anyone coded a Taylor's expansion for these that they's like to share?


BX-24p Ram question

Started by Vic Fraenckel in BasicX12 years ago 3 replies

I was just reading the specs for the BX-24p. The available RAM is 400 bytes. What does this mean? Is this the space that is used for declared...

I was just reading the specs for the BX-24p. The available RAM is 400 bytes. What does this mean? Is this the space that is used for declared variables? Is it the stack space? As a practical matter, how will this "small" amount of RAM restrict the program size and/or performance? I am asking these questions as I am considering replacing a MicroMint BCC52 controller wit


Re: BX-24p Ram question

Started by Peter Richeson in BasicX7 years ago

I am new to multitasking and am trying to figure out how much ramstack will be required. Where did Mikes's program BxDsim go? If I pull out the...

I am new to multitasking and am trying to figure out how much ramstack will be required. Where did Mikes's program BxDsim go? If I pull out the code I want to run into a standalone project, compile and will the amount of ram in compile stats/RAM be the stack required? Thanks. --- In b...@yahoogroups.com, "Don Kinzer" wrote: > > --- In b...@yahoogroups.com, "Vic Fraenckel"


BxDism & BX01 with external RAM

Started by vic_gates in BasicX12 years ago 1 reply

I was experimenting with bxdism on a couple of my projects and ran into a problem. When using it with a program for the BX-01 configured...

I was experimenting with bxdism on a couple of my projects and ran into a problem. When using it with a program for the BX-01 configured for XI/O and external ram (similar to the RAM Sandwich setup) the stack size is reported as a negative value (-214) when it is actually 64,714 bytes. Just thought that Mike & Don would like to know this in case they wer


linear actuator

Started by mechatronicsccc in BasicX12 years ago 3 replies

I'm building a small pick and place robot that will pick up small plactic tubes and stack then. Dose any one know If there is a cheap linear...

I'm building a small pick and place robot that will pick up small plactic tubes and stack then. Dose any one know If there is a cheap linear actuator that will have a 4" travel and pick up something that weighs less then 1lb. I thought of making my own with a stepper motor and acme screw. or if anyone seen homemade ideas online. THanks ------------------------ Yahoo! Groups Sponsor --...


unable to halt LCDX

Started by Marco in BasicX11 years ago 2 replies

Hi everybody. I knew it would happen some day: loaded largish program, disconnected "rs232" cable, connected to target RS232, and - display...

Hi everybody. I knew it would happen some day: loaded largish program, disconnected "rs232" cable, connected to target RS232, and - display went dark and dead - no action whatsoever - reconnected to PC, I get error 202, unable to halt I have verified at the scope that the ATN line is pulsed and it arrives to the toy... I suspect stack overflowed when connecting to RS232 source, but...


Call Task & RAM conservation

Started by Thad Larson in BasicX13 years ago 1 reply

If enough RAM were allocated, could two different tasks be allocated to the same stack ?? Obviously, not at the same time.. Say I...

If enough RAM were allocated, could two different tasks be allocated to the same stack ?? Obviously, not at the same time.. Say I want one type of interrupt set up while I am in "demo mode". When I exit demo mode, I don't need that interrupt anymore, so could I use it for