drknapp
11-29-01, 12:02 PM
I just started using floating point words and was having a problem with FOVER.
COLD
Max-FORTH V3.5E
10.0e0 5.0e0 FDEPTH . F. F. FDEPTH . 2 5.000000 10.000000 0 OK
10.0e0 5.0e0 FOVER FDEPTH . F. F. FDEPTH . 2 5.000000 10.000000 0 OK
I rethought the example and tried the following on a different board and to my surprise it worked fine.
COLD
Max-FORTH V3.5E
1.0E0 2.0E0 3.0E0 FDEPTH . F. F. F. FDEPTH . 3 3.000000 2.000000 1.000000 0 OK
1.0E0 2.0E0 FOVER FDEPTH . F. F. F. FDEPTH . 3 1.000000 2.000000 1.000000 0 OK
A peek at the code for FOVER showed different code. The example failed on the chip marked MC68HC711E9CFN2 (old) and worked on the F68HC11FN V3.5 (newer).
Is a roadmap of chips, firmware versions and problems available?
COLD
Max-FORTH V3.5E
10.0e0 5.0e0 FDEPTH . F. F. FDEPTH . 2 5.000000 10.000000 0 OK
10.0e0 5.0e0 FOVER FDEPTH . F. F. FDEPTH . 2 5.000000 10.000000 0 OK
I rethought the example and tried the following on a different board and to my surprise it worked fine.
COLD
Max-FORTH V3.5E
1.0E0 2.0E0 3.0E0 FDEPTH . F. F. F. FDEPTH . 3 3.000000 2.000000 1.000000 0 OK
1.0E0 2.0E0 FOVER FDEPTH . F. F. F. FDEPTH . 3 1.000000 2.000000 1.000000 0 OK
A peek at the code for FOVER showed different code. The example failed on the chip marked MC68HC711E9CFN2 (old) and worked on the F68HC11FN V3.5 (newer).
Is a roadmap of chips, firmware versions and problems available?