View previous topic :: View next topic |
Author |
Message |
Micha
Joined: 03 Oct 2006 Posts: 56
|
Posted: Fri Jan 16, 2015 4:32 pm Post subject: 2 Bugs on current Version BascomAVR 2.0.7.8 |
|
|
Hello!
Test this code please!
I've found 2 bugs in BascomAVR
Bug 1:
If 1 or mode of the Statements $hwstack, $swstack or $framesize not written in codelindes, the compile did not work.
Bug 2:
The Variable R20 ist dimensioned in the program only 1 time.
The compiler generates an error: Variable already dimensioned.
Code: |
' Compiler Version: 2.0.7.8
' Bugs
$regfile = "m16def.dat"
$Crystal = 3686400
' Without 1 or more of the followed 3 Lines the Program will not compiled
'$hwstack = 20
'$swstack = 20
'$framesize = 35
$Baud = 19200
$Sim
' The followed Variable generates a Error
Dim R20 as Single ' Variable already dimensioned?
Do
!NOP
Loop
|
Can anybody confirm this 2 bugs in current Version?
Any solution?
Micha
(BASCOM-AVR version : 2.0.7.8 ) |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Fri Jan 16, 2015 4:40 pm Post subject: |
|
|
please read existing topics about 2078, it has been discussed. _________________ Mark |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Fri Jan 16, 2015 9:15 pm Post subject: R20 - registername... |
|
|
R20 is also one of the registers... perhaps that is your problem... and the other things are in the history.txt file
Have fun
Ben Zijlstra |
|
Back to top |
|
|
Micha
Joined: 03 Oct 2006 Posts: 56
|
Posted: Sun Jan 18, 2015 5:29 pm Post subject: Thanks |
|
|
Hi all.
The dimension of R20 is the register of controler. Of course.
Now is it clear. But in older version it works.
thanks for response. |
|
Back to top |
|
|
Petr_
Joined: 24 Mar 2010 Posts: 66
|
Posted: Mon Jan 19, 2015 10:02 pm Post subject: |
|
|
Why do not you do the beta testing?
Registered users can download beta versions and test them. Thereby efficient and faster will be tracked possible errors, and fix.
I participate in a similar beta-testing BASIC for the computer and this scheme is very effective. Any user can report a bug.
It would be great if, like beta testing was available in BASCOM. |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Mon Jan 19, 2015 11:57 pm Post subject: |
|
|
there is already beta testing, only not for all users. in the past we also had beta releases for all users. there will be some changes this year and i will take testing and updating into account too. _________________ Mark |
|
Back to top |
|
|
|