Hello Matthias,

Well, I am patient. When you'll have a project that needs asynchronous
processing of events then consider the SLIH approach again
<http://en.wikipedia.org/wiki/Interrupt_handler>.

As we speak I stumbled upon a bug when implemeting a simple IIR digital
filter:

gforth:
-128 63 64 */ . -126  ok

amforth: 
>  -128 63 64 */ .
0  ok

Hmm...

Regards, Enoch.


Matthias Trute <mtr...@web.de> writes:

> Hi Enoch,
>
>> I am pleased to advise that I managed "to marry" in amforth-shadow (#1)
>> Multitasking with Soft-Interrupts (#2) and have the advantage of the two
>> worlds (synchronous and asynchronous processings, respectively).
>
> Sounds good.
>
>> #1 https://github.com/wexi/amforth-shadow
>
> There you write
>
> However, still in HQ’s trunk@1650 those ISRs should run with the
> hardware interrupt system disabled
>
> What makes you think so? It easy to re-enable the
> interrupts within an ISR and get a nestable interrupt
> service. IMHO it works exactly the same way as the
> controller does it. To have a short ISR is simply
> good style...
>
>> #2 aka Second Level Interrupt Handling (SLIH)
>
> I remember that, and still think that it is
> overly complex and not needed, see above.
>
> And now the big BUT: I appreciate your work, really.
>
> Matthias
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to