Download SX/B version 1.51.03; Also known issues and solutions.
Bean
Posts: 8,129
For the latest version please download the SX/B 2.0 beta compiler fromhttp://forums.parallax.com/forums/default.aspx?f=7&m=323767
Here is an updated version of SX/B.
Open the zip file and copy them into the folder "C:\Program Files\Parallax Inc\SX-Key v3.2\Compilers\SXB"
Overwriting the existing files that are already there.
Please download the new sxb.chm help file (until a new installer is created).
sxb.pdfis a printable sxb help file. You asked for it, you got it.
PLEASE don't post questions in this thread.
If you have a question start a new thread with an appropiate subject.
Terry Hitt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There is a fine line between arrogance and confidence. Make sure you don't cross it...
Post Edited (Bean (Hitt Consulting)) : 2/13/2009 5:36:31 PM GMT
Here is an updated version of SX/B.
Open the zip file and copy them into the folder "C:\Program Files\Parallax Inc\SX-Key v3.2\Compilers\SXB"
Overwriting the existing files that are already there.
Please download the new sxb.chm help file (until a new installer is created).
sxb.pdfis a printable sxb help file. You asked for it, you got it.
PLEASE don't post questions in this thread.
If you have a question start a new thread with an appropiate subject.
Terry Hitt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There is a fine line between arrogance and confidence. Make sure you don't cross it...
Post Edited (Bean (Hitt Consulting)) : 2/13/2009 5:36:31 PM GMT
Comments
To correct the error add these lines to your program in the constants section.
Thanks to user "djh82uk" for bringing this to my attention.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Teacher: What is the difference between ignorance and apathy ?
Student: I don't know and I don't care
Teacher: Correct !
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
·
The "fix" is to just use the LSB of the word variable.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I know what I know, don't confuse me with the facts...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
·
myBit = ~myArray(1).1 ' The ~ is ignored (actually the value is inverted twice)
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.iElectronicDesigns.com
·
For example "DATA -1" will read as "1" instead of "-1".
One workaround is to define a constant and use that in the DATA statement.
NegOne CON -1
DATA NegOne
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.iElectronicDesigns.com
·
If you need to use the "_TO" variable add this line to your variables section:
Note the slash and underscore prefix.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.iElectronicDesigns.com
Post Edited (Bean (Hitt Consulting)) : 2/13/2008 5:17:22 PM GMT
Either use a BYTE variable for the timeout parameter or put this line just before the SERIN command
This will load __PARAM1 and __PARAM2 with the correct values.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.iElectronicDesigns.com
·
What happens is that when the compiler comes to the end of the file that it is compiling, it checks to make sure that you used the PROGRAM directive (in case you missed it). But it also performs this check at the end of a LOAD file too.
To avoid getting this message, you need to have the PROGRAM directive either in the first LOAD file, or in the main program before the first LOAD file.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.iElectronicDesigns.com
·
These locations CAN be used as single element arrays by aliasing the __RAM() array as such:
extra0 VAR __RAM($F0)
extra1 VAR __RAM($F1)
extra2 VAR __RAM($F2)
extra3 VAR __RAM($F3)
extra4 VAR __RAM($F4)
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Did you know that 111,111,111 multiplied by 111,111,111 equals 12345678987654321 ?
www.iElectronicDesigns.com
·
Your link to SX/B 2.0 comes back as 404.
I realize the SX is at end of life;
I am in late stage of a design in progress,
and I need to complete it.
Is there a working link for SXB 2.0?
Is there a corresponding help file or other updated docs?
Thanks!
Mike
Try using this link from the old forums:
http://forums.parallaxinc.com/forums/attach.aspx?a=41516
Bean