| | RCX Firmware speed versus legOS
|
|
The discussion about the Firmware speed is intresting indeed. So I did a fast, by no means representative, reserch. The following program is a legOS program reading the light sensor, calculating some values and printing the elapsed time: ---...--- (...) (23 years ago, 11-Apr-02, to lugnet.robotics)
|
|
| | Re: RCX Firmware speed versus legOS
|
|
"Michael Obenland" <obenland@t-online.de> wrote in message news:GuEtHr.M39@lugnet.com... (...) but only (...) assume (...) I was surprized at the wide disparity between 'empty loop' and loop with 'reading the sensor'. I suspect there is significant (...) (23 years ago, 11-Apr-02, to lugnet.robotics)
|
|
| | Re: RCX Firmware speed versus legOS
|
|
(...) Of course you are right. <shame on me> (...) Hm? You don't use the gcc toolchain for the H8 but another compiler? Can you tell a bit more about your compiler? I revised my testings without optimizing out the calculation and the empty loop took (...) (23 years ago, 12-Apr-02, to lugnet.robotics)
|