Yahoo Groups archive

SynthModules

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

Thread

Wigglyman1 question

Wigglyman1 question

2004-02-29 by Woody Wall

Prof. Richter or dr. mabuse,

I've been looking at wigglyman1.bas and can't figure out exactly what
CALCRAND does. I'm guessing that it seeds RANDOM from a timer, but I
can't find any other reference to TCNT in the source or the ATOM-Pro
manual. Care to elaborate?

Many thanks.

Woody

Re: Wigglyman1 question

2004-02-29 by drmabuce

Hi Woody
   CALCRAND is exactly as you say, seeding the RAND function from a 16MHz real-time clock in the TCNT reserve word.
   (Grant may want to tweak this response as he wrote CALCRAND) but, as far as i know, TCNT is only documented the Hitachi manual. You may notice that the initialize section of WigglyMan1 is extended beyond the previous 2-line section. These initialization statements are the configs required to start the clock running.

best,
-doc



--- In SynthModules@yahoogroups.com, "Woody Wall" <woody_wall@h...> wrote:
Show quoted textHide quoted text
> Prof. Richter or dr. mabuse,
> 
> I've been looking at wigglyman1.bas and can't figure out exactly what
> CALCRAND does. I'm guessing that it seeds RANDOM from a timer, but I
> can't find any other reference to TCNT in the source or the ATOM-Pro
> manual. Care to elaborate?
> 
> Many thanks.
> 
> Woody

Re: Wigglyman1 question

2004-03-01 by Woody Wall

Thanks. I suspected as much. This should make it easier to generate
larger amounts of random numbers. I've noticed some patterns after
calling RANDOM a large number of times.

Woody

--- In SynthModules@yahoogroups.com, "drmabuce" <drmabuce@y...> wrote:
> Hi Woody
>    CALCRAND is exactly as you say, seeding the RAND function from a
16MHz real-time clock in the TCNT reserve word.
>    (Grant may want to tweak this response as he wrote CALCRAND) but,
as far as i know, TCNT is only documented the Hitachi manual. You may
notice that the initialize section of WigglyMan1 is extended beyond
the previous 2-line section. These initialization statements are the
configs required to start the clock running.
Show quoted textHide quoted text
> 
> best,
> -doc

Re: [SynthModules] Re: Wigglyman1 question

2004-03-01 by Mark Pulver

drmabuce (03:44 pm 2/29/2004) wrote:

 >(Grant may want to tweak this response as he wrote CALCRAND) but, as far
 >as i know, TCNT is only documented the Hitachi manual.

Can you post a link to the Hitachi manual, and/or post it up to the Yahoo 
group?

Thanks!

Mark

Re: Wigglyman1 question

2004-03-01 by Woody Wall

Not sure if this for the same chip as in the PSIM (there are dozens of
variations on the H8) but it looks pretty close:
http://www.renesas.com/avs/resource/japan/eng/pdf/mpumcu/e602202_h83664.pdf

I found an assembly manual also, but I'm not sure if the ATOMPro
allows inline assembly:
http://www.renesas.com/avs/resource/japan/eng/pdf/mpumcu/e602053_h8300h.pdf

Watch out for Yahoo! wrapping the lines.

Woody

--- In SynthModules@yahoogroups.com, Mark Pulver <mark@m...> wrote:
> drmabuce (03:44 pm 2/29/2004) wrote:
> 
>  >(Grant may want to tweak this response as he wrote CALCRAND) but,
as far
>  >as i know, TCNT is only documented the Hitachi manual.
> 
> Can you post a link to the Hitachi manual, and/or post it up to the
Yahoo 
Show quoted textHide quoted text
> group?
> 
> Thanks!
> 
> Mark

Re: [SynthModules] Re: Wigglyman1 question (Hitachi H8/3664 Manual and Errata)

2004-03-01 by Brice D. Hornback

Here are links to the manual(s):

H8/3664 Group, H8/3664F-ZTAT TM, H8/3664N Hardware Manual:

<http://www.renesas.com/avs/resource/japan/eng/pdf/mpumcu/e602202_h83664.pdf
>

Errata for H8/3664 Group, H8/3664N Hardware Manual:

<http://www.renesas.com/eng/products/mpumcu/16bit/tiny/errata/eh3664_errata.
pdf>

Watch it if the links wrap...

I hope this helps.
- Brice
http://www.SynthModules.com


----- Original Message ----- 
From: "Mark Pulver" <mark@midiwall.com>
To: <SynthModules@yahoogroups.com>
Cc: <SynthModules@yahoogroups.com>
Show quoted textHide quoted text
Sent: Sunday, February 29, 2004 11:13 PM
Subject: Re: [SynthModules] Re: Wigglyman1 question


> drmabuce (03:44 pm 2/29/2004) wrote:
>
>  >(Grant may want to tweak this response as he wrote CALCRAND) but, as far
>  >as i know, TCNT is only documented the Hitachi manual.
>
> Can you post a link to the Hitachi manual, and/or post it up to the Yahoo
> group?
>
> Thanks!
>
> Mark
>
>
>
> Be sure to check out the primary Web site at:
> http://www.SynthModules.com
>
> Yahoo! Groups Links
>
>
>
>
>

Re: Wigglyman1 question (Hitachi H8/3664 Manual and Errata)

2004-03-01 by grantrichter2001

Here is what Nathan at Basic Micro told me.

The full set of register names are reserved keywords already 
built into the compiler. Register names are implemented, but not 
all bit names, because they are not unique.

To access bits use the "BITx" modifier.


--- In SynthModules@yahoogroups.com, Mark Pulver 
<mark@m...> wrote:
Show quoted textHide quoted text
> Brice D. Hornback (08:47 pm 2/29/2004) wrote:
> 
>  >Here are links to the manual(s):
> 
> Thank you (again) Brice!
> 
> Mark

Re: [SynthModules] Dr.Mabuse [OT]

2004-03-14 by john mahoney

----- Original Message ----- 
Show quoted textHide quoted text
From: "drmabuce" <drmabuce@yahoo.com>
> [snip]
> best,
> -doc

Okay, "Doc," the gig is up! I had never considered that your name might be a
pseudonym, but I dusted off an old CD last night and lo, there was a song
entitled "Dr. Mabuse." A-ha! Further research (read "Googling") revealed a
deeper mystery.

So, we're on to your little game, now, Mister Whatever-your-real-name-is.

Muah-ha-ha-ha!!!  ***
--
john


*** (That's "evil laughter," and yes, I'm being silly. Fritz Lang made a
couple of "Dr. Mabuse" films, which presumably inspired the song.)

Re: Dr.Mabuse [OT]

2004-03-15 by drmabuce

Ok
This is blatantly off topic and unsolicited but I'm going to do
it anyway
Drmabuce is a misspelling of Dr. Mabuse (because somebody beat me to
it on yahoo)
I am not a doctor and any medical advice I dispense should be
regarded with great skepticism.
It is a nickname . My real name is Mike Murphy but there are
thousands of Mike Murphys. It's kind of a celtic version of the
"Bob Johnson"  syndrome. I first heard the name Doctor Mabuse
in college on an LP by the Roto Rooter Goodtime Christmas Band. There
is a break in  a  fairly conventional salsa number – then you
hear a nasal voice say: Ladies & Gentlemen….. 
Doc-torrrrrrrrrrrrrrrrrrrrrrrrrrrr maBUSE!
Followed by the most amazing deconstruction of the tenor sax
timbre… like 48 diesel airhorns in a shouting match.
Lordy Day! I was in love!
Fast forward to 1989 and Iwas recruited by a band that traditionally
used stage names and there was no question in my mind who I wanted to
be: Dr Alphose Caspar Mabuse.
And it `stuck' most people in the local music scene have
never known me as anything but `doc'
It was only AFTER I adopted the stage name that I saw the German
expressionist films. 
(I don't look like him either)
so there!
That'll teach ya to stray off topic in THIS forum

Salut!
-`doc'

--- In SynthModules@yahoogroups.com, "john mahoney" <jmahoney@g...>
wrote:
> ----- Original Message ----- 
> From: "drmabuce" <drmabuce@y...>
> > [snip]
> > best,
> > -doc
> 
> Okay, "Doc," the gig is up! I had never considered that your name
might be a
> pseudonym, but I dusted off an old CD last night and lo, there was
a song
> entitled "Dr. Mabuse." A-ha! Further research (read "Googling")
revealed a
> deeper mystery.
> 
> So, we're on to your little game, now, Mister Wh
atever-your-real-name-is.
> 
> Muah-ha-ha-ha!!!  ***
> --
> john
> 
> 
> *** (That's "evil laughter," and yes, I'm being silly. Fritz Lang
made a
> couple of "Dr. Mabuse" films, which presumably inspired the song.)

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.