[PicForth] Re: CBank manipulation patch

Alex Moon amoon at steradiantech.com
Thu Feb 10 16:11:07 CET 2005


Samuel Tardieu wrote:

>Alex, could you please provide us with an example that fails? It would
>be easier to test your patch and see whether it covers all the cases
>or if another patch is needed.
>  
>

I've attached the simplest reproducing case I could find.  The second 
call to "foo" from "baz" does not have PCLATH set correctly.  I've also 
found that the change to "begin" in the original patch is unnecessary 
due to the no-cbank call in backref (I originally made these changes to 
0.28 which did not make that call).

-- 
Alex R. Moon
Vice President
Steradian Technologies, LLC (http://www.steradiantech.com)

-------------- next part --------------
: foo ;
    
$0800 org

: bar ;

: baz
    foo \ PCLATH is cleared
    bar \ PCLATH.3 is set
    foo \ Bug: PCLATH should be cleared but is not
;



More information about the PicForth mailing list