I did not experienced such behaviour in 4.0 or 4.2. As you can
remember I did time measurements in a loop with ticktimer of most of
the asm floating primitives. No issues at that time. Now, when I
switch +timer it crashes. E.g.

> : test5 10000 0 do 123 s>f 123 s>f f* fdrop loop ;
ok
> test5
ok
> +timer
ok
> test5
CRASH

This worked with 4.0. P.


----- PŮVODNÍ ZPRÁVA -----
Od: "Matthias Trute" <mtr...@web.de>
Komu: amforth-devel@lists.sourceforge.net
Předmět: Re: [Amforth] Interrupts - T flag, asm float problem
Datum: 26.5.2011 - 20:22:38

> Hi Pito,
> 
> > Hi, it seems the T flag is currently used in a
> > much more "aggresive
> > > way".
> 
> Not at all. The usage of the T-Flag for dealing
> with
> interrupts is part of the code for a very long
> time
> (versions around 0.9). It is even documented since
> ever ;)
> What's new, is that there is now an example for
> the
> interrupts..
> 
> > The .asm floating routines are using T flag
> > within sign
> > > manipulation and when using timer (tick timer)
> > and the float calcs
> > > it does crash (e.g. do _float_asm_calc_ loop
> > never finishes).
> > > Q: when running a word e.g. f* written entirely
> > in asm. - what needs
> > > to be done? (1st option - not to use T flag, 2nd
> > one??) P.
> > 
> 1st Options is yours. All of the CPU is mine, with
> the
> (documented) exception of the temp registers. They
> can be
> used without restriction, but they are not kept
> between
> two words however.
> 
> Matthias
> 
> ------------------------------------------------------------------------------
> > vRanger cuts backup time in half-while increasing
> security.
> With the market-leading solution for virtual
> backup and recovery, 
> you get blazing-fast, flexible, and affordable
> data protection.
> Download your free trial now. 
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Amforth-devel mailing list
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Amforth-devel mailing list
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to