Lego Architecture |
Programs are built-in black boxes
Firmware, the operating system, resides in RAM memory.
LEGO has 32 K total RAM memory (external to processor). Firmware takes
16 K, has 6 K
for user program, 10 K for other activities.
RAM retains programs even when robot turned off, Batteries
provide power until removed.
ROM code resides in ROM memory (inside the processor).
Lego has 16 K ROM memory.
The RIS 2.0 Firmware-Some Characteristics |
Can handle arrays
Performs events monitoring
Has global motor and sound control
Can use 32 local and 16 global variables
Has high resolution timers
Can use re-seedable random numbers
Has battery level checker