Support for existing AVR hardware

Post your requests and ideas on the future development of mikroBasic for AVR.
Post Reply
Author
Message
rrioja
Posts: 3
Joined: 20 Sep 2007 14:48
Location: USA

Support for existing AVR hardware

#1 Post by rrioja » 21 Sep 2007 13:43

Although libraries for external things like MMC cards and the like is nice, I think that it is more important for this compiler to fully support the existing hardware inside the AVR chips. We NEED to have full support for variables in internal RAM, external RAM, and internal EEPROM. This way, we can concentrate on software development and not on hardware issues.

I hate to use BASCOM as an example but it allows this in the DIM statement:

DIM var AS [XRAM/SRAM/ERAM]type [AT location/variable] [OVERLAY]

Type
Bit, Byte, Word, Integer, Long, Single, Double or String

XRAM
Specify XRAM to store variable into external memory

SRAM
Specify SRAM to store variable into internal memory (default)

ERAM
Specify ERAM to store the variable into EEPROM

OVERLAY
Specify that the variable is overlaid in memory.

location
The address of name of the variable when OVERLAY is used.

This means that I can DIM variables in different memories and then use them all the same way. The compiler takes care of accessing them for me.

Thank you for your consideration.

Robert

Post Reply

Return to “mikroBasic for AVR Wish List”