What is new

(Difference between revisions)
Jump to: navigation, search
(Created page with "'''Beta version 2079'''   - Support for WS2812 RGB led : CONFIG RAINBOW. This is the rainbow lib from Galahat, see : [http://bascom-forum.d...")
 
Line 1: Line 1:
'''Beta version 2079'''
+
- [[|tiny461]] and [[|tiny861]] only did set pcie0 when you enable the PCINT because there is just one interrupt in the chip. In 2080, both PCIE0 and PCIE1 are enabled/disabled.
  
 
+
- added m48PB, m88PB, 168PB and m328PB dat files.
  
- Support for WS2812 RGB led : [[CONFIG_RAINBOW|CONFIG RAINBOW]]. This is the rainbow lib from Galahat, see : [http://bascom-forum.de/mediawiki/index.php/Rainbow_Lib http://bascom-forum.de/mediawiki/index.php/Rainbow_Lib]
+
- new Rainbow functions : [[RB_COLOR|RB_Color]] and [[RB_COPY|RB_Copy]] added by Galahat
  
- [[SETATTR]] and [[CLEARATTR]] added to AVR-DOS, by Josef.
+
- simulator did not show maximum values of DWORD correct.
  
-  shift & rotate left/right did not work for xmega port registers
+
- [[RB_GETCOLOR]] and [[RB_LOOKUPCOLOR]] functions did return false result when index was a variable.
  
- IDE : improved speed for showing deadcode/unused variables
+
- some font problems solved.
  
- IDE : stacktrace speed up. big projects made the stacktrace slow.
+
- simulator could crash for xmega processors.
  
- included FT801 support. See [[CONFIG_FT800|CONFIG FT800]]. Notice that the INC files have been renamed into FT80x
+
- when using non-mono font like Arial, text selection does not work properly. Use a font like CONSOLAS.
  
- fixed attiny261,461 and 861 interrupt entries. this chip has only 1 pcint.
+
- Added option 'Use Monofont' for backwards compatibility
  
- added check when [[$LOADERSIZE|$loadersize]] and [[$BOOT|$boot]] are combined.
+
- Some new atmel PDF files could not be loaded with the PDF viewer. Viewer is rewritten and requires a new DLL named BASPDF.DLL
  
- [[File:file:///D:/TRANSFER/AVRHELPHTML/15062015/HTML/dim.htm|Dim]] supports a list ; dim a,b,c,d as byte. It also supports identifiers like %,#,& and !
+
- [[GETADC|getadc]]() on m640.m1280/m2560 or any other processor with 6 mux bits did not set mux5 bit for getadc(32) and higher.
  
- Font Editor plugin is replaced by integrated Font Editor: [[Tools_Font_Editor|Tools, Font Editor]]
+
- generic byte [[COMPARE|compare]]() function added, based on code and idea from MWS. (Magic White Smoke)
  
- Sample added for [[I2C_USI_SLAVE|USI Slave lib]]
+
- varexist() did not support ALIAS.
  
- fonts contributed by Adam Siwek included. You can find them in the Samples\LCDgraph\Fonts folder.
+
- XMega64A1-SRAM 4-Port-Sample.bas sample added for setup EBI 4 port on XMega. See also [http://avrhelp.mcselec.com/adding_sram_4_port_non_multipl.htm Adding XRAM to XMEGA using EBI]
  
- [[Program_Show_Result|report]] can be opened in IDE as text file.
+
- when bascom-avr.xml options file exists in the bascom application folder, that option file will be used.
  
- [[MySmartUSB_Light|mySmartUSB light]] programmer support added.
+
- [[FORMAT|format]] is extended to use a variable for the mask.
  
- support added for [[CONFIG_TCPIP|W5500]] tcp/ip chip
+
- [[CONFIG_XPIN|config xpin]] did not support alias for the pin.
  
- W5500 [[SOCKETCONNECT|socketconnect]] has a 4-th parameter : nowait. When you make it 1, there is no wait for connection.
+
- [[BUFSPACE|bufspace]]() did not support UART 5-8
  
- [[$ROMSTART]] added : $romstart = &H8000 , will let the code start at &H8000. Default is 0.
+
- [[INSERTCHAR]] and [[DELCHAR]] use Z pointer which must be cleared for XMEGA. fixed in mcs.lib
  
- jtag ice mkII programmer new firmware 7.26 from AVR studio resulted in signoff problem. Workaround implemented.
+
- programmer did not fetch correct chip from editor when code was not saved. this would give a chip mismatch.
  
- editor can show unused code in conditional compilation. [[Edit_Show_Excluded_Code|Edit, Show Excluded Code]] menu option.
+
- assigning a negative value to a dword did not throw an error.
  
- usbasp programmer updated. chosen clock frequency will work.
+
- [[View_Code_Explorer|code explorer]] can show estimated stack usage.
  
- makemodbus() did not support locals/passed parameters properly.
+
- higher standard baud rates added to terminal emulator
  
<span style="font-size: 11pt; font-family: Calibri;">-&nbsp;</span>[[CRC16|crc16]]&nbsp;<span style="font-size: 11pt; font-family: Calibri;">can now directly read a range from eeprom memory to calculate a checksum for you. To enable it, just add const CRC16_EEPROM=1 to the beginning of your code.</span>
+
- added support for EDMA in xmega8/16/32 E5. See [[CONFIG_EDMA|config EDMA]]
  
- simulator fix for xmega low IO registers. registers were simulated with a 32 byte offset as in plain AVR.
+
- [[VERSION|version]]() function did not append to string but would overwrite existing string data.
  
-&nbsp;[[CONFIG_LCD|config lcd&nbsp;]]has 2 new options : BEFORE and AFTER. with a parameter value of 1 a sub will be called _lcdBefore and _lcdAfter
+
- [[RIGHT|right]]() adds an additional null byte when a numeric constant is used for the number of characters to copy.
  
just before the LCD is used. This allows for example to turn off interrupts when executing LCD code.
+
- new [[DIM|dim]] option to specify multiple items&nbsp;: dim a,b,c,d as byte failed when using multiple indexed items.
  
Only text LCD is supported.
+
- all dat files updated with CONFIG information.
  
-&nbsp;[[GETADC|getadc]]() when used on normal AVR with offset parameter, and both parameters numeric will give an error when MUX5 bit must be set.
+
- printing values from multi index variables failed&nbsp;: print index(index1,index2)
  
Use getadc() with just the channel parameter.
+
- &nbsp;m1284pdef.dat updated with missing TIFR3 register.
  
- multi dim arrays, added ERAM byte support, and used registers are saved now.
+
- more fonts in various sizes from Adam Siwek.
  
- saving programming buffer as HEX file created wrong HEX files which would not load in AVR Studio. This would occur for chips with multiple segments like xmega128 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
- [[POWER|power()]] function for doubles did not work correct when assigned to a function
  
- Full&nbsp;Kamprog&nbsp;support added.
+
- some new atmel PDF files can not be loaded with the PDF viewer. Viewer is rewritten.
  
- multi dim arrays had no check on invalid index value (non dimmed)
+
- SSD1306 i2c oled driver updated for Xmega.
  
- using a constant float without leading 0 resulted in an error message : var= var + .12344
+
- m649A and m649P dat files added.
  
- INPUT did not support DWORD.
+
- [[LCDFONT]] prm, added. prm selects the font table (0-3) of a text LCD.
  
- added user definable command buttons to&nbsp;[[Tools_Terminal_Emulator|terminal emulator]].
+
- [[CONFIG_POWER_REDUCTION|CONFIG POWER_REDUCTION]] set register to 0 in some conditions. Also added LCD and other new Xmega power reduction options.
  
- using {} in constants was not working as expected : Const Cmd_suffix_ver1 = Asc( "{013}") was not interpreted as 13 but 123 (the { sign)
+
- CONFIG OSC extended with calibration register settings and DFLL.
  
- changed&nbsp;[[Tools_PDF_Update|PDF download]]&nbsp;from HTTP to FTP. This is quicker and better for the load of the server. PORT 211 is used for FTP. So you need to have port 211 open on your firewall. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
- val() for doubles has a bug for XMega >64KB chips
  
- atxmega128c3 added. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
- added [[FLIP|flip]](byte) function to mirror bits in a byte
  
-&nbsp;[[FT800]], vertex2ii , the X is clipped. Change call in sub vertex2II into Cmd32 _vertex2ii(___wtmpb , R18 , R17 , R16)
+
- xmega128B3 dat file added
  
- support for&nbsp;[[GLCDEADOGMXL240-7-I2C|EADOGXL240-7 I2C]]&nbsp;added, see eadogxl240-7.bas. This is a customer sponsored lib.
+
- [[READSIG|readsig]] also works for normal AVR processors.
  
- added support for&nbsp;[[GLCDdSSD1306-I2C|SSD1306 I2C]]&nbsp;OLED, see SSD1306-I2C.BAS. &nbsp; &nbsp; &nbsp; &nbsp;
+
- inputbin and printbin load 1 element too many with arrays using base 0.
  
- i2c multi bus lib did not clear ERR bit correctly. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
- [[CONFIG_INPUT|config inputbin]] added to allow reading packets of up to 64 KB
  
- when a multi dim array is only used within sub/functions and submode=new is used, an error was raised since the index table was not written at that stage. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
- added support for LCD text OLED RS0010 lcd4_anypin_oled_RS0010.lib
  
- multi dim arrays can only be used to read/assign variables. Using them in functions and statements will not work. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
- [[Getting_Started_-_FT800|FT81x]] support added
  
-&nbsp;[[STR|str]]() can have an optional parameter to specify the amount of digits. This works for double, but now also for singles. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
- M324PB dat file added.
  
-&nbsp;[[MOD]]&nbsp;for singles changed in fp_trig.lib so it uses the same algorithm as excel/VBA.
+
- [[I2CINIT]] enhanced for multiple TWI
  
- FOR..NEXT with WORD data type and STEP with values other than 1 failed : for w=1 to 10 step 2 &nbsp; &nbsp; &nbsp; &nbsp;
+
- [[I2C_TWI-MULTI.lib]] added to support multiple TWI busses.
  
- when opening a single file in non-project mode, the code explorer does not get updated until you set the cursor on the code.
+
- second SPI on m328PB added&nbsp;: [http://avrhelp.mcselec.com/spi1init_spi1in_spi1out_spi1mo.htm INIT1SPI], SPI1OUT, SPI1MOVE, SPI1IN
  
This also resulted in not updating the pinout viewer. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
- &nbsp;user donated library [[LCD_DOGS104A_I2C|I2C DOGS104]] driver, SSD1803A included.
  
- R0-R31 internal variables are now exposed as byte variables. This is simpler than using getreg/setreg. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
- [[URL2IP]](url) function added to W5100 to do DNS lookup using google DNS server
  
- added option to skip eeprom cell test. This allows to write all FF to the EEPROM whithout erasing the chip. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
- when defining a const [[WRITEEEPROM|Updateeprom]] , the eeprom will be updated. which means that the value will only be written when it differs
  
- terminal emulator font color could not be selected from the font dialog. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
- [[BASE64ENC]] and [[BASE64DEC]] can work on byte arrays too.
 
+
- various programmers : added chip name to info panel when chip does not match. no match will result in a red font, a match will show in green. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- added an error message when $hwstack,$swstack and $framesize are missing from the source. Also put back compatibility to 2077 when these directives are not specified. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- hovering the indention line will show the begin of the structure in the tool tip (just try it).
+
 
+
-&nbsp;[[Tools_Terminal_Emulator|Terminal emulator]]&nbsp;has 8 user definable buttons
+
 
+
-&nbsp;[[SEROUT]]&nbsp;defaults to &nbsp;CONST SEROUT_EXTPULL=1 to be in Hi-Z mode. In this mode a pull up resistor is required. To use PORT output mode, set the constant to 0 : CONST SEROUT_EXTPULL=0
+
  
 
&nbsp;
 
&nbsp;
  
&nbsp;
+
2017, 2080 release
  
'''2.0.7.8.001 public release'''
+
- [[SGN]] extended to byte, integer, word, dword and long
 
+
&nbsp;
+
 
+
- changing a bit on a passed array inside a sub/function gave a bit index error. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- while moving all single FP code to fp_trig.lib, some double (but WRONG) functions were moved to the top. It causes various problems.
+
 
+
- clear buffer did not reset the RST pin in case CTS/RTS was used. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- val()/asc2float contained a bug for converting big values not fitting into the mantissa. The exponent was not increased. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
-&nbsp;[[ASC|asc]]() can have an additional index parameter : byte=Asc(string|string constant[,index]). Use this instead of asc(mid( &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- user functions/subs can have a custom color &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- added support for i2c lcd display RX1602A5. Use : config lcd = 16x2 , chipset = st7032. See sample LCD-RX1602A5.bas
+
 
+
- using overlay pointing to a string array resulted in a wrong overlay address. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- additional XTEA2.LIB added. This lib complies with the original standard. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- Tab order can be changed with drag and drop. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- USI master TWI mode added. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- when config submode=new was used, the syntax check could give false errors. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- mkII programmer would give a warning about chip mismatch when atmel chip ID was the same. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- pulsein.lib was missing from distribution. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- documented beta switches&nbsp;[[$NOTYPECHECK]],&nbsp;[[$TYPECHECK]]&nbsp;and&nbsp;[[$REDUCEIVR]]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- when using a serial boot loader compiled with an older version, and when calling it from code (not after a reset) you need to reset the u2x flag in ucsrxA.
+
 
+
Or you can compile both the bootloader and main code with the new version. When you want the old behaviour, you can remark the u2x constant in the dat file. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- FLIP programmer will not erase EEPROM anymore. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- use ALT key to select blocks of text in the editor. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- hint window location fixed for multi monitors systems. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
-&nbsp;[[RGB8TO16|rgb8to16]]() function added to convert RGB8 to RGB16. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- xmega, config OSC : when using external osc, the oscillator ready test was not working properly. enable the internal osc as a workaround in 2077. fixed in this release.
+
 
+
- arduino leonardo can be programmed with myAVR MK2/AVR910. You need to give a manual reset before pressing F4. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- attiny87 dat file contained an error : INTADR = 1 ; it was 2 but must be 1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- xmega spi length parameter supported globals only. now it supports locals and parameters as well. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- syntax check gave errors when config submode=new was used in some cases. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- 1wirecount returned with ERR set, even when sensors were found. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
-&nbsp;[[Program_Simulate|simulator]]&nbsp;has trace log option to dump all executed lines to a file. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- error list content can be copied to clipboard with right mouse popup menu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- xmega uarts 5-8 serial buffered output enable the wrong uart. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- indention line colors can be customized. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
-&nbsp;[[Edit_Proper_Indent|proper indent&nbsp;]]will not indent comment &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
-&nbsp;[[GETKBD|getkbd]]() required change for xmega. (xmega does not use port register for pull up) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- added dword support to lookup() &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
-&nbsp;[[CONFIG_RND|config rnd]]=16|32 added to support bigger random numbers. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- attiny441 stk500 settings changed. attiny441 and attiny841 verified with real chips. some mods made to the dat files. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- increased internal constant string storage length to 1024. for cases like : s="some very long constant". previously the max size was 256. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- xmegaE5 timers 4/5 support added.
+
 
+
- xmegaE timer4/5 OVF bit need a manual reset, writing a 1 to intflags register. it is not cleared automatically. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- xm128a1U dat file added &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- code folding added to editor. Press F11 to fold a sub/function &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- all project files can be placed in an&nbsp;[[File_ZIP|archive]]&nbsp;(zip) file. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- AVR-DOS, GET and PUT support&nbsp;[[$BIGSTRINGS|$bigstrings]]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
-&nbsp;[[$BOOT|$boot]]&nbsp;extended to support >64KB processors. $boot can be used together with $inc to include a boot loader in your code. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- FM25C256 example with BMA.bas sample added which demons xmega ramtron lib with shared bus. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- baudX=value added for Xmega. This will change the baud rate on an xmega at run time. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- special multi bus i2c added for normal AVR processors. See&nbsp;[[CONFIG_I2CBUS|config i2cbus]]. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- muli dimensional array support added like : dim ar(10,50,3,5,2). &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- long/dword data types added to SORT statement. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- report extended with bit position in memory and length of dimensioned strings &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
-&nbsp;[[LOOKUP|Lookup]]&nbsp;supports a numeric variable too for the label : novar = LOOKUP( value, label|address). &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- soft spi supports DATA ORDER LSB and MSB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
-&nbsp;[[STR|str]]() second optional parameter added to help. It specifies number of digits after the DP. Only for doubles. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- m324/m164/m644/m1280 config timer0, disconnect option fixed. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- settings xml file can be passed as parameter to allow different settings files and versions. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- added option to show invisible characters. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- added support for DWORD to&nbsp;[[SWAP]]&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- added insertionsort.bas sample &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- m64C1 and M32C1 dat files added. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- History Backup option added : it will create a unique copy of the source file each time you save a file. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
 
+
- code explorer can show INC files under their own branch ([[Options_Environment|options, environment, IDE]])
+
 
+
-&nbsp;[[QSIN|Qsin]]&nbsp;and&nbsp;[[QCOS|Qcos]]&nbsp;integer trig added.
+
 
+
&nbsp;
+

Revision as of 20:45, 17 January 2017

- [[|tiny461]] and [[|tiny861]] only did set pcie0 when you enable the PCINT because there is just one interrupt in the chip. In 2080, both PCIE0 and PCIE1 are enabled/disabled.

- added m48PB, m88PB, 168PB and m328PB dat files.

- new Rainbow functions : RB_Color and RB_Copy added by Galahat

- simulator did not show maximum values of DWORD correct.

- RB_GETCOLOR and RB_LOOKUPCOLOR functions did return false result when index was a variable.

- some font problems solved.

- simulator could crash for xmega processors.

- when using non-mono font like Arial, text selection does not work properly. Use a font like CONSOLAS.

- Added option 'Use Monofont' for backwards compatibility

- Some new atmel PDF files could not be loaded with the PDF viewer. Viewer is rewritten and requires a new DLL named BASPDF.DLL

- getadc() on m640.m1280/m2560 or any other processor with 6 mux bits did not set mux5 bit for getadc(32) and higher.

- generic byte compare() function added, based on code and idea from MWS. (Magic White Smoke)

- varexist() did not support ALIAS.

- XMega64A1-SRAM 4-Port-Sample.bas sample added for setup EBI 4 port on XMega. See also Adding XRAM to XMEGA using EBI

- when bascom-avr.xml options file exists in the bascom application folder, that option file will be used.

- format is extended to use a variable for the mask.

- config xpin did not support alias for the pin.

- bufspace() did not support UART 5-8

- INSERTCHAR and DELCHAR use Z pointer which must be cleared for XMEGA. fixed in mcs.lib

- programmer did not fetch correct chip from editor when code was not saved. this would give a chip mismatch.

- assigning a negative value to a dword did not throw an error.

- code explorer can show estimated stack usage.

- higher standard baud rates added to terminal emulator

- added support for EDMA in xmega8/16/32 E5. See config EDMA

- version() function did not append to string but would overwrite existing string data.

- right() adds an additional null byte when a numeric constant is used for the number of characters to copy.

- new dim option to specify multiple items : dim a,b,c,d as byte failed when using multiple indexed items.

- all dat files updated with CONFIG information.

- printing values from multi index variables failed : print index(index1,index2)

-  m1284pdef.dat updated with missing TIFR3 register.

- more fonts in various sizes from Adam Siwek.

- power() function for doubles did not work correct when assigned to a function

- some new atmel PDF files can not be loaded with the PDF viewer. Viewer is rewritten.

- SSD1306 i2c oled driver updated for Xmega.

- m649A and m649P dat files added.

- LCDFONT prm, added. prm selects the font table (0-3) of a text LCD.

- CONFIG POWER_REDUCTION set register to 0 in some conditions. Also added LCD and other new Xmega power reduction options.

- CONFIG OSC extended with calibration register settings and DFLL.

- val() for doubles has a bug for XMega >64KB chips

- added flip(byte) function to mirror bits in a byte

- xmega128B3 dat file added

- readsig also works for normal AVR processors.

- inputbin and printbin load 1 element too many with arrays using base 0.

- config inputbin added to allow reading packets of up to 64 KB

- added support for LCD text OLED RS0010 lcd4_anypin_oled_RS0010.lib

- FT81x support added

- M324PB dat file added.

- I2CINIT enhanced for multiple TWI

- I2C_TWI-MULTI.lib added to support multiple TWI busses.

- second SPI on m328PB added : INIT1SPI, SPI1OUT, SPI1MOVE, SPI1IN

-  user donated library I2C DOGS104 driver, SSD1803A included.

- URL2IP(url) function added to W5100 to do DNS lookup using google DNS server

- when defining a const Updateeprom , the eeprom will be updated. which means that the value will only be written when it differs

- BASE64ENC and BASE64DEC can work on byte arrays too.

 

2017, 2080 release

- SGN extended to byte, integer, word, dword and long

Personal tools
Namespaces
Variants
Actions
Navigation
Language