From: Erich W. <ew....@na...> - 2012-09-15 16:26:12
|
Hi, to maybe save others some time debugging ... I do upload the file amforth/releases/4.x/$device/$device.frt onto the controller. Moving a working program from amforth 4.6 to amforth 4.9 revealed, that there is a change in these files. 4.6: hex ... 2B constant PORTD 4.9 ... 43 constant PORTD The address of PORTD is still $2b, just written in decimal, however, there is no "decimal" at the beginning of the file, nor a &-prefix, both of which would not have caused me any grief. Adding "decimal" at the beginning of this file made my program work again. So, should there be a "decimal", or should there be prefixes? And shouldn't these addresses be in hex notation anyway? I vote for hex notation with prefixes. Cheers, Erich |