Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #15856

Re: GA144 polyForth

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: GA144 polyForth
References <32e7fd8d-7494-4010-a9d5-d9673a3df831@googlegroups.com> <7xtxuhtf3b.fsf@ruckus.brouhaha.com> <0a256d18-8525-4f04-a599-2b5a37ad2aab@googlegroups.com>
Date 2012-10-01 23:40 -0700
Message-ID <7xhaqdwf5d.fsf@ruckus.brouhaha.com> (permalink)
Organization Nightsong/Fort GNOX

Show all headers | View raw


Howerd <howerdo@yahoo.co.uk> writes:
>> Had you been using eforth on the eval board before?
> I got it running when I first got the board, but it lacks a
> multitasker, so I haven't been using it.

But eforth has a beautiful multitasker that's just a dozen lines of code
or so, and should be pretty portable.  I wonder why the GA version
didn't include it.  Maybe it could be added on.

> I don't think it is a traditional threaded interpreter. The tokens
> have bits that determine which node they are to be sent to, and a lot
> of Forth primitives map directly to F18 opcodes. My mind goes fuzzy
> thinking about this.

Yeah, that makes sense about the primitives.  I wonder if the stacks are
in the VM or in external ram.  ANS requires 32 stack levels iirc, so
they could use an f18 node for both stacks, caching the top element
in the control node.

> polyForth   14.1mA
> "ASD" loop  13.8mA 
> So running a tight loop uses *less* current than running polyForth,...
> The conclusion is that if you want very low power consumption you may
> have to disable the pF VM and/or its Ganglions and Snorkels.

Wait, do you mean polyForth burns that much power when it's sitting
there waiting for input, polling the port or something?  They don't have
edge triggered i/o?  When an f18 node is waiting on a port it's supposed
to use almost no power; that's its whole idea.

> BTW I put similar ASD code on an 89C450 with a 22MHz crystal - 29
> seconds compared to 11 seconds for the DO ... LOOP form on the GA144.

Oh man, that's pretty about the 89C450 which I'll guess might be
comparable to an AVR.  This looks interesting:

  http://tinyurl.com/d5zef8l

a $12.95 Cortex M0+ board from element14.com, 128k flash, 16k sram, 48
mhz, various goodies on the board, shipping from stock.  Of course on
the 89C450, I'd expect a native-compiled Forth to be much faster.

I ordered a couple of the Cortex M4 Launchpads ($5 each, 10+ week
delivery) on the theory that they might increase the price once the
things are actually shipping, and ordered an MSP430 Launchpad ($4.30)
while I was at it.  I have only vague ideas of what to do with them, but
at that price they are almost free.  I may run 4e4th on it.

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-09-27 14:16 -0700
  Re: GA144 polyForth Paul Rubin <no.email@nospam.invalid> - 2012-09-29 01:20 -0700
    Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-09-30 11:05 -0400
      Re: GA144 polyForth Paul Rubin <no.email@nospam.invalid> - 2012-09-30 09:06 -0700
        Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-09-30 14:29 -0400
          Re: GA144 polyForth Paul Rubin <no.email@nospam.invalid> - 2012-09-30 19:56 -0700
    Re: GA144 polyForth Coos Haak <chforth@hccnet.nl> - 2012-09-30 21:54 +0200
    Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-01 11:18 -0700
      Re: GA144 polyForth Paul Rubin <no.email@nospam.invalid> - 2012-10-01 23:40 -0700
        Re: GA144 polyForth "Elizabeth D. Rather" <erather@forth.com> - 2012-10-01 21:23 -1000
          Re: GA144 polyForth albert@spenarnc.xs4all.nl (Albert van der Horst) - 2012-10-05 19:19 +0000
        Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-04 23:04 -0700
  Re: GA144 polyForth Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-10-01 10:28 -0500
    Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-01 11:19 -0700
      Re: GA144 polyForth Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-10-03 10:46 -0500
        Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-04 13:46 -0700
  Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-05 22:10 -0700
    Re: GA144 polyForth Paul Rubin <no.email@nospam.invalid> - 2012-10-05 23:17 -0700
      Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-06 05:47 -0700
        Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-07 19:31 -0400
          Re: GA144 polyForth Bernd Paysan <bernd.paysan@gmx.de> - 2012-10-08 20:10 +0200
            Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-08 16:36 -0400
          Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-08 13:31 -0700
            Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-09 13:48 -0400
              Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-09 13:21 -0700
                Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-09 17:08 -0400
                Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-13 07:39 -0700
                Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-13 14:28 -0400
                Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-13 13:37 -0700
                Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-13 16:54 -0400
                Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-13 14:14 -0700
                Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-13 17:30 -0400
                Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-14 02:00 -0700
                Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-14 19:54 -0400
                Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-15 11:03 -0700
                Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-15 16:38 -0400
                Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-16 04:12 -0700
                Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-16 15:46 -0400
                Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-16 23:05 -0700
                Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-17 13:40 -0400
                Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-17 22:54 -0700
            Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-18 14:53 -0400
              Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-18 15:06 -0400
                Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-18 15:09 -0400
              Re: GA144 polyForth Howerd <howerdo@yahoo.co.uk> - 2012-10-19 10:43 -0700
                Re: GA144 polyForth rickman <gnuarm@gmail.com> - 2012-10-19 17:43 -0400
  Re: GA144 polyForth Mikael Nordman <oh2aun@invalid.com> - 2012-10-06 11:29 +0300
    Re: GA144 polyForth mhx@iae.nl (Marcel Hendrix) - 2012-10-06 11:14 +0200
      Re: GA144 polyForth Mikael Nordman <oh2aun@invalid.com> - 2012-10-06 16:08 +0300
    Re: GA144 polyForth Paul Rubin <no.email@nospam.invalid> - 2012-10-07 10:57 -0700

csiph-web