Yahoo Groups archive

SynthModules

Index last updated: 2026-04-28 23:14 UTC

Thread

A Bug?

A Bug?

2004-05-05 by Mike Marsh

There might be a bug in the standard variables code that's in most 
of the sample programs.  Though I haven't seen anybody use these 
variables, if they do it could cause a problem.  Or maybe I'm 
mistaken?

BSTART	CON 5	' Start Button - IS THIS A BUG? Should be Stop?
BSTOP	CON 4	' Stop  Button - IS THIS A BUG? Should be Start?

Mike

Re: A Bug?

2004-05-05 by Mike Marsh

Thanks for this, Brice.  I think I will convert my little CALCNOTE 
template to LONGs and see what happens...

I also re-read the Good Doctor's 96 and understood much of what he 
said more fully.  Especially the IF/THEN syntax thing that DROVE ME 
FRICKIN NUTS for about twenty minutes until I rediscovered the issue.

Is there any documentation for the IDE, BTW?  I haven't seen it on 
the site or in the download...

Mike

--- In SynthModules@yahoogroups.com, "Brice D. Hornback" 
<synthmodules@s...> wrote:
> Correct.
> 
> P4 is the START Button
> P5 is the STOP Button
> 
> I have a template I'll be uploading later tonight or tomorrow that 
has all
> the corrections and some suggestions, tips, etc.  The problem 
is... there
> were some typos in the first few pieces of code put online and 
then folks
> just started using them as templates and kept repeating the same 
mistakes.
> Sorry about that.  The AUX port is protected.  I know a lot of the 
code
> shows it as digital I/O and unbuffered.  The REV1.0b boards had 
the fix on
> the jacks.  The new REV1.0c boards have the fix on the PCB.
> 
> Here's another example...
> 
> DIRS sets the direction of all 16 I/O pins. Note: this is opposite 
of the
> standard Atom and BASIC Stamp.  It should be (for example):
> 
> DIRS = %1111110000000000 ' Configure Pins    0=input  1=output
> 
> One of these days... I'll take *all* the code offline and fix it 
all then
> re-upload it.  Currently, I'm working on making a few of the 
subroutines run
> faster and will incorporate those changes as well.  The variable 
types LONG
> and FLOAT process *MUCH* faster than WORD, BYTE, NIB (which is 
fixed in IDE
> version 7.2.0.3), and BIT!  So... by making all the variables that 
are
> currently WORD or BYTE into LONG will speed up the processing.  
This only
> becomes an issue when we run out of the 2K of RAM and have to start
> optimizing the code for space instead of speed.
> 
> Also... yes... I'm saving questions and answers and putting 
together a FAQ.
> I've just been REALLY busy building modules (Henry Ford I'm 
*not*! -
> However... you can have any color faceplate you like as long as 
it's black.
> hehe) and haven't had time to write/fix code or the FAQ or just 
about
> anything else.
> 
> Thanks,
> Brice
> http://www.SynthModules.com
> 
> ----- Original Message ----- 
> From: "Mike Marsh" <mmarsh@w...>
> To: <SynthModules@yahoogroups.com>
> Sent: Wednesday, May 05, 2004 5:20 PM
> Subject: [SynthModules] A Bug?
> 
> 
> > There might be a bug in the standard variables code that's in 
most
Show quoted textHide quoted text
> > of the sample programs.  Though I haven't seen anybody use these
> > variables, if they do it could cause a problem.  Or maybe I'm
> > mistaken?
> >
> > BSTART CON 5 ' Start Button - IS THIS A BUG? Should be Stop?
> > BSTOP CON 4 ' Stop  Button - IS THIS A BUG? Should be Start?
> >
> > Mike
> >
> >
> >
> >
> > Be sure to check out the primary Web site at:
> > http://www.SynthModules.com
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >

Re: [SynthModules] A Bug?

2004-05-05 by Brice D. Hornback

Correct.

P4 is the START Button
P5 is the STOP Button

I have a template I'll be uploading later tonight or tomorrow that has all
the corrections and some suggestions, tips, etc.  The problem is... there
were some typos in the first few pieces of code put online and then folks
just started using them as templates and kept repeating the same mistakes.
Sorry about that.  The AUX port is protected.  I know a lot of the code
shows it as digital I/O and unbuffered.  The REV1.0b boards had the fix on
the jacks.  The new REV1.0c boards have the fix on the PCB.

Here's another example...

DIRS sets the direction of all 16 I/O pins. Note: this is opposite of the
standard Atom and BASIC Stamp.  It should be (for example):

DIRS = %1111110000000000 ' Configure Pins    0=input  1=output

One of these days... I'll take *all* the code offline and fix it all then
re-upload it.  Currently, I'm working on making a few of the subroutines run
faster and will incorporate those changes as well.  The variable types LONG
and FLOAT process *MUCH* faster than WORD, BYTE, NIB (which is fixed in IDE
version 7.2.0.3), and BIT!  So... by making all the variables that are
currently WORD or BYTE into LONG will speed up the processing.  This only
becomes an issue when we run out of the 2K of RAM and have to start
optimizing the code for space instead of speed.

Also... yes... I'm saving questions and answers and putting together a FAQ.
I've just been REALLY busy building modules (Henry Ford I'm *not*! -
However... you can have any color faceplate you like as long as it's black.
hehe) and haven't had time to write/fix code or the FAQ or just about
anything else.

Thanks,
Brice
http://www.SynthModules.com

----- Original Message ----- 
Show quoted textHide quoted text
From: "Mike Marsh" <mmarsh@websense.com>
To: <SynthModules@yahoogroups.com>
Sent: Wednesday, May 05, 2004 5:20 PM
Subject: [SynthModules] A Bug?


> There might be a bug in the standard variables code that's in most
> of the sample programs.  Though I haven't seen anybody use these
> variables, if they do it could cause a problem.  Or maybe I'm
> mistaken?
>
> BSTART CON 5 ' Start Button - IS THIS A BUG? Should be Stop?
> BSTOP CON 4 ' Stop  Button - IS THIS A BUG? Should be Start?
>
> Mike
>
>
>
>
> Be sure to check out the primary Web site at:
> http://www.SynthModules.com
>
> Yahoo! Groups Links
>
>
>
>
>

Re: [SynthModules] Re: A Bug?

2004-05-05 by Brice D. Hornback

Mike,

The "Programming Manual" or the manual for the AtomPRO IDE is on the CD you
received (although it is an older version).  Links to the newest versions of
the software and manuals are on the Links page of the Group site.  Here's
the link to the AtomPRO downloads:

http://www.basicmicro.com/ViewPage.aspx?ContentCode=d_basicatompro

The "BasicATOMPRO Manual" *is* the programming manual for the PSIM-1.

Thanks,
Brice
http://www.SynthModules.com

----- Original Message ----- 
Show quoted textHide quoted text
From: "Mike Marsh" <mmarsh@websense.com>
To: <SynthModules@yahoogroups.com>
Sent: Wednesday, May 05, 2004 6:18 PM
Subject: [SynthModules] Re: A Bug?


> Thanks for this, Brice.  I think I will convert my little CALCNOTE
> template to LONGs and see what happens...
>
> I also re-read the Good Doctor's 96 and understood much of what he
> said more fully.  Especially the IF/THEN syntax thing that DROVE ME
> FRICKIN NUTS for about twenty minutes until I rediscovered the issue.
>
> Is there any documentation for the IDE, BTW?  I haven't seen it on
> the site or in the download...
>
> Mike
>
> --- In SynthModules@yahoogroups.com, "Brice D. Hornback"
> <synthmodules@s...> wrote:
> > Correct.
> >
> > P4 is the START Button
> > P5 is the STOP Button
> >
> > I have a template I'll be uploading later tonight or tomorrow that
> has all
> > the corrections and some suggestions, tips, etc.  The problem
> is... there
> > were some typos in the first few pieces of code put online and
> then folks
> > just started using them as templates and kept repeating the same
> mistakes.
> > Sorry about that.  The AUX port is protected.  I know a lot of the
> code
> > shows it as digital I/O and unbuffered.  The REV1.0b boards had
> the fix on
> > the jacks.  The new REV1.0c boards have the fix on the PCB.
> >
> > Here's another example...
> >
> > DIRS sets the direction of all 16 I/O pins. Note: this is opposite
> of the
> > standard Atom and BASIC Stamp.  It should be (for example):
> >
> > DIRS = %1111110000000000 ' Configure Pins    0=input  1=output
> >
> > One of these days... I'll take *all* the code offline and fix it
> all then
> > re-upload it.  Currently, I'm working on making a few of the
> subroutines run
> > faster and will incorporate those changes as well.  The variable
> types LONG
> > and FLOAT process *MUCH* faster than WORD, BYTE, NIB (which is
> fixed in IDE
> > version 7.2.0.3), and BIT!  So... by making all the variables that
> are
> > currently WORD or BYTE into LONG will speed up the processing.
> This only
> > becomes an issue when we run out of the 2K of RAM and have to start
> > optimizing the code for space instead of speed.
> >
> > Also... yes... I'm saving questions and answers and putting
> together a FAQ.
> > I've just been REALLY busy building modules (Henry Ford I'm
> *not*! -
> > However... you can have any color faceplate you like as long as
> it's black.
> > hehe) and haven't had time to write/fix code or the FAQ or just
> about
> > anything else.
> >
> > Thanks,
> > Brice
> > http://www.SynthModules.com
> >
> > ----- Original Message ----- 
> > From: "Mike Marsh" <mmarsh@w...>
> > To: <SynthModules@yahoogroups.com>
> > Sent: Wednesday, May 05, 2004 5:20 PM
> > Subject: [SynthModules] A Bug?
> >
> >
> > > There might be a bug in the standard variables code that's in
> most
> > > of the sample programs.  Though I haven't seen anybody use these
> > > variables, if they do it could cause a problem.  Or maybe I'm
> > > mistaken?
> > >
> > > BSTART CON 5 ' Start Button - IS THIS A BUG? Should be Stop?
> > > BSTOP CON 4 ' Stop  Button - IS THIS A BUG? Should be Start?
> > >
> > > Mike
> > >
> > >
> > >
> > >
> > > Be sure to check out the primary Web site at:
> > > http://www.SynthModules.com
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
>
>
>
>
> Be sure to check out the primary Web site at:
> http://www.SynthModules.com
>
> Yahoo! Groups Links
>
>
>
>
>

Re: [SynthModules] A Bug?

2004-05-06 by john mahoney

----- Original Message ----- 
Show quoted textHide quoted text
From: "Brice D. Hornback"

> Also... yes... I'm saving questions and answers and putting together a
FAQ.

I'm feeling guilty. My comment regarding a FAQ wasn't meant as to come off
as, "Yo, Brice, create a FAQ already!" I was merely trying to highlight the
value of Dr. Mabuse's soon-to-be-legendary message 96.

[whispering] "The answer is contained in..." [looks around to make sure
nobody is eavesdropping] "message 96. But you didn't hear it from me."


> (Henry Ford I'm *not*! -
> However... you can have any color faceplate you like as long as it's
black.

LOL!


> ... haven't had time to write/fix code or the FAQ or just about
> anything else.

Brice, puh-leeze! Did people expect Steve Wozniak to write Visicalc? Heck,
no. It's great that you feel the need to do all that, but this is a
community and contributions should come from all over (as they have been,
although a few of you have done much of the heavy lifting, thanks so much).

Since I am, er... "between projects" *... I can do some of the code cleanup,
if that will help. And/or I can assist with the FAQ. Let me know what I can
do.
--
john


* What do you call an unemployed computer guy? A consultant! ;-)

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.