Hi,
The NanoVM is a portable tiny java vm running on microcontrollers with
at least 8k code space, especially Atmel AVR controllers. Robotic
examples for the Asuro, the c't-Bot and the Nibo robot are included.
The NanoVM Team today announced the immediate availability of the NanoVM
1.6, a Java
Hi,
The NanoVM Team today announced the immediate availability of the NanoVM
1.5, a Java VM running on Atmel AVR's. This release contains several new
features:
* c't-Bot support
* Floating point is now functional
* 31-bit constant values
* Several new op-codes implemented (lookupswitch, dup*,
I think you can use xmk as OS. It's able to operate on an atmega16, so
it should also run on an 8k flash device...
http://www.shift-right.com/xmk/
If you are interested, I can send you the modifications for the small
avr devices.
Regards,
Nils
--
Nils Springob
http://www.nicai-systems.de
Hi,
I think there are two problems with the code:
- using 16 bit data
- shifting by a variable number of bits
An optimization would be to write a funktion which only shifts up to 8
bit, and to shift the data every time by one bit.
Regards,
Nils
original code:
void write_data (Word towrite,
Hi,
I think I found a bug in avr-gcc:
Every function called main() gets the stack-setup-code, even when it is
inside a namespace.
Example:
namespace threadA {
void main (void * p) { ... }
}
this function gets the same code as the real main function. I am not
sure if it is allowed to name
Hi,
In C the result of this expression is undefined. The C language defines
that the compiler is allowed to increment the variable i before or after
the assignment operation.
h=i++ is valid C, h will have the old value of i, i will be incremented.
i=i++ is invalid C, the value of the variable